Page MenuHomeFreeBSD

routing: install prefix and loopback routes using new nhop-based KPI.
ClosedPublic

Authored by melifaro on Aug 12 2022, 10:02 AM.

Details

Summary

Construct the desired hexthops directly instead of using the
"translation" layer in form of filling rt_addrinfo data.
Simplify V_rt_add_addr_allfibs handling by using recently-added
rib_copy_route() to propagate the routes to the non-primary address
fibs.

MFC after: 1 month

Diff Detail

Repository
rG FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.