Enum etherparse::TcpOptionElement
source · pub enum TcpOptionElement {
Nop,
MaximumSegmentSize(u16),
WindowScale(u8),
SelectiveAcknowledgementPermitted,
SelectiveAcknowledgement((u32, u32), [Option<(u32, u32)>; 3]),
Timestamp(u32, u32),
}
Expand description
Different kinds of options that can be present in the options part of a tcp header.
Variants§
Nop
MaximumSegmentSize(u16)
WindowScale(u8)
SelectiveAcknowledgementPermitted
SelectiveAcknowledgement((u32, u32), [Option<(u32, u32)>; 3])
Timestamp(u32, u32)
Timestamp & echo (first number is the sender timestamp, the second the echo timestamp)
Trait Implementations§
source§impl Clone for TcpOptionElement
impl Clone for TcpOptionElement
source§fn clone(&self) -> TcpOptionElement
fn clone(&self) -> TcpOptionElement
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more