summaryrefslogtreecommitdiff
path: root/sys/netinet/if_ether.c
AgeCommit message (Expand)Author
2015-10-27Move code around for clarity, no functional change.Martin Pieuchot
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-10-22Drop historical comment and an old '#if notyet'.Martin 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 pass an ``ia'' just to dereference ``ia_ifp''.Martin Pieuchot
2015-10-13Simplify arptfree() to no longer look at the route entry's refcounter.Martin Pieuchot
2015-10-07Move route entry debug helpers where they belong.Martin Pieuchot
2015-09-28Do not manually decrement rt's refcounter in arplookup() and let theMartin Pieuchot
2015-09-16Fix uninitalized use of variable.Claudio Jeker
2015-09-13There's no point in abstracting ifp->if_output() as long as pf_test()Martin Pieuchot
2015-09-13queue revarps to softnet so we can defer processing to a context withDavid Gwynne
2015-09-12Stop overwriting the rt_ifp pointer of RTF_LOCAL routes with lo0ifp.Martin Pieuchot
2015-09-10correctly hold and put a reference to the revarp ifp while tryingDavid Gwynne
2015-09-09Rewrite arpproxy() to no longer iterate on the global list of interfaces.Martin Pieuchot
2015-09-09Fix English in comment. OK dlg@Claudio Jeker
2015-08-19KNFMartin Pieuchot
2015-08-19Make arplookup() return a pointer to a "struct rtentry".Martin Pieuchot
2015-08-17Use __func__ rather than the function name in log(9) calls to removeMartin Pieuchot
2015-07-18Abstract the routing table internals behind an rtable_* API.Martin Pieuchot
2015-07-17Announce an IP address after inserting its corresponding RTF_LOCALMartin Pieuchot
2015-07-07Always use "ifp" instead of mixing it with "ac->ac_if" in in_arpinput().Martin Pieuchot
2015-06-23Pass a "struct ifnet *" instead of a "struct arpcom *" to arpresolve().Martin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-07Replace a bunch of == 0 with == NULL in pointer tests. Nuke someKenneth R Westerback
2015-05-26Do not create ARP entries for RTF_BROADCAST routes.Martin Pieuchot
2015-05-15Allow multiple connected/interface routes to exist at the same time.Claudio Jeker
2015-04-22Init rt to NULL in arpresolve(). Not a problem in practiceJonathan Gray
2015-04-10replace the use of ifqueues for most input queues serviced by netisrDavid Gwynne
2015-03-24Convert hand-rolled mbuf list used to store packets until ARPMartin Pieuchot
2015-03-14Check for the size of the supposed destination address when constructingMartin Pieuchot
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2015-02-11Do not store the key and the gateway of a route entry in the same chunkMartin Pieuchot
2015-02-07Print a different error message if the route entry supposed to containMartin Pieuchot
2015-02-05Convert various rtrequest1(RTM_DELETE,...) calls to rtdeletemsg(9).Martin Pieuchot
2015-01-28Revert rtdeletemsg conversion. It was not ok'd, I misunderstood bluhm@'sMartin Pieuchot
2015-01-26Do not always try to rtfree(9) route entries inside rtdeletemsg(9).Martin Pieuchot
2015-01-13Only notify userland about resolved ARP entries if the Ethernet addressMartin Pieuchot
2015-01-08Factorize various duplicated chunks of (old and horrible) code, checkingMartin Pieuchot
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-11-01Rename rtalloc1() into rtalloc(9) and convert its flags to only enableMartin Pieuchot
2014-09-03Make sure broadcast entries won't be freed by the arp timer so we canMartin Pieuchot
2014-08-26Revert the addition of broadcast addresses, it apparently also corruptsMartin Pieuchot
2014-08-19When a local route entry is added for an ifa having a broadcast address,Martin Pieuchot
2014-08-11Use the RTF_LOCAL flag instead of abusing the RTF_LLINFO flag whenMartin Pieuchot
2014-08-11Convert ARP llinfo allocation to pool(9).Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-12Always create a local route for every configured IPv4 address on theMartin Pieuchot
2014-06-16Revert "Always create a local route for every configured IPv4 address",Martin Pieuchot