[][src]Struct jl_sys::tcphdr__bindgen_ty_1__bindgen_ty_1

#[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_1: __BindgenBitfieldUnit<[u8; 1], u8>,
    pub th_flags: u8,
    pub th_win: u16,
    pub th_sum: u16,
    pub th_urp: u16,
}

Fields

th_sport: u16th_dport: u16th_seq: tcp_seqth_ack: tcp_seq_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>th_flags: u8th_win: u16th_sum: u16th_urp: u16

Implementations

impl tcphdr__bindgen_ty_1__bindgen_ty_1[src]

pub fn th_x2(&self) -> u8[src]

pub fn set_th_x2(&mut self, val: u8)[src]

pub fn th_off(&self) -> u8[src]

pub fn set_th_off(&mut self, val: u8)[src]

pub fn new_bitfield_1(
    th_x2: u8,
    th_off: u8
) -> __BindgenBitfieldUnit<[u8; 1], u8>
[src]

Trait Implementations

impl Clone for tcphdr__bindgen_ty_1__bindgen_ty_1[src]

impl Copy for tcphdr__bindgen_ty_1__bindgen_ty_1[src]

impl Debug for tcphdr__bindgen_ty_1__bindgen_ty_1[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.