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§

interface
reg_domain
station
wiphy

Structs§

NlSocket
Netlink socket.

Enums§

MonitorFlags
Monitor mode configuration flags.