Struct linux_uapi::x86_64::bpf_tcp_sock
source · #[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
source§impl FromBytes for bpf_tcp_sock
impl FromBytes for bpf_tcp_sock
§fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
fn slice_from_prefix(bytes: &[u8], count: usize) -> Option<(&[Self], &[u8])>where
Self: Sized + NoCell,
Interprets the prefix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
fn slice_from_suffix(bytes: &[u8], count: usize) -> Option<(&[u8], &[Self])>where
Self: Sized + NoCell,
Interprets the suffix of the given
bytes
as a &[Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_prefix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [Self], &mut [u8])>where
Self: Sized + IntoBytes + NoCell,
Interprets the prefix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
fn mut_slice_from_suffix(
bytes: &mut [u8],
count: usize
) -> Option<(&mut [u8], &mut [Self])>where
Self: Sized + IntoBytes + NoCell,
Interprets the suffix of the given
bytes
as a &mut [Self]
with length
equal to count
without copying. Read more§fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
fn read_from_prefix(bytes: &[u8]) -> Option<Self>where
Self: Sized,
source§impl FromZeros for bpf_tcp_sock
impl FromZeros for bpf_tcp_sock
source§impl IntoBytes for bpf_tcp_sock
impl IntoBytes 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