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, Jul 13, 9:51 AM
Unknown Object (File)
Sun, Jul 12, 1:06 PM
Unknown Object (File)
Mon, Jul 6, 8:34 AM
Unknown Object (File)
Tue, Jun 30, 7:41 AM
Unknown Object (File)
Jun 18 2026, 10:27 PM
Unknown Object (File)
Jun 16 2026, 1:25 AM
Unknown Object (File)
Jun 13 2026, 11:11 AM
Unknown Object (File)
Jun 4 2026, 6:15 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