frameassembly 1.0.1

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
17
18
//! TACACS protocol AST definitions.

/// RFC 8907 TACACS+ authentication & authorization specification.
#[derive(Debug, Clone, PartialEq, Eq, Default)]
pub struct TacacsSpec<'a> {
    /// TACACS+ type (AUTHEN, AUTHOR, ACCT).
    pub tacacs_type: Option<&'a str>,
    /// Sequence number.
    pub seq: Option<u8>,
    /// Flags byte.
    pub flags: Option<u8>,
    /// Session identifier.
    pub session_id: Option<u32>,
    /// User name string.
    pub user: Option<&'a str>,
    /// Optional data payload.
    pub data: Option<&'a str>,
}