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_ttcpi_snd_wscale: u_int8_ttcpi_rcv_wscale: u_int8_t__pad1: u_int8_ttcpi_options: u_int32_ttcpi_flags: u_int32_ttcpi_rto: u_int32_ttcpi_maxseg: u_int32_ttcpi_snd_ssthresh: u_int32_ttcpi_snd_cwnd: u_int32_ttcpi_snd_wnd: u_int32_ttcpi_snd_sbbytes: u_int32_ttcpi_rcv_wnd: u_int32_ttcpi_rttcur: u_int32_ttcpi_srtt: u_int32_ttcpi_rttvar: u_int32_t_bitfield_align_1: [u32; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 4]>tcpi_txpackets: u_int64_ttcpi_txbytes: u_int64_ttcpi_txretransmitbytes: u_int64_ttcpi_rxpackets: u_int64_ttcpi_rxbytes: u_int64_ttcpi_rxoutoforderbytes: u_int64_ttcpi_txretransmitpackets: u_int64_t

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.