summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
2015-10-14Reset the RTF_CONNECTED flag when cloning an entry.Martin Pieuchot
2015-10-14Rewrite the logic around the dymanic array of routing tables to helpMartin Pieuchot
2015-10-13Make sure RTF_LOCAL route entries are UP when added to the tree.Martin Pieuchot
2015-10-07Initialize the routing table before domains.Martin Pieuchot
2015-10-07Move route entry debug helpers where they belong.Martin Pieuchot
2015-10-07Move the reference counting of a newly created route entry insideMartin Pieuchot
2015-10-01Revert previous, it also breaks naddy@'s nested NFS setup.Martin Pieuchot
2015-09-30Do not try to refetch a route at the L2 layer if the given one is DOWNMartin Pieuchot
2015-09-28Factors ou the route hashing code to implement Equal-Cost Multi-PathMartin Pieuchot
2015-09-25Ensure that RTF_LOCAL route entries always stay UP.Martin Pieuchot
2015-09-23Always increment rt_use inside rtalloc(9) instead of doing it in someMartin Pieuchot
2015-09-22When a connected route is deleted, pass the corresponding priority toMartin Pieuchot
2015-09-21Set the correct priority for connected routes.Martin Pieuchot
2015-09-12Now that rtrequest1(9) properly sets RTF_UP for newly added route,Martin Pieuchot
2015-09-12Use rtref(9) in rtable_match() before returning a route entry.Martin Pieuchot
2015-09-11Stop supporting RTF_XRESOLVE, no daemon is doing resolution theseMartin Pieuchot
2015-09-11Introduce rtref(9) use it in rtable_lookup() before returning a routeMartin Pieuchot
2015-09-11Apply the link state change hook to RTF_LOCAL routes.Martin Pieuchot
2015-09-11Increment the reference count of CLONING routes before flushing allMartin Pieuchot
2015-09-10if_put after if_getDavid Gwynne
2015-09-10Stop supporting RTAX_IFP arguments with an interface name in theMartin Pieuchot
2015-09-10Use rtfree(9) rather than decrementing the reference counter.Martin Pieuchot
2015-09-04Make every subsystem using a radix tree call rn_init() and pass theMartin Pieuchot
2015-09-03Unconditionally set the RTF_UP flags when adding a route to the table.Martin Pieuchot
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