Struct TCP_HDR
#[repr(C, packed(1))]pub struct TCP_HDR {
pub th_sport: u16,
pub th_dport: u16,
pub th_seq: u32,
pub th_ack: u32,
pub _bitfield: u8,
pub th_flags: u8,
pub th_win: u16,
pub th_sum: u16,
pub th_urp: u16,
}Fields§
§th_sport: u16§th_dport: u16§th_seq: u32§th_ack: u32§_bitfield: u8§th_flags: u8§th_win: u16§th_sum: u16§th_urp: u16Trait Implementations§
Auto Trait Implementations§
impl Freeze for TCP_HDR
impl RefUnwindSafe for TCP_HDR
impl Send for TCP_HDR
impl Sync for TCP_HDR
impl Unpin for TCP_HDR
impl UnwindSafe for TCP_HDR
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