summaryrefslogtreecommitdiff
path: root/sys/net/rtable.c
AgeCommit message (Expand)Author
2016-11-20Make rtable_iterate(9) mpsafe by using the new SRPL_NEXT(9).Martin Pieuchot
2016-11-20Rename SRPL_ENTER() to SRPL_FIRST() and SRPL_NEXT() to SRPL_FOLLOW().Martin Pieuchot
2016-11-14Automatically create a default lo(4) interface per rdomain.Martin Pieuchot
2016-11-14Remove radix_mpath dragons.Martin Pieuchot
2016-09-07Rename rtable_mpath_next() into rtable_iterate() and make it do a properMartin Pieuchot
2016-08-30use a per-table rwlock to serialize ART updates and walks, rather thanJonathan Matthew
2016-07-19Revert use of the _SAFE version of SRPL_FOREACH() now that the offendingMartin Pieuchot
2016-07-04Use the _SAFE_ version of SRPL_FOREACH() in rtable_walk_helper() toMartin Pieuchot
2016-06-22rework art_walk so it will behave in an mpsafe world.David Gwynne
2016-06-14Convert the links between art data structures used during lookups into srps.Jonathan Matthew
2016-06-07per trending style, add continue to empty loops.Ted Unangst
2016-06-01shuffle the code in rtable_insert so it inserts a populated art_node.David Gwynne
2016-06-01rtref and rtfree around moving the rt in rtable_mpath_reprio so the listDavid Gwynne
2016-06-01move all the art_node initialisation to art_get in art.cDavid Gwynne
2016-05-18rework the srp api so it takes an srp_ref struct that the caller provides.David Gwynne
2016-05-02Simplify life for routing table implementations by requiring that rtable_walkJonathan Matthew
2016-04-13Keep all pools in the same place.Martin Pieuchot
2016-02-24Fix ECMP routing by passing the correct destination address to theMartin Pieuchot
2016-01-18Pass the address length to art_alloc() and remove the hack abusing theMartin Pieuchot
2016-01-18Stop storing a backpointer to the corresponding ART node in each routeMartin Pieuchot
2015-12-21Pass the destination and mask to rtable_mpath_reprio() in order to notMartin Pieuchot
2015-12-16Merge rtable_mpath_select() into rtable_match().Martin Pieuchot
2015-12-15Do not panic when trying to delete an non-existing route with ART.Martin Pieuchot
2015-12-04Move the KERNEL_LOCK from rt_match() to rtable_match().Martin Pieuchot
2015-12-03Get rid of rt_mask() and stop allocating a "struct sockaddr" for everyMartin Pieuchot
2015-12-02rtable_delete() does not use its prio parameter, so delete it.Alexander Bluhm
2015-12-02Respect priorities when inserting routes to the same destination in ART.Martin Pieuchot
2015-12-02Move multipath Hash-Threshold selection mechanism inside rtable_match().Martin Pieuchot
2015-11-29Convert the simple list of multipath route entries used by ART kernelsMartin Pieuchot
2015-11-27Document that routing table heads are never freed as suggested by dlg@Martin Pieuchot
2015-11-27Protect the growth of the routing table arrays used by rtable_get()Martin Pieuchot
2015-11-24Provide art_free(), a method to release unused routing table heads.Martin Pieuchot
2015-11-10Allocate ART table's heap independently from the structure and useMartin Pieuchot
2015-11-09Do not leave dangling pointers in the ART tree in case of memoryMartin Pieuchot
2015-11-06Rename rt_mpath_next() into rtable_mpath_next() and provide anMartin Pieuchot
2015-11-06Use a SLIST instead of a LIST for MPATH route entries with ART.Martin Pieuchot
2015-11-06In ART separate the MPATH delete case to properly recover if art_delete()Martin Pieuchot
2015-11-04Initialize the correct variable in ART's rtable_match().Martin Pieuchot
2015-11-04Some tweaks to build the rtable API and backends in userland.Martin Pieuchot
2015-11-04Call rtable_put(), a stub for now, before leaving a function that calledMartin Pieuchot
2015-11-02Merge rtable_mpath_match() into rtable_lookup().Martin Pieuchot
2015-10-25Merge rtable_mpath_conflict() into rtable_insert().Martin Pieuchot
2015-10-22Use only one refcounting mechanism for route entries.Martin Pieuchot
2015-10-21Return the correct error code when a table already exists.Martin Pieuchot
2015-10-14Rewrite the logic around the dymanic array of routing tables to helpMartin Pieuchot
2015-10-07Make rtable_get() private to ensure it won't be used outside ofMartin Pieuchot
2015-10-07Initialize the routing table before domains.Martin Pieuchot
2015-10-07Move the reference counting of a newly created route entry insideMartin Pieuchot
2015-09-28Use the radix-tree API instead of function pointers.Martin Pieuchot
2015-09-28Factors ou the route hashing code to implement Equal-Cost Multi-PathMartin Pieuchot