HomeFreeBSD

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

Description

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

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.

Differential Revision: https://reviews.freebsd.org/D36166

(cherry picked from commit a1b59379db7d879551118b921f6e9692b4bf200c)

Details