Struct julia_sys::tcphdr__bindgen_ty_1__bindgen_ty_1
[−]
[src]
#[repr(C)]pub struct tcphdr__bindgen_ty_1__bindgen_ty_1 { pub th_sport: u_int16_t, pub th_dport: u_int16_t, pub th_seq: tcp_seq, pub th_ack: tcp_seq, pub _bitfield_1: u8, pub th_flags: u_int8_t, pub th_win: u_int16_t, pub th_sum: u_int16_t, pub th_urp: u_int16_t, }
Fields
th_sport: u_int16_t
th_dport: u_int16_t
th_seq: tcp_seq
th_ack: tcp_seq
_bitfield_1: u8
th_flags: u_int8_t
th_win: u_int16_t
th_sum: u_int16_t
th_urp: u_int16_t
Methods
impl tcphdr__bindgen_ty_1__bindgen_ty_1
[src]
fn th_x2(&self) -> u_int8_t
[src]
fn set_th_x2(&mut self, val: u_int8_t)
[src]
fn th_off(&self) -> u_int8_t
[src]
fn set_th_off(&mut self, val: u_int8_t)
[src]
fn new_bitfield_1(th_x2: u_int8_t, th_off: u_int8_t) -> u8
[src]
Trait Implementations
impl Debug for tcphdr__bindgen_ty_1__bindgen_ty_1
[src]
impl Copy for tcphdr__bindgen_ty_1__bindgen_ty_1
[src]
impl Clone for tcphdr__bindgen_ty_1__bindgen_ty_1
[src]
fn clone(&self) -> tcphdr__bindgen_ty_1__bindgen_ty_1
[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