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
F132545731: D24870.diff
Fri, Oct 17, 8:59 PM
Unknown Object (File)
Wed, Oct 15, 11:31 PM
Unknown Object (File)
Wed, Oct 15, 9:09 PM
Unknown Object (File)
Wed, Oct 15, 1:31 AM
Unknown Object (File)
Tue, Oct 14, 3:33 AM
Unknown Object (File)
Sun, Oct 5, 1:28 AM
Unknown Object (File)
Fri, Sep 26, 3:49 AM
Unknown Object (File)
Mon, Sep 22, 8:25 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

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