Page MenuHomeFreeBSD

libifconfig: multiple feature additions
ClosedPublic

Authored by asomers on Feb 21 2018, 9:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mar 12 2024, 3:09 AM
Unknown Object (File)
Mar 12 2024, 3:09 AM
Unknown Object (File)
Mar 8 2024, 4:48 AM
Unknown Object (File)
Mar 8 2024, 4:38 AM
Unknown Object (File)
Feb 22 2024, 10:30 AM
Unknown Object (File)
Jan 24 2024, 9:44 PM
Unknown Object (File)
Dec 25 2023, 4:24 AM
Unknown Object (File)
Dec 20 2023, 3:59 AM

Details

Summary

libifconfig: multiple feature additions

Added the ability to:

  • Create virtual interfaces
  • Create vlan interfaces
  • Get interface fib
  • Get interface groups
  • Get interface status
  • Get nd6 info
  • Get media status
  • Get additional ifaddr info in a convenient struct
  • Get vhids
  • Get carp info
  • Get lagg and laggport status
  • Add functions for looping over all interfaces and ifaddrs
  • Add more examples

Note that this is a backwards-incompatible change. But that's ok, because it's
a private library.

Test Plan

Running at $WORK with proprietary client

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 15193
Build 15268: arc lint + arc unit

Event Timeline

Due to time constraints on my end, I intend to commit within 48 hours unless a reviewer raises major issues.

This revision was not accepted when it landed; it landed in state Needs Review.Feb 23 2018, 3:11 AM
This revision was automatically updated to reflect the committed changes.

For the record, this PR is based on the content at https://github.com/Savagedlight/libifconfig/pull/46 . IMHO, all new libifconfig development should continue in SVN in the FreeBSD tree.

For that to happen the original author will need a commit bit, which I'll be more than happy to mentor.