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, Dec 20, 12:33 PM
Unknown Object (File)
Dec 10 2025, 7:19 PM
Unknown Object (File)
Dec 7 2025, 3:12 PM
Unknown Object (File)
Nov 25 2025, 9:02 AM
Unknown Object (File)
Nov 24 2025, 5:25 PM
Unknown Object (File)
Nov 24 2025, 8:50 AM
Unknown Object (File)
Nov 21 2025, 10:42 PM
Unknown Object (File)
Nov 18 2025, 4:57 AM
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

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable