libwifi 0.5.0

A library for parsing IEEE 802.11 frames and handling wifi interfaces.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#[allow(clippy::module_inception)]
mod data;
mod qos_data;

pub use data::*;
pub use qos_data::*;

use super::components::DataHeader;

pub trait DataFrame {
    fn header(&self) -> &DataHeader;
    fn eapol_key(&self) -> &Option<EapolKey>;
    fn data(&self) -> &Vec<u8>;
}

pub trait NullDataFrame {
    fn header(&self) -> &DataHeader;
}