Page MenuHomeFreeBSD

libifconfig: Add netlink based IPv4/v6 address helper functions
Needs ReviewPublic

Authored by saheed on Aug 22 2025, 8:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, May 18, 4:48 AM
Unknown Object (File)
Fri, May 15, 6:23 PM
Unknown Object (File)
Thu, May 14, 4:31 PM
Unknown Object (File)
Thu, May 14, 4:31 PM
Unknown Object (File)
Wed, Apr 29, 5:27 AM
Unknown Object (File)
Wed, Apr 29, 5:23 AM
Unknown Object (File)
Mon, Apr 27, 4:19 AM
Unknown Object (File)
Apr 10 2026, 8:41 AM
Subscribers

Details

Reviewers
getz
obiwac
Summary

Adds the following RTM_*ADDR related functions:

  • ifconfig_add_inet and ifconfig_del_inet to add and remove IPv4 addresses
  • ifconfig_add_inet6 and ifconfig_del_inet6 to add and remove IPv6 addresses

The above functions are derived from ifconfig(8)

Sponsored by: Google LLC (GSoC)

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 66470
Build 63353: arc lint + arc unit