HomeFreeBSD

netlink: add rtsock-compatible header to use with netlink snl(3).

Description

netlink: add rtsock-compatible header to use with netlink snl(3).

Some routing socket defines (RTM_ and RTA_ ones) clash with the ones
used by the the Netlink.
As some rtsock definitions like interface flags or route flags are used in
both netlink and rtsock, provide a convenient way to include those without
running into the define collision.

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

Details

Provenance
melifaroAuthored on Mar 9 2023, 2:36 PM
Differential Revision
D38982: netlink: add rtsock-compatible header to use with netlink.
Parents
rG76f6d391504b: netlink: add basic message writing support to snl(3).
Branches
Unknown
Tags
Unknown