]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move <add|del|change>_route() functions to route_ctl.c in preparation of
authorAlexander V. Chernikov <melifaro@FreeBSD.org>
Sat, 23 May 2020 19:06:57 +0000 (19:06 +0000)
committerAlexander V. Chernikov <melifaro@FreeBSD.org>
Sat, 23 May 2020 19:06:57 +0000 (19:06 +0000)
commit4d2c2509f256cd19a799c05ed9c58ed8c3bf55f7
tree3c5fb818970888a9670d4dc1473d4abfd5a222b2
parentaf300929f901cda1973cfecc9c62c06aa49a69c1
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.

Differential Revision: https://reviews.freebsd.org/D24870
sys/net/if_var.h
sys/net/route.c
sys/net/route/route_ctl.c
sys/net/route/route_var.h
sys/net/route/shared.h
sys/netinet/in_fib.c
sys/netinet6/in6_fib.c