wlan_common/ie/
mod.rs

1// Copyright 2019 The Fuchsia Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5pub mod fake_ies;
6pub mod intersect;
7pub mod owe_transition;
8pub mod rsn;
9pub mod wpa;
10pub mod wsc;
11
12mod constants;
13mod fields;
14mod id;
15mod merger;
16mod parse;
17mod rates_writer;
18mod reader;
19mod write;
20
21use zerocopy::{FromBytes, Immutable, IntoBytes, KnownLayout, Unaligned};
22
23pub use constants::*;
24pub use fake_ies::*;
25pub use fields::*;
26pub use id::*;
27pub use intersect::*;
28pub use merger::*;
29pub use parse::*;
30pub use rates_writer::*;
31pub use reader::*;
32pub use write::*;
33
34#[repr(C, packed)]
35#[derive(IntoBytes, KnownLayout, FromBytes, Immutable, Unaligned)]
36pub struct Header {
37    pub id: Id,
38    pub body_len: u8,
39}