HomeFreeBSD

netlink: allow exact-match route lookups via RTM_GETROUTE.

Description

netlink: allow exact-match route lookups via RTM_GETROUTE.

Use already-existing RTM_F_PREFIX rtm_flag to indicate that the
request assumes exact-prefix lookup instead of the
longest-prefix-match.

MFC after: 2 weeks

Details

Provenance
melifaroAuthored on Apr 2 2023, 1:47 PM
Parents
rG4aeb939ecf8b: netlink: fix NULL check in the default route snl(3) parser.
Branches
Unknown
Tags
Unknown