summaryrefslogtreecommitdiff
path: root/sys/net/if.c
AgeCommit message (Expand)Author
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
2015-07-21No more AF_LINK addresses on the per-ifp address lists. ok mpi@Jeremie Courreges-Anglas
2015-07-20Remove splassert(IPL_NET) from if_input().Martin Pieuchot
2015-07-20Kill NETISR_MPLS, from now on we will use interface input handlers to dealRafael Zalamena
2015-07-18There's no longer a need to force carp(4) interfaces to be the last onesMartin Pieuchot
2015-07-18Abstract the routing table internals behind an rtable_* API.Martin Pieuchot
2015-07-16Properly layer Router Solicitation code.Martin Pieuchot
2015-07-02Move back rdomain's check into ether_output() otherwise it triggersMartin Pieuchot
2015-07-02By design if_input_process() needs to hold a reference on the receivingMartin Pieuchot
2015-06-30Rename if_output() into if_enqueue() to avoid confusion with commentsMartin Pieuchot
2015-06-29count if_ibytes in if_input like we do for if_ipackets.David Gwynne
2015-06-25Move brige(4)'s output hook outside of ether_output().Martin Pieuchot
2015-06-25Check for correct rdomain in if_output() rather than in ether_output().Martin Pieuchot
2015-06-24Stop garbgage collecting mbufs from the ARP, IPv4 and IPv6 queues whenMartin Pieuchot
2015-06-24Increment if_ipackets in if_input().Martin Pieuchot
2015-06-23Adapt bridge(4) to the new if_input() framework.Martin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-09Remove the hack to check if the received pointer has changed in an ifihMartin Pieuchot
2015-06-07Introduce unhandled_af() for cases where code conditionally doesJonathan Gray
2015-06-03Adjust yielding condition slightly in the if_input_process thread.Mike Belopuhov
2015-06-02RIP ether_input_mbuf().Martin Pieuchot
2015-05-26Now that the Ethernet header is always passed as part of the mbuf, killMartin Pieuchot
2015-05-26move add_net_randomness from ether_input to the if_input task.David Gwynne
2015-05-20Do not increment if_opackets in if_output(). It might make sense to doMartin Pieuchot
2015-05-19Take vlan(4) out of ether_input().Martin Pieuchot
2015-05-15Introduce if_output(), a function do to the last steps before enqueuingMartin Pieuchot