Struct netstack3_tcp::TcpCountersInner

source ·
pub struct TcpCountersInner {
Show 29 fields pub invalid_ip_addrs_received: Counter, pub invalid_segments_received: Counter, pub valid_segments_received: Counter, pub received_segments_dispatched: Counter, pub received_segments_no_dispatch: Counter, pub listener_queue_overflow: Counter, pub segment_send_errors: Counter, pub segments_sent: Counter, pub passive_open_no_route_errors: Counter, pub passive_connection_openings: Counter, pub active_open_no_route_errors: Counter, pub active_connection_openings: Counter, pub failed_connection_attempts: Counter, pub failed_port_reservations: Counter, pub checksum_errors: Counter, pub resets_received: Counter, pub resets_sent: Counter, pub syns_received: Counter, pub syns_sent: Counter, pub fins_received: Counter, pub fins_sent: Counter, pub timeouts: Counter, pub retransmits: Counter, pub slow_start_retransmits: Counter, pub fast_retransmits: Counter, pub fast_recovery: Counter, pub established_closed: Counter, pub established_resets: Counter, pub established_timedout: Counter,
}
Expand description

The IP agnostic version of TcpCounters.

Fields§

§invalid_ip_addrs_received: Counter

Count of received IP packets that were dropped because they had unexpected IP addresses (either src or dst).

§invalid_segments_received: Counter

Count of received TCP segments that were dropped because they could not be parsed.

§valid_segments_received: Counter

Count of received TCP segments that were valid.

§received_segments_dispatched: Counter

Count of received TCP segments that were successfully dispatched to a socket.

§received_segments_no_dispatch: Counter

Count of received TCP segments that were not associated with any existing sockets.

§listener_queue_overflow: Counter

Count of received TCP segments that were dropped because the listener queue was full.

§segment_send_errors: Counter

Count of TCP segments that failed to send.

§segments_sent: Counter

Count of TCP segments that were sent.

§passive_open_no_route_errors: Counter

Count of passive open attempts that failed because the stack doesn’t have route to the peer.

§passive_connection_openings: Counter

Count of passive connections that have been opened.

§active_open_no_route_errors: Counter

Count of active open attempts that have failed because the stack doesn’t have a route to the peer.

§active_connection_openings: Counter

Count of active connections that have been opened.

§failed_connection_attempts: Counter

Count of all failed connection attempts, including both passive and active opens.

§failed_port_reservations: Counter

Count of port reservation attempts that failed.

§checksum_errors: Counter

Count of received segments whose checksums were invalid.

§resets_received: Counter

Count of received segments with the RST flag set.

§resets_sent: Counter

Count of sent segments with the RST flag set.

§syns_received: Counter

Count of received segments with the SYN flag set.

§syns_sent: Counter

Count of sent segments with the SYN flag set.

§fins_received: Counter

Count of received segments with the FIN flag set.

§fins_sent: Counter

Count of sent segments with the FIN flag set.

§timeouts: Counter

Count of retransmission timeouts.

§retransmits: Counter

Count of retransmissions of segments.

§slow_start_retransmits: Counter

Count of retransmissions of segments while in slow start.

§fast_retransmits: Counter

Count of retransmissions of segments while in fast recovery.

§fast_recovery: Counter

Count of times fast recovery was initiated to recover from packet loss.

§established_closed: Counter

Count of times an established TCP connection transitioned to CLOSED.

§established_resets: Counter

Count of times an established TCP connection transitioned to CLOSED due to a RST segment.

§established_timedout: Counter

Count of times an established TCP connection transitioned to CLOSED due to a timeout (e.g. a keep-alive or retransmit timeout).

Trait Implementations§

source§

impl Default for TcpCountersInner

source§

fn default() -> TcpCountersInner

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<O, BC> BuildableCoreContext<BC> for O
where O: Default,

§

type Builder = ()

The builder type that can build this core context.
source§

fn build(_bindings_ctx: &mut BC, _: ()) -> O

Consumes this builder and returns the context.
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<CC, BC, Meta> RecvFrameContext<Meta, BC> for CC
where Meta: ReceivableFrameMeta<CC, BC>,

source§

fn receive_frame<B>(&mut self, bindings_ctx: &mut BC, metadata: Meta, frame: B)
where B: BufferMut + Debug,

Receive a frame. Read more
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<CC, BC, Meta> SendFrameContext<BC, Meta> for CC
where Meta: SendableFrameMeta<CC, BC>,

source§

fn send_frame<S>( &mut self, bindings_ctx: &mut BC, metadata: Meta, frame: S, ) -> Result<(), ErrorAndSerializer<SendFrameErrorReason, S>>
where S: Serializer, <S as Serializer>::Buffer: BufferMut,

Send a frame. Read more
source§

impl<Id, CC, BC> TimerHandler<BC, Id> for CC
where BC: TimerBindingsTypes, Id: HandleableTimer<CC, BC>,

source§

fn handle_timer( &mut self, bindings_ctx: &mut BC, dispatch: Id, timer: <BC as TimerBindingsTypes>::UniqueTimerId, )

Handle a timer firing. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<L, T> UnlockedAccess<L> for T

§

type Data = <L as UnlockedAccessMarkerFor<T>>::Data

The type of state being accessed.
§

type Guard<'l> = &'l <L as UnlockedAccessMarkerFor<T>>::Data where T: 'l

A guard providing read access to the data.
source§

fn access(&self) -> <T as UnlockedAccess<L>>::Guard<'_>

How to access the state.
§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

fn vzip(self) -> V

source§

impl<B, A> LockBefore<B> for A
where B: LockAfter<A>,