#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

#240 in Unix APIs

Download history 15/week @ 2024-12-04 16/week @ 2024-12-11 12/week @ 2025-01-08 21/week @ 2025-01-15 23/week @ 2025-01-22 17/week @ 2025-01-29 11/week @ 2025-02-05 6/week @ 2025-02-19 72/week @ 2025-02-26 44/week @ 2025-03-05 99/week @ 2025-03-12 24/week @ 2025-03-19

240 downloads per month
Used in uption

MIT license

130KB
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

~3–12MB
~138K SLoC