Struct julia_sys::tcphdr__bindgen_ty_1__bindgen_ty_2
[−]
[src]
#[repr(C)]pub struct tcphdr__bindgen_ty_1__bindgen_ty_2 { pub source: u_int16_t, pub dest: u_int16_t, pub seq: u_int32_t, pub ack_seq: u_int32_t, pub _bitfield_1: [u8; 2], pub window: u_int16_t, pub check: u_int16_t, pub urg_ptr: u_int16_t, }
Fields
source: u_int16_t
dest: u_int16_t
seq: u_int32_t
ack_seq: u_int32_t
_bitfield_1: [u8; 2]
window: u_int16_t
check: u_int16_t
urg_ptr: u_int16_t
Methods
impl tcphdr__bindgen_ty_1__bindgen_ty_2
[src]
fn res1(&self) -> u_int16_t
[src]
fn set_res1(&mut self, val: u_int16_t)
[src]
fn doff(&self) -> u_int16_t
[src]
fn set_doff(&mut self, val: u_int16_t)
[src]
fn fin(&self) -> u_int16_t
[src]
fn set_fin(&mut self, val: u_int16_t)
[src]
fn syn(&self) -> u_int16_t
[src]
fn set_syn(&mut self, val: u_int16_t)
[src]
fn rst(&self) -> u_int16_t
[src]
fn set_rst(&mut self, val: u_int16_t)
[src]
fn psh(&self) -> u_int16_t
[src]
fn set_psh(&mut self, val: u_int16_t)
[src]
fn ack(&self) -> u_int16_t
[src]
fn set_ack(&mut self, val: u_int16_t)
[src]
fn urg(&self) -> u_int16_t
[src]
fn set_urg(&mut self, val: u_int16_t)
[src]
fn res2(&self) -> u_int16_t
[src]
fn set_res2(&mut self, val: u_int16_t)
[src]
fn new_bitfield_1(
res1: u_int16_t,
doff: u_int16_t,
fin: u_int16_t,
syn: u_int16_t,
rst: u_int16_t,
psh: u_int16_t,
ack: u_int16_t,
urg: u_int16_t,
res2: u_int16_t
) -> u16
[src]
res1: u_int16_t,
doff: u_int16_t,
fin: u_int16_t,
syn: u_int16_t,
rst: u_int16_t,
psh: u_int16_t,
ack: u_int16_t,
urg: u_int16_t,
res2: u_int16_t
) -> u16
Trait Implementations
impl Debug for tcphdr__bindgen_ty_1__bindgen_ty_2
[src]
impl Copy for tcphdr__bindgen_ty_1__bindgen_ty_2
[src]
impl Clone for tcphdr__bindgen_ty_1__bindgen_ty_2
[src]
fn clone(&self) -> tcphdr__bindgen_ty_1__bindgen_ty_2
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more