Struct starnix_uapi::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_sockwhere
u32: IntoBytes,
u64: IntoBytes,
HasPadding<bpf_tcp_sock, linux_uapi::::x86_64::{impl#1191}::{constant#0}>: ShouldBe<false>,
impl IntoBytes for bpf_tcp_sockwhere
u32: IntoBytes,
u64: IntoBytes,
HasPadding<bpf_tcp_sock, linux_uapi::::x86_64::{impl#1191}::{constant#0}>: ShouldBe<false>,
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