summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
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
2015-10-05Accumulate ifq_drops into if_oqdrops if if_start().Masao Uebayashi
2015-09-30sleep until all references to an interface have been released during detach.David Gwynne
2015-09-27Add if_setlladdr(), factored out from ifioctl(). Will be used by iwm(4) soon.Stefan Sperling
2015-09-13Fix double rtfree(9) in non-INET6 kernel.Martin Pieuchot
2015-09-13There's no point in abstracting ifp->if_output() as long as pf_test()Martin Pieuchot
2015-09-13replace hand rolled refcounts and sleep_setup/finish with refcnts andDavid Gwynne
2015-09-13Run the interface watchdog timer routine as a task such that we have processMark Kettenis
2015-09-12Stop overwriting the rt_ifp pointer of RTF_LOCAL routes with lo0ifp.Martin Pieuchot
2015-09-12introduce SRPs to the interface index maps to make if_get() mpsafe.David Gwynne
2015-09-12Introduce if_input_local() a function to feed local traffic back toMartin Pieuchot
2015-09-11Introduce rtref(9) use it in rtable_lookup() before returning a routeMartin Pieuchot
2015-09-11remove some more trailing whitespaceDavid Gwynne
2015-09-11whitespacesMartin Pieuchot
2015-09-11iterate over the new half of the if idx map rather than loop on the oneDavid Gwynne
2015-09-10rework how we store and manage the interface index to ifp map in preparation ...David Gwynne
2015-09-10pass a cookie argument to interface input handlers that can be usedMike Belopuhov
2015-09-10if_put after if_get in if_input_processDavid Gwynne
2015-09-10move the if input handler list to an SRP list.David Gwynne
2015-09-10only try and reference an ifp in if_get if we actually find one inDavid Gwynne
2015-09-09introduce reference counts for interfaces (ie, struct ifnet *ifp).David Gwynne
2015-09-01dont need the kernel lock for mpsafe bpfs (again)David Gwynne
2015-08-30Use a global table for domains instead of building a list at run time.Martin Pieuchot
2015-08-23bpf+srp is blowing up, so its being backed out. bpf will need the big lock.David Gwynne
2015-08-18Check the error value returned by in6_ifattach().Martin Pieuchot
2015-08-16dont need the biglock to call bpf now.David Gwynne
2015-08-16avoid a toctou problem in if_input in the bpf handling.David Gwynne
2015-08-13If no handler consumed a mbuf, free it. This also apply if an interfaceMartin Pieuchot
2015-07-29Don't use mpls_input() as input handler anymore and instead call itRafael Zalamena