#[repr(C)]pub struct _PacketTCPHeader {Show 13 fields
    pub flags: ProtocolTCPFlags,
    pub sourceIP: in_addr_t,
    pub sourcePort: in_port_t,
    pub destinationIP: in_addr_t,
    pub destinationPort: in_port_t,
    pub sequence: c_uint,
    pub acknowledgment: c_uint,
    pub selectiveACKs: PacketSelectiveAcks,
    pub window: c_uint,
    pub windowScale: c_uchar,
    pub windowScaleSet: bool,
    pub timestampValue: CSimulationTime,
    pub timestampEcho: CSimulationTime,
}Fields§
§flags: ProtocolTCPFlags§sourceIP: in_addr_t§sourcePort: in_port_t§destinationIP: in_addr_t§destinationPort: in_port_t§sequence: c_uint§acknowledgment: c_uint§selectiveACKs: PacketSelectiveAcks§window: c_uint§windowScale: c_uchar§windowScaleSet: bool§timestampValue: CSimulationTime§timestampEcho: CSimulationTimeTrait Implementations§
Source§impl Clone for _PacketTCPHeader
 
impl Clone for _PacketTCPHeader
Source§fn clone(&self) -> _PacketTCPHeader
 
fn clone(&self) -> _PacketTCPHeader
Returns a duplicate 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 moreSource§impl Debug for _PacketTCPHeader
 
impl Debug for _PacketTCPHeader
impl Copy for _PacketTCPHeader
Auto Trait Implementations§
impl Freeze for _PacketTCPHeader
impl RefUnwindSafe for _PacketTCPHeader
impl Send for _PacketTCPHeader
impl Sync for _PacketTCPHeader
impl Unpin for _PacketTCPHeader
impl UnwindSafe for _PacketTCPHeader
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
Source§impl<T> IntoEither for T
 
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
 
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
 
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts 
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more