summaryrefslogtreecommitdiff
path: root/sys/net/route.c
AgeCommit message (Expand)Author
2024-02-29revert "Combine route_cache() and rtalloc_mpath() in new route_mpath()"Christian Weisgerber
2024-02-27Combine route_cache() and rtalloc_mpath() in new route_mpath().Alexander Bluhm
2024-02-22Make the route cache aware of multipath routing.Alexander Bluhm
2024-02-13Merge struct route and struct route_in6.Alexander Bluhm
2024-02-09Route cache function returns hit or miss.Alexander Bluhm
2024-02-07Add missing #ifdef INET6 to fix ramdisk build.Alexander Bluhm
2024-02-07Use the route generation number also for IPv6.Alexander Bluhm
2024-02-05Add netstat counter for route cache.Alexander Bluhm
2024-01-31Add route generation number to route cache.Alexander Bluhm
2023-11-13Fix rt_setgate() error handling.Alexander Bluhm
2023-11-12Use constant sockaddr in route lookup.Alexander Bluhm
2023-11-12rt_setgate performs a series of tweaks to an rtable and the routes inDavid Gwynne
2023-11-10rtable_match() takes constant destination.Alexander Bluhm
2023-04-28Add rtentry refcnt type to dt(4).Vitaliy Makkoveev
2023-04-27Remove kernel lock from rtfree(9).Vitaliy Makkoveev
2023-04-27Add `rttimer_mtx' to the locking description.Vitaliy Makkoveev
2023-04-26Introduce `rtlabel_mtx' mutex(9) to protect route labels storage. ThisVitaliy Makkoveev
2023-04-26Remove +20y old rt_timer_init() commentKlemens Nanni
2023-04-26typofix rttimer commentKlemens Nanni
2023-01-28Revert the `rt_lock' rwlock(9) diff to fix the recursiveVitaliy Makkoveev
2023-01-21Introduce `rt_lock' rwlock(9) and use it instead of kernel lock toVitaliy Makkoveev
2022-08-29Use struct refcnt for interface address reference counting.Alexander Bluhm
2022-07-28In the kernel exist functions to print routes, but they were notAlexander Bluhm
2022-06-28Use refcnt API for struct rtentry instead of hand-crafted atomicAlexander Bluhm
2022-06-27Rework the rttimer code. Instead of a global queue and a global timeoutClaudio Jeker
2022-05-05Use static objects for struct rttimer_queue instead of dynamicallyClaudio Jeker
2022-05-04Move rttimer callback function from the rttimer itself to rttimer_queue.Claudio Jeker
2022-04-30Convert the 2nd rttimer callback from struct rttimer to u_int rtableid.Claudio Jeker
2022-04-28Route timers were not MP safe. Protect the global lists with aAlexander Bluhm
2022-04-20Fix white space and wrap long lines.Alexander Bluhm
2022-04-20Route timeout was a mixture of int, u_int and long. Use type intAlexander Bluhm
2022-04-19Use a pool instead of malloc for struct rttimer_queue. As routingAlexander Bluhm
2022-04-19Instead of a MP unsafe global variable to initialize at first use,Alexander Bluhm
2022-02-22Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>Philip Guenther
2022-02-07In rtredirect() change an bad assignment in an if condition to theClaudio Jeker
2022-01-02spellingJonathan Gray
2021-05-25As network features are not added dynamically, the domain structuresAlexander Bluhm
2021-03-10spellingJonathan Gray
2020-10-29Add feature to force the selection of source IP addressdenis
2020-08-13Use rtm_miss() rather than the simpler rtm_send() to send route deleteJonathan Matthew
2020-07-28Add size to free(9) callskn
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-04-20Don't return stack garbage even if it is going to beKenneth R Westerback
2020-04-15Do not delete an existing RTF_CACHED entry with the same destinationMartin Pieuchot
2020-04-10Typo in comment.Martin Pieuchot
2020-03-21r1.244 introduced rt_hash() with careful checks of src for NULL atKenneth R Westerback
2020-03-10The return value of rt_ifa_purge() is ignored, so stopKenneth R Westerback
2020-01-08Fix confusion around rtlabelid and rtableid in rt_ifa_add() and rt_ifa_del().Claudio Jeker
2019-06-24Since the recent recursion fix in rtable_walk(), deleting an interfaceAlexander Bluhm
2019-06-21Prevent recursions by not deleting entries inside rtable_walk(9).Martin Pieuchot