summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
2015-02-06Change rt_mpath_conflict() to not rely on an initialized rtentry whenMartin 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-21Remove the useless variable ifa in rt_getifa().Alexander Bluhm
2015-01-18Do not even try to dereference a NULL pointer.Martin Pieuchot
2015-01-13Restore sending RTM_ADD and RTM_DELETE messages to userland for everyMartin Pieuchot
2015-01-08Include the Routing Table ID in "struct rtentry" and reorder the fieldsMartin Pieuchot
2015-01-08Factorize various duplicated chunks of (old and horrible) code, checkingMartin Pieuchot
2014-12-29Assert that rtrequest1(9) is always called at IPL_SOFTNET instead ofMartin Pieuchot
2014-12-19Do not report an EDQUOT "Disk quota exceeded" error from the routingAlexander Bluhm
2014-12-08There's no good reason to keep into "struct ifnet" a pointer that's onlyMartin Pieuchot
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-12-02replace some malloc multiplies with mallocarry. ok deraadt henningTed Unangst
2014-11-24Rename rt_ifa_addloop() into rt_ifa_addlocal() and make it return anMartin Pieuchot
2014-11-10Plug a rtentry leak and change the name of the pool to somethingMartin Pieuchot
2014-11-04Remove "pl" suffix on pool names.Martin Pieuchot
2014-11-01Rename rtalloc1() into rtalloc(9) and convert its flags to only enableMartin Pieuchot
2014-10-14Use rtfree() instead of RTFREE(), NULLify some free'd route pointers andMartin Pieuchot
2014-10-08Use rtalloc1() instead of rtalloc_noclone().Martin Pieuchot
2014-10-02Local routes that do not translate a protocol address into a link-layerMartin Pieuchot
2014-10-01Use the modern way of checking if a local route exists.Martin Pieuchot
2014-09-27Kill rtalloc() and update rtalloc1() and rtalloc_mpath() to no longerMartin Pieuchot
2014-09-03Treat broadcast entries like local ones and give them the highestMartin Pieuchot
2014-08-26Revert the addition of broadcast addresses, it apparently also corruptsMartin Pieuchot
2014-08-21If an ifa has as NULL ifp pointer then is should be considered asMartin Pieuchot
2014-08-19When a local route entry is added for an ifa having a broadcast address,Martin Pieuchot
2014-08-14No need for raw_cb.hMartin Pieuchot
2014-08-12route_cb is internal to rtsock.cMartin Pieuchot
2014-08-11Put back the checks about RTF_LOCAL routes now that userland tools areMartin Pieuchot
2014-07-29Revert the checks about RTF_LOCAL routes.Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-07-12No INET6 in ramdisk, fix the tree.Martin Pieuchot
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
2014-06-11Always create a local route for every configured IPv4 address on theMartin Pieuchot
2014-06-11Flag local routes as such and make them use the highest possibleMartin Pieuchot
2014-05-27Big refactoring of the radix code (mainly rn_addroute but also partClaudio Jeker
2014-05-27Reserve the highest route priority for kernel-managed routes and preventMartin Pieuchot
2014-05-21Fix IPsec route addition broken since the removal of the link-layerMartin Pieuchot
2014-04-29If you plan to write an obfuscated-by-design kernel / userlandMartin Pieuchot
2014-04-25Remove rti_ifp from rt_addrinfo, one less ifp pointer, say yay!Martin Pieuchot
2014-04-23You don't want to use ifa_ifwithroute(), it exists for to the routingMartin Pieuchot
2014-04-22ifa_ifwithroute() is the only magic place where an AF_LINK sockaddrMartin Pieuchot
2014-04-11Fix tree breakage.Kenneth R Westerback
2014-04-10Don't use ifa_ifwithnet() with obvious sockaddr_dl argument. ThisMartin Pieuchot
2014-04-10Retire rtinit() an use rt_ifa_add(9) and rt_ifa_del(9) to manageMartin Pieuchot
2014-04-03Introduce rt_ifa_{add,del}loop() to replace in6_{add,rem}loop().Martin Pieuchot
2014-03-27Stop mixing interface address flags with routing entry ones.Martin Pieuchot
2014-03-21rt_timer* spring cleanup.Martin Pieuchot
2014-03-18Rename rt_gettable() into rtable_get(), swap its arguments to beMartin Pieuchot