Skip to content

Conversation

@shellrow
Copy link
Owner

@shellrow shellrow commented Aug 3, 2025

Support for retrieving the operational state (OperState) of network interfaces across platforms, including Linux (/sys/class/net), macOS, *BSD (via ioctl), and Windows (native API).

  • Adds OperState enum
  • Add oper_state field to Interface
  • Retrieves operstate at interface discovery time
  • Allows refreshing interface status via Interface::update_oper_state()

@shellrow shellrow linked an issue Aug 3, 2025 that may be closed by this pull request
@shellrow shellrow merged commit 80810a4 into main Aug 3, 2025
10 checks passed
@shellrow shellrow deleted the feat-oper-state branch August 8, 2025 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improved is_up alternative

2 participants