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)
Wed, Aug 19, 1:45 AM
Unknown Object (File)
Sat, Aug 15, 5:42 AM
Unknown Object (File)
Sun, Aug 9, 11:37 PM
Unknown Object (File)
Sun, Aug 9, 11:35 PM
Unknown Object (File)
Tue, Aug 4, 2:51 AM
Unknown Object (File)
Mon, Aug 3, 12:01 PM
Unknown Object (File)
Mon, Aug 3, 7:00 AM
Unknown Object (File)
Sat, Aug 1, 10:01 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