summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
2016-05-18rework the srp api so it takes an srp_ref struct that the caller provides.David Gwynne
2016-05-10make bpf_mtap callers set the M_FILDROP flag if they care about it.David Gwynne
2016-05-08Do not export the IFXF_MPSAFE flag to userland, it is a kernel-onlyMartin Pieuchot
2016-05-03Stop using a soft-interrupt context to process incoming network packets.Martin Pieuchot
2016-03-16if ticks diverge from ifq_congestion too far the diff will go negativeDavid Gwynne
2016-03-07Sync no-argument function declaration and definition by adding (void).Christian Weisgerber
2016-03-02provide generic ioctls for managing an interfaces parentDavid Gwynne
2016-02-28Support for running Linux binaries under emulation is going away.Christian Weisgerber
2015-12-09rework the if_start mpsafe serialisation so it can serialise arbitrary workDavid Gwynne
2015-12-08Kill unused iftxlist.Martin Pieuchot
2015-12-08split the interface send queue (struct ifqueue) implementation out.David Gwynne
2015-12-05remove old lint annotationsTed Unangst
2015-12-04Grab the KERNEL_LOCK() around bridge_output().Martin Pieuchot
2015-12-03Use SRPL_HEAD() and SRPL_ENTRY() to be consistent with and allow toMartin Pieuchot
2015-12-03Remove broadcast matching from ifa_ifwithaddr(), use in_broadcast() whereVincent Gross
2015-12-03rework if_start to allow nics to provide an mpsafe start routine.David Gwynne
2015-12-02When destroying an interface, we have to wait until all referencesAlexander Bluhm
2015-12-02Rework the MPLS handling. Remove the lookup loops since nothing is usingClaudio Jeker
2015-12-01Iterating on &ifnet should only be done with the KERNEL_LOCK held.Vincent Gross
2015-11-27Protect the growth of the routing table arrays used by rtable_get()Martin Pieuchot
2015-11-25replace IFF_OACTIVE manipulation with mpsafe operations.David Gwynne
2015-11-21simplify ifq_deq_rollback by only having it unlock.David Gwynne
2015-11-20Keep if_ref() private, if_get() is what you want to use before if_put().Martin Pieuchot
2015-11-20i made a mistake. rename ifq_enq and ifq_deq to ifq_enqueue and ifq_dequeueDavid Gwynne
2015-11-20fix prio KASSERT, it should be <= not <. ok dlg@Stuart Henderson
2015-11-20shuffle struct ifqueue so in flight mbufs are protected by a mutex.David Gwynne
2015-11-18Factorize the bits to check if a L2 route is connected, wether it isMartin Pieuchot
2015-11-13Sore the index of the interface used for revarp instead of a pointer toMartin Pieuchot
2015-11-11Store the index of the lo0 interface instead of a pointer to itsMartin Pieuchot
2015-11-07Use input handlers for bridge(4).Martin Pieuchot
2015-11-06Rename rt_mpath_next() into rtable_mpath_next() and provide anMartin Pieuchot
2015-11-03Do not clear M_PROTO1 flag before calling if_start() because pseudo-Martin Pieuchot
2015-11-02Merge rtable_mpath_match() into rtable_lookup().Martin Pieuchot
2015-10-28Remove linkmtu and maxmtu from struct nd_ifinfo. IN6_LINKMTU can nowFlorian Obser
2015-10-27Use rt_ifidx rather than rt_ifp.Martin Pieuchot
2015-10-25unbreak tree for ramdisks without INET6Theo de Raadt
2015-10-25Do not overwrite if_rtrequest() if the driver specified it *before*Martin Pieuchot
2015-10-25arp_ifinit() is no longer required.Martin Pieuchot
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-10-24Add pair(4), a vether-based virtual Ethernet driver to interconnectReyk Floeter
2015-10-22Kill link_rtrequest(), introduce in 1990 to "fix" the resultMartin Pieuchot
2015-10-22Make sure that the address matching the key (destination) of a routeMartin Pieuchot
2015-10-22Inspired by satosin(), use inline functions to convert sockaddr dl.Alexander Bluhm
2015-10-22Do not dereference ``ifa_ifp'' when we already have an ``ifp'' pointer.Martin Pieuchot
2015-10-12the pattr argument to IFQ_ENQUEUE is unused, so let's get rid of it.David Gwynne
2015-10-12Unify link state change notification.Martin Pieuchot
2015-10-12protect SIOCSLIFPHYTTL, SIOCSVNETID so only root can call them, andDavid Gwynne
2015-10-08Unlock the softnet task.Martin Pieuchot
2015-10-05Revert if_oqdrops accounting changes done in kernel, per request from mpi@.Masao Uebayashi
2015-10-05Count IFQ_ENQUEUE() failure as output drop.Masao Uebayashi