summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
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
2018-01-09Stop grabing the KERNEL_LOCK() for running protocol input routines.Martin Pieuchot
2018-01-09make mpls_input take a struct ifnet *ifp argument.David Gwynne
2018-01-04Include timeout & tasks in 'struct ifnet' instead of always allocatingMartin Pieuchot
2018-01-02Move the NET_LOCK() inside the switch and start documenting which fieldMartin Pieuchot
2017-12-29Make the functions which link the pf state keys to mbufs, inpcbs,Alexander Bluhm
2017-12-15add ifiqueues for mp safety and nics with multiple rx rings.David Gwynne
2017-11-20Do not fail if an interface is DOWN when calling ifpromisc().Martin Pieuchot
2017-11-17add if_rxr_livelocked so rxr users can request backpressure themselves.David Gwynne
2017-11-14Push the NET_LOCK into ifioctl() and use the NET_RLOCK in ifioctl_get().Theo Buehler
2017-11-14move the adding of an ifqs counters in if_getdata to ifq.cDavid Gwynne
2017-11-12Only use a single taskq to process incoming network packets as soon asMartin Pieuchot
2017-11-10Introduce a reader version of the NET_LOCK().Martin Pieuchot
2017-11-09The cmd argument of ifconf() has been unused since COMPAT_LINUX wasTheo Buehler
2017-11-04Move the ioctls that only need a read lock from ifioctl into a newTheo Buehler
2017-11-04Stop calling ifp->if_ioctl() inside in{,6}_ioctl().Martin Pieuchot
2017-10-31- add one more softnet taskqAlexandr Nedvedicky
2017-10-26Stop grabbing the KERNEL_LOCK() in network tasks when `ipsec_in_use'Martin Pieuchot
2017-10-16Remove kernel support for the following ioctl(2)s, deprecated since 2001:Martin Pieuchot
2017-10-16Multiple tweaks:Martin Pieuchot
2017-10-16Change most of the returns into breaks. This will let us release a lock.Martin Pieuchot
2017-10-12Move sysctl_mq() where it can safely mess with mbuf queue internals.Martin Pieuchot
2017-10-12Fix a singed vs unsigned comparison resulting in an overflow of theMartin Pieuchot