#[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
Source§impl Default for bpf_tcp_sock
impl Default for bpf_tcp_sock
Source§fn default() -> bpf_tcp_sock
fn default() -> bpf_tcp_sock
Returns the “default value” for a type. Read more
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)