Struct shadow_rs::cshadow::_PacketTCPHeader
source · #[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: guint,
pub acknowledgment: guint,
pub selectiveACKs: *mut GList,
pub window: guint,
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: guint
§acknowledgment: guint
§selectiveACKs: *mut GList
§window: guint
§windowScale: c_uchar
§windowScaleSet: bool
§timestampValue: CSimulationTime
§timestampEcho: CSimulationTime
Trait Implementations§
source§impl Clone for _PacketTCPHeader
impl Clone for _PacketTCPHeader
source§fn clone(&self) -> _PacketTCPHeader
fn clone(&self) -> _PacketTCPHeader
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 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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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