HomeFreeBSD

netlink: improve RTM_GETADDR handling.

Description

netlink: improve RTM_GETADDR handling.

  • Allow filtering by ifa_family & ifa_index.
  • Add common RTM_<NEW|DEL|GET>ADDR parser
  • Add tests verifying RTM_GETADDR filtering behaviour & output
  • Factor out common netlink socket test methods into NetlinkTestTemplate
  • Add NLMSG_DONE message handler

Reviewed By: pauamma
Differential Revision: https://reviews.freebsd.org/D37970

Details

Provenance
melifaroAuthored on Jan 7 2023, 4:18 PM
Reviewer
pauamma_gundo.com
Differential Revision
D37970: netlink: improve RTM_GETADDR handling.
Parents
rG4ffe60e6833e: Add Combo PHY, RK817, Syr827, tcs4525 pmic devices to Rockchip specific config.
Branches
Unknown
Tags
Unknown