summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
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
2017-10-11ifioctl() cleanups.Martin Pieuchot
2017-10-09Reduces the scope of the NET_LOCK() in sysctl(2) path.Martin Pieuchot
2017-08-22Prevent a race against ipsec_in_use.Martin Pieuchot
2017-08-12Use the NET_LOCK() macro instead of handrolling it.Martin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-08-10The socket field so_proto can never be NULL. Remove the checks.Alexander Bluhm
2017-08-04When we disable INET6 on an interface that also removes the autoconf6Florian Obser
2017-08-01rt_if_track() is needed even on ramdisk kernels, because of MPATHTheo de Raadt
2017-07-24Reduce NET_LOCK() contention by moving the linktstate and watchdogMartin Pieuchot
2017-07-11Purging is at last at hand. Day of Doom is here. All that is evilFlorian Obser
2017-06-23Resetting the mbuf header in if_input_local() was stripping off theAlexander Bluhm
2017-05-31Move IPv4 & IPv6 incoming/forwarding path, PIPEX ppp processing andMartin Pieuchot
2017-05-30Introduce ipv{4,6}_input(), two wrappers around IP queues.Martin Pieuchot
2017-05-30Clear the internal table used by if_get(9) and sleep until allMartin Pieuchot
2017-05-29Do not try to grab the NET_LOCK() while holding an ifp reference.Martin Pieuchot
2017-05-28Remove all splnet/splx from pipex(4) and pppx(4) and replace some ofYASUOKA Masahiko
2017-05-28Leaving IP multicast group requires the NET_LOCK().Martin Pieuchot
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-05-15Enable the NET_LOCK(), take 3.Martin Pieuchot
2017-05-09pfctlinput(PRC_IFDOWN, ...) has no effect on OpenBSD so remove it.Martin Pieuchot
2017-05-04Introduce sstosa() for converting sockaddr_storage with a type safeAlexander Bluhm
2017-04-14Avoid some false positives with cppcheck. No binary change.Alexander Bluhm
2017-03-22Replace an expensive microtime call with a getmicrotime for if_lastchangeMike Belopuhov
2017-03-17Revert the NET_LOCK() and bring back pf's contention lock for release.Martin Pieuchot
2017-03-08Do not unset IFF_UP twice.Martin Pieuchot
2017-03-06Prefix functions dealing with routing messages with 'rtm_' and keepMartin Pieuchot