#[repr(C)]pub struct tcphdr__bindgen_ty_1__bindgen_ty_1 {
pub th_sport: u16,
pub th_dport: u16,
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: u8,
pub th_win: u16,
pub th_sum: u16,
pub th_urp: u16,
}
Fields§
§th_sport: u16
§th_dport: u16
§th_seq: tcp_seq
§th_ack: tcp_seq
§_bitfield_align_1: [u8; 0]
§_bitfield_1: __BindgenBitfieldUnit<[u8; 1]>
§th_flags: u8
§th_win: u16
§th_sum: u16
§th_urp: u16
Implementations§
Trait Implementations§
Source§impl Clone for tcphdr__bindgen_ty_1__bindgen_ty_1
impl Clone for tcphdr__bindgen_ty_1__bindgen_ty_1
Source§fn clone(&self) -> tcphdr__bindgen_ty_1__bindgen_ty_1
fn clone(&self) -> tcphdr__bindgen_ty_1__bindgen_ty_1
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 moreimpl Copy for tcphdr__bindgen_ty_1__bindgen_ty_1
Auto Trait Implementations§
impl Freeze for tcphdr__bindgen_ty_1__bindgen_ty_1
impl RefUnwindSafe for tcphdr__bindgen_ty_1__bindgen_ty_1
impl Send for tcphdr__bindgen_ty_1__bindgen_ty_1
impl Sync for tcphdr__bindgen_ty_1__bindgen_ty_1
impl Unpin for tcphdr__bindgen_ty_1__bindgen_ty_1
impl UnwindSafe for tcphdr__bindgen_ty_1__bindgen_ty_1
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