[][src]Struct nginx::tcphdr__bindgen_ty_1__bindgen_ty_2

#[repr(C)]pub struct tcphdr__bindgen_ty_1__bindgen_ty_2 {
    pub source: u16,
    pub dest: u16,
    pub seq: u32,
    pub ack_seq: u32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>,
    pub window: u16,
    pub check: u16,
    pub urg_ptr: u16,
}

Fields

source: u16dest: u16seq: u32ack_seq: u32_bitfield_1: __BindgenBitfieldUnit<[u8; 2], u8>window: u16check: u16urg_ptr: u16

Implementations

impl tcphdr__bindgen_ty_1__bindgen_ty_2[src]

pub fn res1(&self) -> u16[src]

pub fn set_res1(&mut self, val: u16)[src]

pub fn doff(&self) -> u16[src]

pub fn set_doff(&mut self, val: u16)[src]

pub fn fin(&self) -> u16[src]

pub fn set_fin(&mut self, val: u16)[src]

pub fn syn(&self) -> u16[src]

pub fn set_syn(&mut self, val: u16)[src]

pub fn rst(&self) -> u16[src]

pub fn set_rst(&mut self, val: u16)[src]

pub fn psh(&self) -> u16[src]

pub fn set_psh(&mut self, val: u16)[src]

pub fn ack(&self) -> u16[src]

pub fn set_ack(&mut self, val: u16)[src]

pub fn urg(&self) -> u16[src]

pub fn set_urg(&mut self, val: u16)[src]

pub fn res2(&self) -> u16[src]

pub fn set_res2(&mut self, val: u16)[src]

pub fn new_bitfield_1(
    res1: u16,
    doff: u16,
    fin: u16,
    syn: u16,
    rst: u16,
    psh: u16,
    ack: u16,
    urg: u16,
    res2: u16
) -> __BindgenBitfieldUnit<[u8; 2], u8>
[src]

Trait Implementations

impl Clone for tcphdr__bindgen_ty_1__bindgen_ty_2[src]

impl Copy for tcphdr__bindgen_ty_1__bindgen_ty_2[src]

impl Debug for tcphdr__bindgen_ty_1__bindgen_ty_2[src]

Auto Trait Implementations

impl RefUnwindSafe for tcphdr__bindgen_ty_1__bindgen_ty_2

impl Send for tcphdr__bindgen_ty_1__bindgen_ty_2

impl Sync for tcphdr__bindgen_ty_1__bindgen_ty_2

impl Unpin for tcphdr__bindgen_ty_1__bindgen_ty_2

impl UnwindSafe for tcphdr__bindgen_ty_1__bindgen_ty_2

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.