Skip to main content

OdinConnectionStats

Connection statistics for an ODIN network connection.

Declaration
typedef struct OdinConnectionStats {
uint64_t udp_tx_datagrams;
uint64_t udp_tx_acks;
uint64_t udp_tx_bytes;
uint64_t udp_rx_datagrams;
uint64_t udp_rx_acks;
uint64_t udp_rx_bytes;
uint64_t cwnd;
uint64_t congestion_events;
float rtt;
} OdinConnectionStats;

Fields

udp_tx_datagrams

The amount of outgoing UDP datagrams observed

Declaration
uint64_t udp_tx_datagrams;

udp_tx_acks

The amount of outgoing acknowledgement frames observed

Declaration
uint64_t udp_tx_acks;

udp_tx_bytes

The total amount of bytes which have been transferred inside outgoing UDP datagrams

Declaration
uint64_t udp_tx_bytes;

udp_rx_datagrams

The amount of incoming UDP datagrams observed

Declaration
uint64_t udp_rx_datagrams;

udp_rx_acks

The amount of incoming acknowledgement frames observed

Declaration
uint64_t udp_rx_acks;

udp_rx_bytes

The total amount of bytes which have been transferred inside incoming UDP datagrams

Declaration
uint64_t udp_rx_bytes;

cwnd

Current congestion window of the connection

Declaration
uint64_t cwnd;

congestion_events

Congestion events on the connection

Declaration
uint64_t congestion_events;

rtt

Current best estimate of the connection latency (round-trip-time) in milliseconds

Declaration
float rtt;