#[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,
}
Expand description
Required features: "Win32_NetworkManagement_WindowsFilteringPlatform"
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: u16
Trait Implementations
Auto Trait Implementations
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more