Struct cups_sys::tcp_connection_info
[−]
[src]
#[repr(C)]pub struct tcp_connection_info { pub tcpi_state: u_int8_t, pub tcpi_snd_wscale: u_int8_t, pub tcpi_rcv_wscale: u_int8_t, pub __pad1: u_int8_t, pub tcpi_options: u_int32_t, pub tcpi_flags: u_int32_t, pub tcpi_rto: u_int32_t, pub tcpi_maxseg: u_int32_t, pub tcpi_snd_ssthresh: u_int32_t, pub tcpi_snd_cwnd: u_int32_t, pub tcpi_snd_wnd: u_int32_t, pub tcpi_snd_sbbytes: u_int32_t, pub tcpi_rcv_wnd: u_int32_t, pub tcpi_rttcur: u_int32_t, pub tcpi_srtt: u_int32_t, pub tcpi_rttvar: u_int32_t, pub _bitfield_1: u32, pub tcpi_txpackets: u_int64_t, pub tcpi_txbytes: u_int64_t, pub tcpi_txretransmitbytes: u_int64_t, pub tcpi_rxpackets: u_int64_t, pub tcpi_rxbytes: u_int64_t, pub tcpi_rxoutoforderbytes: u_int64_t, pub tcpi_txretransmitpackets: u_int64_t, }
Fields
tcpi_state: u_int8_t
tcpi_snd_wscale: u_int8_t
tcpi_rcv_wscale: u_int8_t
__pad1: u_int8_t
tcpi_options: u_int32_t
tcpi_flags: u_int32_t
tcpi_rto: u_int32_t
tcpi_maxseg: u_int32_t
tcpi_snd_ssthresh: u_int32_t
tcpi_snd_cwnd: u_int32_t
tcpi_snd_wnd: u_int32_t
tcpi_snd_sbbytes: u_int32_t
tcpi_rcv_wnd: u_int32_t
tcpi_rttcur: u_int32_t
tcpi_srtt: u_int32_t
tcpi_rttvar: u_int32_t
_bitfield_1: u32
tcpi_txpackets: u_int64_t
tcpi_txbytes: u_int64_t
tcpi_txretransmitbytes: u_int64_t
tcpi_rxpackets: u_int64_t
tcpi_rxbytes: u_int64_t
tcpi_rxoutoforderbytes: u_int64_t
tcpi_txretransmitpackets: u_int64_t
Methods
impl tcp_connection_info
[src]
[src]
[src]
[src]
[src]
fn tcpi_tfo_syn_loss(&self) -> u_int32_t
[src]
fn set_tcpi_tfo_syn_loss(&mut self, val: u_int32_t)
[src]
fn tcpi_tfo_syn_data_sent(&self) -> u_int32_t
[src]
fn set_tcpi_tfo_syn_data_sent(&mut self, val: u_int32_t)
[src]
fn tcpi_tfo_syn_data_acked(&self) -> u_int32_t
[src]
fn set_tcpi_tfo_syn_data_acked(&mut self, val: u_int32_t)
[src]
fn tcpi_tfo_syn_data_rcv(&self) -> u_int32_t
[src]
fn set_tcpi_tfo_syn_data_rcv(&mut self, val: u_int32_t)
[src]
[src]
[src]
[src]
[src]
[src]
[src]
[src]
[src]
[src]
[src]
fn tcpi_tfo_heuristics_disable(&self) -> u_int32_t
[src]
fn set_tcpi_tfo_heuristics_disable(&mut self, val: u_int32_t)
[src]
fn tcpi_tfo_send_blackhole(&self) -> u_int32_t
[src]
fn set_tcpi_tfo_send_blackhole(&mut self, val: u_int32_t)
[src]
fn tcpi_tfo_recv_blackhole(&self) -> u_int32_t
[src]
fn set_tcpi_tfo_recv_blackhole(&mut self, val: u_int32_t)
[src]
fn __pad2(&self) -> u_int32_t
[src]
fn set___pad2(&mut self, val: u_int32_t)
[src]
fn new_bitfield_1(
tcpi_tfo_cookie_req: u_int32_t,
tcpi_tfo_cookie_rcv: u_int32_t,
tcpi_tfo_syn_loss: u_int32_t,
tcpi_tfo_syn_data_sent: u_int32_t,
tcpi_tfo_syn_data_acked: u_int32_t,
tcpi_tfo_syn_data_rcv: u_int32_t,
tcpi_tfo_cookie_req_rcv: u_int32_t,
tcpi_tfo_cookie_sent: u_int32_t,
tcpi_tfo_cookie_invalid: u_int32_t,
tcpi_tfo_cookie_wrong: u_int32_t,
tcpi_tfo_no_cookie_rcv: u_int32_t,
tcpi_tfo_heuristics_disable: u_int32_t,
tcpi_tfo_send_blackhole: u_int32_t,
tcpi_tfo_recv_blackhole: u_int32_t,
__pad2: u_int32_t
) -> u32
[src]
tcpi_tfo_cookie_req: u_int32_t,
tcpi_tfo_cookie_rcv: u_int32_t,
tcpi_tfo_syn_loss: u_int32_t,
tcpi_tfo_syn_data_sent: u_int32_t,
tcpi_tfo_syn_data_acked: u_int32_t,
tcpi_tfo_syn_data_rcv: u_int32_t,
tcpi_tfo_cookie_req_rcv: u_int32_t,
tcpi_tfo_cookie_sent: u_int32_t,
tcpi_tfo_cookie_invalid: u_int32_t,
tcpi_tfo_cookie_wrong: u_int32_t,
tcpi_tfo_no_cookie_rcv: u_int32_t,
tcpi_tfo_heuristics_disable: u_int32_t,
tcpi_tfo_send_blackhole: u_int32_t,
tcpi_tfo_recv_blackhole: u_int32_t,
__pad2: u_int32_t
) -> u32