frameassembly 1.0.0

A Domain-Specific Language (DSL) for writing deterministic network traffic to .pcap files.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Link Layer Discovery Protocol (LLDP) AST definitions.

/// Link Layer Discovery Protocol (IEEE 802.1AB) specification.
#[derive(Debug, Clone, PartialEq, Eq, Default)]
pub struct LldpSpec<'a> {
    /// Chassis ID value.
    pub chassis_id: Option<&'a str>,
    /// Port ID value.
    pub port_id: Option<&'a str>,
    /// Time To Live in seconds.
    pub ttl: Option<u16>,
    /// System Name TLV string.
    pub sysname: Option<&'a str>,
    /// System Description TLV string.
    pub sysdesc: Option<&'a str>,
}