summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
2019-06-30if_vinput should pass BPF_DIRECTION_IN to bpf_mtap, not OUTDavid Gwynne
2019-06-15Free sizes for hooks and `if_sadl'.Martin Pieuchot
2019-06-04if_netisr(): trade NET_LOCK() for NET_RLOCK()Alexandr Nedvedicky
2019-05-12pushing NET_LOCK() further down from if_clone_{create,destroy}()Alexandr Nedvedicky
2019-05-11Correct a check in if_isconnected().Martin Pieuchot
2019-04-28Removes the KERNEL_LOCK() from bridge(4)'s output fast-path.Martin Pieuchot
2019-04-22add if_vinput so pseudo (ethernet) interfaces can bypass ifiqsDavid Gwynne
2019-04-22factor out calling the if input handlers for a packet.David Gwynne
2019-04-19provide factored out txhprio and rxhprio checksDavid Gwynne
2019-04-19only root can change rxprioDavid Gwynne
2019-04-16have another go at tx mitigationDavid Gwynne
2019-04-14don't take splnet when running the network stackDavid Gwynne
2019-04-10do custom checks for SIOCGIFSFFPAGE.David Gwynne
2019-03-01rework how ifiq_input decides the stack is busy and whether it should dropDavid Gwynne
2019-02-26check for root on mpls and pwe3 ioctlsDavid Gwynne
2019-01-09split if_enqueue up so drivers can replace ifq handling if neededDavid Gwynne
2018-12-20Make this not hz dependent by using timeout_add_sec() also rename theClaudio Jeker
2018-12-11add optional per-cpu counters for interface stats.David Gwynne
2018-11-29restrict setting ecn to rootDavid Gwynne
2018-11-12only let root configure the txprio setting on an interfaceDavid Gwynne
2018-10-01Put bridge_input & output back under the KERNEL_LOCK().Martin Pieuchot
2018-09-26Move bridge input/output paths outside of the KERNEL_LOCK().Martin Pieuchot
2018-09-11Nuke some trailing spaces that wandered into theKenneth R Westerback
2018-09-10- if_cloners list populated at boot time only then becomes immutable,Alexandr Nedvedicky
2018-09-10if_setrdomain could potentially call if_clone_create recursively in the createHenning Brauer
2018-09-09if_setrdomain: allow empty rtables to be turned into rdomains, not justHenning Brauer
2018-09-08Don't cause an error when setting the same rdomain.YASUOKA Masahiko
2018-08-09Currently, attempting to move an immovable lo(4) to a new rdomain will failakoshibe
2018-07-11in if_addgroup(), call the new pfi_group_addmember() instead ofHenning Brauer
2018-07-10if_enqueue: call pf_delay_pkt() if m_pkthdr.pf.delay is setHenning Brauer
2018-06-21Grab the KERNEL_LOCK() rather than asserting that it is held.Martin Pieuchot
2018-06-18Do not allow to change the rdomain of the default loopback interface.Martin Pieuchot
2018-05-30restrict the prio values from SIOCSIFLLPRIO to what the kernel handlesDavid Gwynne
2018-05-30Add SIOCGIFGLIST to fetch a list of interface groups on the system.Stuart Henderson
2018-05-17Move the handling of SIOCIFGCLONERS out of the NET_RLOCK(). The globalTheo Buehler
2018-04-28replace add_*_randomness with enqueue_randomness()Jasper Lievisse Adriaanse
2018-04-24Push NET_LOCK down in the default ifioctl case.Paul Irofti
2018-03-20Call bpfdetach() without holding the NET_LOCK().Martin Pieuchot
2018-03-02Revert all the bits of the autocreate 127.0.0.1 on lo(4) creation for now.Claudio Jeker
2018-02-20only allow root to use SIOCSVNETFLOWID.David Gwynne
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-19make sure only root can configure an interface with SIOCSLIFPHYDF.David Gwynne
2018-02-10There is a problem with assigning 127.0.0.1 here. Revert the callClaudio Jeker
2018-02-10Implement RFC 7217: "A Method for Generating Semantically OpaqueFlorian Obser
2018-02-10Similar to the IPv6 case create 127.0.0.1/8 on lo(4) interfaces which actClaudio Jeker
2018-02-09oh carp - i didnt mean to commit theseDavid Gwynne
2018-02-09use struct in_addr to represent an address.David Gwynne
2018-02-07add SIOCSETKALIVE to the list of ioctls that need root and NET_LOCKDavid Gwynne
2018-01-12have carp use standard detach hooks instead of getting special handlingDavid Gwynne
2018-01-10get rid of struct carp_if by moving the srpl into struct ifnet if_carp.David Gwynne