HomeFreeBSD

routing: add rib_add_default_route() wrapper

Description

routing: add rib_add_default_route() wrapper

Multiple consumers in the kernel space want to install IPv4 or IPv6
default route. Provide convenient wrapper to simplify the code
inside the customers.

MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D36167

Details

Provenance
melifaroAuthored on Aug 9 2022, 1:34 PM
Differential Revision
D36167: routing: add rib_add_default_route() wrapper
Parents
rGa1b59379db7d: routing: install prefix and loopback routes using new nhop-based KPI.
Branches
Unknown
Tags
Unknown