#[repr(C)]pub struct bpf_tcp_sock {Show 26 fields
pub snd_cwnd: u32,
pub srtt_us: u32,
pub rtt_min: u32,
pub snd_ssthresh: u32,
pub rcv_nxt: u32,
pub snd_nxt: u32,
pub snd_una: u32,
pub mss_cache: u32,
pub ecn_flags: u32,
pub rate_delivered: u32,
pub rate_interval_us: u32,
pub packets_out: u32,
pub retrans_out: u32,
pub total_retrans: u32,
pub segs_in: u32,
pub data_segs_in: u32,
pub segs_out: u32,
pub data_segs_out: u32,
pub lost_out: u32,
pub sacked_out: u32,
pub bytes_received: u64,
pub bytes_acked: u64,
pub dsack_dups: u32,
pub delivered: u32,
pub delivered_ce: u32,
pub icsk_retransmits: u32,
}
Fields§
§snd_cwnd: u32
§srtt_us: u32
§rtt_min: u32
§snd_ssthresh: u32
§rcv_nxt: u32
§snd_nxt: u32
§snd_una: u32
§mss_cache: u32
§ecn_flags: u32
§rate_delivered: u32
§rate_interval_us: u32
§packets_out: u32
§retrans_out: u32
§total_retrans: u32
§segs_in: u32
§data_segs_in: u32
§segs_out: u32
§data_segs_out: u32
§lost_out: u32
§sacked_out: u32
§bytes_received: u64
§bytes_acked: u64
§dsack_dups: u32
§delivered: u32
§delivered_ce: u32
§icsk_retransmits: u32
Trait Implementations§
Source§impl Clone for bpf_tcp_sock
impl Clone for bpf_tcp_sock
Source§fn clone(&self) -> bpf_tcp_sock
fn clone(&self) -> bpf_tcp_sock
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for bpf_tcp_sock
impl Debug for bpf_tcp_sock
impl Copy for bpf_tcp_sock
Auto Trait Implementations§
impl Freeze for bpf_tcp_sock
impl RefUnwindSafe for bpf_tcp_sock
impl Send for bpf_tcp_sock
impl Sync for bpf_tcp_sock
impl Unpin for bpf_tcp_sock
impl UnwindSafe for bpf_tcp_sock
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more