summaryrefslogtreecommitdiff
path: root/sys/net/rtable.c
AgeCommit message (Expand)Author
2020-11-07Rework source IP address setting.denis
2020-11-05Replace wrong cast with satosin.denis
2020-10-29Add feature to force the selection of source IP addressdenis
2019-06-21Prevent recursions by not deleting entries inside rtable_walk(9).Martin Pieuchot
2019-03-05Make sure pointer is within bounds before dereferencing it.anton
2018-11-23Change rtable_mpath_reprio() to take the prefixlen as argument instead ofClaudio Jeker
2018-11-20Make rtable_satoplen() a bit more strict when parsing netmasks. EnsureClaudio Jeker
2018-11-19Retire dom_rtkeylen from struct domain. Nothing is using this anymore.Claudio Jeker
2018-09-09provide rtable_empty(), returns 1 if the rtable doesn't contain any routesHenning Brauer
2017-09-05Simplify rtable_mpath_insert().Martin Pieuchot
2017-09-05Restart the iteration when a multipath list is re-ordered to make sureMartin Pieuchot
2017-07-30Enable mpath support in the Allotment Routing Table (ART) on the ramdisk.Florian Obser
2017-07-30Switch installer to Allotment Routing Table (ART).Florian Obser
2017-05-11No need to go through a remove/insert cycle when there's a single routeMartin Pieuchot
2017-02-28Prevent a MP race in rtable_lookup().Martin Pieuchot
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
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