Crate netlink_wi
source ·Expand description
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.
Modules
Structs
- Netlink socket.
Enums
- Monitor mode configuration flags.