summaryrefslogtreecommitdiff
path: root/sys/net/rtable.c
AgeCommit message (Expand)Author
2023-11-12Use constant sockaddr in route lookup.Alexander Bluhm
2023-11-11Remove unused parameter dst from art_get().Alexander Bluhm
2023-11-10rtable_match() takes constant destination.Alexander Bluhm
2023-04-19Protect rtable_setsource() and rtable_getsource() with exclusiveAlexander Bluhm
2023-04-18Rename 'art_root' structure member `source' to `ar_source' to be inVitaliy Makkoveev
2022-06-29Between the calls to art_match() and SRPL_FIRST() another CPU mayAlexander Bluhm
2022-06-28Use refcnt API for struct rtentry instead of hand-crafted atomicAlexander Bluhm
2022-06-27Fix white space and wrap long lines.Alexander Bluhm
2022-04-19Instead of a MP unsafe global variable to initialize at first use,Alexander Bluhm
2022-01-02spellingJonathan Gray
2021-05-25As network features are not added dynamically, the domain structuresAlexander Bluhm
2021-03-26Push kernel lock within rtable_add(9) and rework it to return 0 in themvs
2021-03-10spellingJonathan Gray
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