summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
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
2017-02-28Don't change the up status of the interface when changing its rdomain.YASUOKA Masahiko
2017-02-16Revert "Release the NET_LOCK() before entering per-driver ioctl() routine".Martin Pieuchot
2017-02-07Release the NET_LOCK() before entering per-driver ioctl() routine.Martin Pieuchot
2017-02-01Take if_attach_common() out from under netlock as it does a bunchJonathan Gray
2017-02-01Switch from splsoftnet to taking the netlock in if_attachhead().Jonathan Gray
2017-01-31Remove the inifioctl hack, checking for an unheld NET_LOCK() inMartin Pieuchot
2017-01-25Introduce a hack to remove false-positives when looking for memoryMartin Pieuchot
2017-01-25Enable the NET_LOCK(), take 2.Martin Pieuchot
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2017-01-24add support for multiple transmit ifqueues per network interface.David Gwynne
2017-01-23Flag pseudo-interfaces as such in order to call add_net_randomness()Martin Pieuchot
2017-01-23i botched the copyout to ifr->ifr_data in SIOCGIFDATA.David Gwynne
2017-01-23merge the ifnet and ifqueue stats together when userland wants them.David Gwynne
2017-01-22move counting if_opackets next to counting if_obytes in if_enqueue.David Gwynne
2017-01-12Unlink PF state keys before passing mbufs to drivers.Martin Pieuchot
2017-01-04dont assume setting IFF_UP will succeed.David Gwynne
2017-01-04shuffle the last change slightly.David Gwynne
2017-01-04make if_input return early if the mbuf list is empty.David Gwynne
2017-01-03Do not trash the original SPL level.Martin Pieuchot
2016-12-29Change NET_LOCK()/NET_UNLOCK() to be simple wrappers aroundMartin Pieuchot
2016-12-21Generate an IFINFO message when changing the MTU of an interface.Jeremie Courreges-Anglas
2016-12-20Grab the netlock during interface attach and detach.Mike Belopuhov
2016-12-19Introduce the NET_LOCK() a rwlock used to serialize accesses to the partsMartin Pieuchot
2016-12-12Remove most of the splsoftnet() recursions related to cloned interfaces.Martin Pieuchot
2016-12-02Clean up leftovers from r1.442.Vincent Gross
2016-11-28Remove simple recursive splsoftnet() calls inside ifioctl().Martin Pieuchot
2016-11-21Enforce that pr_usrreq functions are called at IPL_SOFTNET.Martin Pieuchot
2016-11-14Automatically set ::1 on all default lo(4) interfaces.Martin Pieuchot
2016-11-14It should be possible to create the default loopback interface.Martin Pieuchot
2016-11-14Automatically create a default lo(4) interface per rdomain.Martin Pieuchot
2016-11-08No longer need radix.hMartin Pieuchot
2016-11-08RIP ifa_ifwithnet()Martin Pieuchot