1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
//! A library to retrieve information about wireless hardware in Linux operating
//! system using netlink protocol.
//!
//! ## Usage
//!
//! ```rust,no_run
//! 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](https://github.com/uption/netlink_wi/tree/master/examples).
//!
pub(crate) mod attributes;
pub(crate) mod commands;

pub mod interface;
mod netlink;
pub mod reg_domain;
pub mod station;
pub mod wiphy;

pub use crate::attributes::MonitorFlags;
pub use netlink::NlSocket;