Page MenuHomeFreeBSD

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

Authored by melifaro on Sun, May 17, 10:04 AM.

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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

melifaro created this revision.Sun, May 17, 10:04 AM
melifaro requested review of this revision.Sun, May 17, 10:04 AM
melifaro edited the summary of this revision. (Show Details)Sun, May 17, 10:12 AM
melifaro updated this revision to Diff 71886.Sun, May 17, 10:16 AM
melifaro edited the summary of this revision. (Show Details)

Leave rtrequest1_fib() in route.c

This revision was not accepted when it landed; it landed in state Needs Review.Sat, May 23, 7:07 PM
This revision was automatically updated to reflect the committed changes.