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)
Sat, Oct 11, 5:46 AM
Unknown Object (File)
Sat, Oct 11, 5:46 AM
Unknown Object (File)
Fri, Oct 10, 10:34 PM
Unknown Object (File)
Wed, Oct 1, 2:22 AM
Unknown Object (File)
Thu, Sep 25, 4:24 AM
Unknown Object (File)
Sun, Sep 21, 2:51 AM
Unknown Object (File)
Thu, Sep 18, 12:06 AM
Unknown Object (File)
Wed, Sep 17, 8:23 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