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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
// SPDX-License-Identifier: MIT

pub mod address;
pub use address::{AddressHeader, AddressMessage, AddressMessageBuffer, ADDRESS_HEADER_LEN};

pub mod link;
pub use link::{LinkHeader, LinkMessage, LinkMessageBuffer, LINK_HEADER_LEN};

pub mod neighbour;
pub use neighbour::{
    NeighbourHeader,
    NeighbourMessage,
    NeighbourMessageBuffer,
    NEIGHBOUR_HEADER_LEN,
};

pub mod neighbour_table;
pub use neighbour_table::{
    NeighbourTableHeader,
    NeighbourTableMessage,
    NeighbourTableMessageBuffer,
    NEIGHBOUR_TABLE_HEADER_LEN,
};

pub mod nsid;
pub use nsid::{NsidHeader, NsidMessage, NsidMessageBuffer, NSID_HEADER_LEN};

pub mod route;
pub use route::{RouteFlags, RouteHeader, RouteMessage, RouteMessageBuffer, ROUTE_HEADER_LEN};

pub mod rule;
pub use rule::{RuleHeader, RuleMessage, RuleMessageBuffer, RULE_HEADER_LEN};

pub mod tc;
pub use tc::{TcHeader, TcMessage, TcMessageBuffer, TC_HEADER_LEN};

pub mod constants;
pub use self::constants::*;

mod buffer;
pub use self::buffer::*;

mod message;
pub use self::message::*;

pub mod nlas {
    pub use super::{
        address::nlas as address,
        link::nlas as link,
        neighbour::nlas as neighbour,
        neighbour_table::nlas as neighbour_table,
        nsid::nlas as nsid,
        route::nlas as route,
        rule::nlas as rule,
        tc::nlas as tc,
    };
    pub use crate::utils::nla::*;
}

#[cfg(test)]
mod test;