Page MenuHomeFreeBSD

Move <add|del|change>_route to route_ctl.c
ClosedPublic

Authored by melifaro on May 17 2020, 10:04 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Jul 4, 4:15 AM
Unknown Object (File)
Thu, Jun 25, 5:38 PM
Unknown Object (File)
Sun, Jun 21, 3:58 PM
Unknown Object (File)
Jun 8 2026, 7:54 PM
Unknown Object (File)
May 25 2026, 5:20 AM
Unknown Object (File)
May 10 2026, 11:45 AM
Unknown Object (File)
May 10 2026, 11:45 AM
Unknown Object (File)
May 8 2026, 7:24 PM
Subscribers

Details

Summary

Move <add|del|change>_route() functions to route_ctl.c in preparation of multipath control plane changed described in D24141.

Currently route.c contains core routing init/teardown functions, route table manipulation functions and various helper functions, resulting in >2KLOC file in total. This change moves most of the route table manipulation parts to a dedicated file, simplifying planned multipath changes and making route.c more manageable.

Diff Detail

Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 31133
Build 28816: arc lint + arc unit