HomeFreeBSD

netlink: add snl(3) default parsers for routes and links.

Description

netlink: add snl(3) default parsers for routes and links.

This change adds the "default" parsers of _all_ route/link attributes
exported by the kernel.
It removes the need to declare similar parsers in the userland applications,
simplifying their logic.

Differential Revision: https://reviews.freebsd.org/D38979
MFC after: 2 weeks

(cherry picked from commit 595d23f777dc24cb285b072c596ca96bbc2db3cd)

Details

Provenance
melifaroAuthored on Mar 9 2023, 2:43 PM
Differential Revision
D38979: netlink: add snl(3) default parsers for routes and links.
Parents
rG96a0db365f5d: netlink: add rtsock-compatible header to use with netlink snl(3).
Branches
Unknown
Tags
Unknown