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 rsn;
8pub mod wpa;
9pub mod wsc;
10
11mod constants;
12mod fields;
13mod id;
14mod merger;
15mod parse;
16mod rates_writer;
17mod reader;
18mod write;
19
20use zerocopy::{FromBytes, Immutable, IntoBytes, KnownLayout, Unaligned};
21
22pub use constants::*;
23pub use fake_ies::*;
24pub use fields::*;
25pub use id::*;
26pub use intersect::*;
27pub use merger::*;
28pub use parse::*;
29pub use rates_writer::*;
30pub use reader::*;
31pub use write::*;
32
33#[repr(C, packed)]
34#[derive(IntoBytes, KnownLayout, FromBytes, Immutable, Unaligned)]
35pub struct Header {
36    pub id: Id,
37    pub body_len: u8,
38}