#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

#3 in #nl80211

Download history 33/week @ 2024-02-27 24/week @ 2024-03-05 39/week @ 2024-03-12 8/week @ 2024-03-19 23/week @ 2024-03-26 33/week @ 2024-04-02 5/week @ 2024-04-09 9/week @ 2024-04-16 12/week @ 2024-04-23 14/week @ 2024-04-30 16/week @ 2024-05-07 13/week @ 2024-05-14 20/week @ 2024-05-21 5/week @ 2024-05-28 7/week @ 2024-06-04 6/week @ 2024-06-11

51 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–15MB
~193K SLoC