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

(cherry picked from commit 90d625122886a2db5b66d248807b89f4a0270466)

Details

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