Type Alias PacketTCPHeader

Source
pub type PacketTCPHeader = _PacketTCPHeader;

Aliased Type§

struct PacketTCPHeader {
Show 13 fields pub flags: u32, pub sourceIP: u32, pub sourcePort: u16, pub destinationIP: u32, pub destinationPort: u16, pub sequence: u32, pub acknowledgment: u32, pub selectiveACKs: _PacketSelectiveAcks, pub window: u32, pub windowScale: u8, pub windowScaleSet: bool, pub timestampValue: u64, pub timestampEcho: u64,
}

Fields§

§flags: u32§sourceIP: u32§sourcePort: u16§destinationIP: u32§destinationPort: u16§sequence: u32§acknowledgment: u32§selectiveACKs: _PacketSelectiveAcks§window: u32§windowScale: u8§windowScaleSet: bool§timestampValue: u64§timestampEcho: u64

Trait Implementations

Source§

impl Clone for _PacketTCPHeader

Source§

fn clone(&self) -> _PacketTCPHeader

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for _PacketTCPHeader

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Copy for _PacketTCPHeader