summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
2015-06-29Never cache a RTF_GATEWAY route as next hop for a gateway route.Martin Pieuchot
2015-06-22rtrequest1(9) error code path cleanup.Martin Pieuchot
2015-06-06Put the link-layer address back into the gateway field of RTF_LOCALMartin Pieuchot
2015-05-26Store the IP address of the corresponding ifa in the rt_gateway fieldMartin Pieuchot
2015-05-26Normalize route destination before checking for MPATH conflicts.Martin Pieuchot
2015-05-15Allow multiple connected/interface routes to exist at the same time.Claudio Jeker
2015-04-20Remove a bad typo introduced in rev 1.185 and found by jsg@.Martin Pieuchot
2015-03-26Use rt_ifa_add(9) and rt_ifa_del(9) to configure MPLS labels.Martin Pieuchot
2015-02-12When purging the routes corresponding to an ifp, skip the routing tablesMartin Pieuchot
2015-02-11Do not store the key and the gateway of a route entry in the same chunkMartin Pieuchot
2015-02-10In rt_if_track skip rtables that are not in the rdomain of the ifp.Claudio Jeker
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