Struct r_core::tcp_connection_info [−][src]
#[repr(C)]pub struct tcp_connection_info {Show 25 fields
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_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4]>,
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_align_1: [u32; 0]
_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>
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
Implementations
pub 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,
tcpi_tfo_onebyte_proxy: u_int32_t,
__pad2: u_int32_t
) -> __BindgenBitfieldUnit<[u8; 4]>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for tcp_connection_info
impl Send for tcp_connection_info
impl Sync for tcp_connection_info
impl Unpin for tcp_connection_info
impl UnwindSafe for tcp_connection_info
Blanket Implementations
Mutably borrows from an owned value. Read more