pub struct ExtendedTcpInfo {
pub dir: PacketDirection,
pub snd_mss: u32,
pub rcv_mss: u32,
pub unacked: u32,
pub lost: u32,
pub retrans: u32,
pub pmtu: u32,
pub rtt: u32,
pub rttvar: u32,
pub snd_cwnd: u32,
pub reordering: u32,
pub min_rtt: u32,
}Expand description
Extended TCP Info - Format (0,2209)
TCP connection state information based on Linux struct tcp_info
§XDR Definition (sFlow Discussion)
/* TCP connection state */
/* Based on Linux struct tcp_info */
/* opaque = flow_data; enterprise=0; format=2209 */
struct extended_tcp_info {
packet_direction dir; /* Sampled packet direction */
unsigned int snd_mss; /* Cached effective mss, not including SACKS */
unsigned int rcv_mss; /* Max. recv. segment size */
unsigned int unacked; /* Packets which are "in flight" */
unsigned int lost; /* Lost packets */
unsigned int retrans; /* Retransmitted packets */
unsigned int pmtu; /* Last pmtu seen by socket */
unsigned int rtt; /* smoothed RTT (microseconds) */
unsigned int rttvar; /* RTT variance (microseconds) */
unsigned int snd_cwnd; /* Sending congestion window */
unsigned int reordering; /* Reordering */
unsigned int min_rtt; /* Minimum RTT (microseconds) */
}Fields§
§dir: PacketDirectionSampled packet direction
snd_mss: u32Cached effective MSS, not including SACKS
rcv_mss: u32Maximum receive segment size
unacked: u32Packets which are “in flight”
lost: u32Lost packets
retrans: u32Retransmitted packets
pmtu: u32Last PMTU seen by socket
rtt: u32Smoothed RTT (microseconds)
rttvar: u32RTT variance (microseconds)
snd_cwnd: u32Sending congestion window
reordering: u32Reordering
min_rtt: u32Minimum RTT (microseconds)
Trait Implementations§
Source§impl Clone for ExtendedTcpInfo
impl Clone for ExtendedTcpInfo
Source§fn clone(&self) -> ExtendedTcpInfo
fn clone(&self) -> ExtendedTcpInfo
Returns a duplicate 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 ExtendedTcpInfo
impl Debug for ExtendedTcpInfo
Source§impl PartialEq for ExtendedTcpInfo
impl PartialEq for ExtendedTcpInfo
impl Eq for ExtendedTcpInfo
impl StructuralPartialEq for ExtendedTcpInfo
Auto Trait Implementations§
impl Freeze for ExtendedTcpInfo
impl RefUnwindSafe for ExtendedTcpInfo
impl Send for ExtendedTcpInfo
impl Sync for ExtendedTcpInfo
impl Unpin for ExtendedTcpInfo
impl UnwindSafe for ExtendedTcpInfo
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