Skip to content

shellrow/netdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

netdev Crates.io License

netdev provides a cross-platform API for network interface.

Key Features

  • Get list of available network interfaces
  • Get default network interface
  • Access additional information related to network interface

Please refer to the Interface struct documentation for detail.

Notice

This project was rebranded from default-net by the author myself for future expansion, continuation, and better alignment with naming conventions.

Supported platform

  • Linux
  • macOS
  • Windows

Usage

Add netdev to your dependencies

[dependencies]
netdev = "0.25"

For more details, see examples or doc.

Tested on

  • Linux
    • Ubuntu
      • 22.04
      • 21.10
      • 20.04
      • 18.04
    • Kali
      • 2023.2
      • 2022.1
      • 2021.1
  • macOS
    • 13.4.1
    • 11.6
  • Windows
    • 11 Pro 22H2 22621.3155
    • 11 22H2 22621.3155
    • 10 21H2 19044.1586