summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
2015-09-01Introduce rtisvalid(9) a function to check if a (cached) route entryMartin Pieuchot
2015-09-01Do not try to find a possible ``ifa'' in rt_ifal_del(9) and trust theMartin Pieuchot
2015-08-30Use a global table for domains instead of building a list at run time.Martin Pieuchot
2015-08-24Always increment the reference counter of the returned route entry inMartin Pieuchot
2015-08-20Import an alternative routing table backend based on Yoichi Hariguchi'sMartin Pieuchot
2015-08-19Convert all calls to rtrequest1() and the following error checkAlexander Bluhm
2015-08-19Use rtfree(9) instead of decrementing rt_refcnt in rt_getifa().Martin Pieuchot
2015-08-18Remove PF_KEY-specific hacks from rtalloc(9). They are dead since SPDMartin Pieuchot
2015-08-17Remove unused variable in rt_ifa_add(), prodded by bluhm@Martin Pieuchot
2015-08-17Convert two rt->rt_refcnt-- into rtfree(9) making sure the route entryMartin Pieuchot
2015-08-17Match the free(3) semantic and accept NULL pointers in rtfree(9).Martin Pieuchot
2015-07-18Abstract the routing table internals behind an rtable_* API.Martin Pieuchot
2015-07-16Fix rn_match and there for the expoerted lookup functions in radix.cClaudio Jeker
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