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

(cherry picked from commit d8b2693414ae5cebdbd4c64c9559275c4baff11e)

Details

Provenance
melifaroAuthored on Aug 9 2022, 1:34 PM
Differential Revision
D36167: routing: add rib_add_default_route() wrapper
Parents
rG7ecc03c76fa6: netlink: add AF_NETLINK / PF_NETLINK definitions
Branches
Unknown
Tags
Unknown