#netlink #linux #wifi #nl80211

netlink_wi

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

15 releases

0.7.0-rc5 Mar 17, 2025
0.7.0-rc4 Aug 22, 2023
0.6.0 Aug 11, 2023
0.4.0 Jul 28, 2023
0.2.0 Nov 29, 2020

#256 in Unix APIs

Download history 3/week @ 2025-01-06 21/week @ 2025-01-13 19/week @ 2025-01-20 26/week @ 2025-01-27 11/week @ 2025-02-03 4/week @ 2025-02-10 5/week @ 2025-02-17 41/week @ 2025-02-24 44/week @ 2025-03-03 35/week @ 2025-03-10 113/week @ 2025-03-17 7/week @ 2025-03-24 4/week @ 2025-03-31

159 downloads per month
Used in uption

MIT license

130KB
2.5K SLoC

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.


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 🚧

Dependencies

~3–12MB
~138K SLoC