HomeFreeBSD

netlink: automatically fill sin6_scope_id in the default snl(3) parsers.

Description

netlink: automatically fill sin6_scope_id in the default snl(3) parsers.

Add the optional post-parse hook to the snl(3) parser declaration.
Use this hook to automatically add the interface indexes to the
link-local sockaddrs.

MFC after: 2 weeks

Details

Provenance
melifaroAuthored on May 9 2023, 2:55 PM
Parents
rGba9c815d3076: netlink: use consistent variable lifetime in the default snl(3) parsers.
Branches
Unknown
Tags
Unknown