#[repr(C)]pub struct tcphdr {
pub th_sport: c_ushort,
pub th_dport: c_ushort,
pub th_seq: tcp_seq,
pub th_ack: tcp_seq,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1]>,
pub th_flags: c_uchar,
pub th_win: c_ushort,
pub th_sum: c_ushort,
pub th_urp: c_ushort,
}Fields§
§th_sport: c_ushort§th_dport: c_ushort§th_seq: tcp_seq§th_ack: tcp_seq§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>§th_flags: c_uchar§th_win: c_ushort§th_sum: c_ushort§th_urp: c_ushortImplementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for tcphdr
impl RefUnwindSafe for tcphdr
impl Send for tcphdr
impl Sync for tcphdr
impl Unpin for tcphdr
impl UnwindSafe for tcphdr
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