#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

#319 in Unix APIs

Download history 1/week @ 2023-12-31 8/week @ 2024-01-07 3/week @ 2024-01-14 6/week @ 2024-01-28 53/week @ 2024-02-11 21/week @ 2024-02-18 33/week @ 2024-02-25 14/week @ 2024-03-03 47/week @ 2024-03-10 15/week @ 2024-03-17 252/week @ 2024-03-31

317 downloads per month
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–17MB
~203K SLoC