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
//! FTP protocol AST definitions.

/// RFC 959 File Transfer Protocol specification.
#[derive(Debug, Clone, PartialEq, Eq, Default)]
pub struct FtpSpec<'a> {
    /// FTP command verb.
    pub cmd: Option<&'a str>,
    /// FTP command argument.
    pub arg: Option<&'a str>,
    /// Reply status code.
    pub code: Option<u16>,
    /// Reply explanation text.
    pub reply: Option<&'a str>,
}