Page MenuHomeFreeBSD

netlink: improve RTM_GETADDR handling.
ClosedPublic

Authored by melifaro on Jan 6 2023, 8:07 PM.
Tags
None
Referenced Files
F87295374: D37970.id114807.diff
Mon, Jul 1, 10:05 AM
F87295221: D37970.id114808.diff
Mon, Jul 1, 10:01 AM
F87286807: D37970.diff
Mon, Jul 1, 7:05 AM
Unknown Object (File)
Sat, Jun 29, 7:06 AM
Unknown Object (File)
Apr 26 2024, 8:45 AM
Unknown Object (File)
Apr 26 2024, 8:44 AM
Unknown Object (File)
Apr 26 2024, 8:44 AM
Unknown Object (File)
Apr 26 2024, 8:44 AM

Details

Summary
  • 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

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Errors
Unit
No Test Coverage
Build Status
Buildable 48981
Build 45870: arc lint + arc unit

Event Timeline

melifaro edited the test plan for this revision. (Show Details)
melifaro added reviewers: network, tests, manpages.

Fixable on commit if there are no other changes.

share/man/man4/rtnetlink.4
407
421–423

1 sentence = 1 line.

This revision is now accepted and ready to land.Jan 6 2023, 8:22 PM
This revision was landed with ongoing or failed builds.Jan 8 2023, 3:07 PM
This revision was automatically updated to reflect the committed changes.