]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Move fib_rte_to_nh_flags() from net/route_var.h to net/route/nhop_ctl.c.
authormelifaro <melifaro@FreeBSD.org>
Fri, 28 Aug 2020 23:01:56 +0000 (23:01 +0000)
committermelifaro <melifaro@FreeBSD.org>
Fri, 28 Aug 2020 23:01:56 +0000 (23:01 +0000)
commit2769fdaf73f9f072e9c58700a11da9d19fe049e6
tree2671335234b85499656aa17ecb4f63ffe0401b52
parentf57e779f11e93196316860e8379075383dbd1988
Move fib_rte_to_nh_flags() from net/route_var.h to net/route/nhop_ctl.c.

No functional changes.
Initially this function was created to perform runtime flag conversions
 for the previous incarnation of fib lookup functions. As these functions
 got deprecated, move the function to the file with the only remaining
 caller. Lastly, rename it to convert_rt_to_nh_flags() to follow the
 naming notation.
sys/net/route/nhop_ctl.c
sys/net/route/route_var.h