#netlink #linux #wifi #operating-system #nl80211

netlink_wi

A library to retrieve information about wireless hardware in Linux operating system using netlink protocol

14 releases (6 breaking)

0.7.0-rc4 Aug 22, 2023
0.6.0 Aug 11, 2023
0.4.0 Jul 28, 2023
0.3.0 Jan 1, 2021
0.2.0 Nov 29, 2020

#501 in Unix APIs


Used in uption

MIT license

120KB
2.5K SLoC

Netlink Wireless Interface

Crates.io docs Crates.io CI

A library to retrieve information about wireless hardware in Linux operating system using netlink protocol.

Project status

🚧 This project is in very early stage of development 🚧


lib.rs:

A library to retrieve information about wireless hardware in Linux operating system using netlink protocol.

Usage

use netlink_wi::NlSocket;

fn list_interfaces() {
   let mut socket = NlSocket::connect().unwrap();
   let interfaces = socket.list_interfaces().unwrap();
   for interface in interfaces {
       println!("{:#?}", interface);
   }
}

See more examples in Github.

Dependencies

~6–15MB
~190K SLoC