#[repr(C)]
pub struct tcp_info {
Show 54 fields pub tcpi_state: __u8, pub tcpi_ca_state: __u8, pub tcpi_retransmits: __u8, pub tcpi_probes: __u8, pub tcpi_backoff: __u8, pub tcpi_options: __u8, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>, pub tcpi_rto: __u32, pub tcpi_ato: __u32, pub tcpi_snd_mss: __u32, pub tcpi_rcv_mss: __u32, pub tcpi_unacked: __u32, pub tcpi_sacked: __u32, pub tcpi_lost: __u32, pub tcpi_retrans: __u32, pub tcpi_fackets: __u32, pub tcpi_last_data_sent: __u32, pub tcpi_last_ack_sent: __u32, pub tcpi_last_data_recv: __u32, pub tcpi_last_ack_recv: __u32, pub tcpi_pmtu: __u32, pub tcpi_rcv_ssthresh: __u32, pub tcpi_rtt: __u32, pub tcpi_rttvar: __u32, pub tcpi_snd_ssthresh: __u32, pub tcpi_snd_cwnd: __u32, pub tcpi_advmss: __u32, pub tcpi_reordering: __u32, pub tcpi_rcv_rtt: __u32, pub tcpi_rcv_space: __u32, pub tcpi_total_retrans: __u32, pub tcpi_pacing_rate: __u64, pub tcpi_max_pacing_rate: __u64, pub tcpi_bytes_acked: __u64, pub tcpi_bytes_received: __u64, pub tcpi_segs_out: __u32, pub tcpi_segs_in: __u32, pub tcpi_notsent_bytes: __u32, pub tcpi_min_rtt: __u32, pub tcpi_data_segs_in: __u32, pub tcpi_data_segs_out: __u32, pub tcpi_delivery_rate: __u64, pub tcpi_busy_time: __u64, pub tcpi_rwnd_limited: __u64, pub tcpi_sndbuf_limited: __u64, pub tcpi_delivered: __u32, pub tcpi_delivered_ce: __u32, pub tcpi_bytes_sent: __u64, pub tcpi_bytes_retrans: __u64, pub tcpi_dsack_dups: __u32, pub tcpi_reord_seen: __u32, pub tcpi_rcv_ooopack: __u32, pub tcpi_snd_wnd: __u32,
}

Fields

tcpi_state: __u8tcpi_ca_state: __u8tcpi_retransmits: __u8tcpi_probes: __u8tcpi_backoff: __u8tcpi_options: __u8_bitfield_align_1: [u8; 0]_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>tcpi_rto: __u32tcpi_ato: __u32tcpi_snd_mss: __u32tcpi_rcv_mss: __u32tcpi_unacked: __u32tcpi_sacked: __u32tcpi_lost: __u32tcpi_retrans: __u32tcpi_fackets: __u32tcpi_last_data_sent: __u32tcpi_last_ack_sent: __u32tcpi_last_data_recv: __u32tcpi_last_ack_recv: __u32tcpi_pmtu: __u32tcpi_rcv_ssthresh: __u32tcpi_rtt: __u32tcpi_rttvar: __u32tcpi_snd_ssthresh: __u32tcpi_snd_cwnd: __u32tcpi_advmss: __u32tcpi_reordering: __u32tcpi_rcv_rtt: __u32tcpi_rcv_space: __u32tcpi_total_retrans: __u32tcpi_pacing_rate: __u64tcpi_max_pacing_rate: __u64tcpi_bytes_acked: __u64tcpi_bytes_received: __u64tcpi_segs_out: __u32tcpi_segs_in: __u32tcpi_notsent_bytes: __u32tcpi_min_rtt: __u32tcpi_data_segs_in: __u32tcpi_data_segs_out: __u32tcpi_delivery_rate: __u64tcpi_busy_time: __u64tcpi_rwnd_limited: __u64tcpi_sndbuf_limited: __u64tcpi_delivered: __u32tcpi_delivered_ce: __u32tcpi_bytes_sent: __u64tcpi_bytes_retrans: __u64tcpi_dsack_dups: __u32tcpi_reord_seen: __u32tcpi_rcv_ooopack: __u32tcpi_snd_wnd: __u32

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.