ascii-chat
Binary v0.16.50-198-g78f51665f
Library lib/v0.3.2-2240-g78f51665f
Video chat in your terminal
Loading...
Searching...
No Matches
acds_stats_t Struct Reference

For acds client data, this is the live record that ties joined_session, negotiation, create_transport_length, create_keys together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record. More...

#include <src/discovery-service/server.h>

Data Fields

atomic_t bytes_sent
 Total bytes sent (TCP + WebSocket).
atomic_t bytes_received
 Total bytes received (TCP + WebSocket).
atomic_t packets_sent
 Total packets sent (TCP + WebSocket).
atomic_t packets_received
 Total packets received (TCP + WebSocket).
time_t start_time
 Server start time.

Detailed Description

For acds client data, this is the live record that ties joined_session, negotiation, create_transport_length, create_keys together. The owning code creates it, updates it while work is active, and releases its handles and pointed-to storage before freeing the record.

Network statistics for both TCP and WebSocket connections

Definition at line 84 of file src/discovery-service/server.h.

Field Documentation

◆ bytes_received

atomic_t acds_stats_t::bytes_received

Total bytes received (TCP + WebSocket).

Definition at line 86 of file src/discovery-service/server.h.

Referenced by acds_server_init().

◆ bytes_sent

atomic_t acds_stats_t::bytes_sent

Total bytes sent (TCP + WebSocket).

Definition at line 85 of file src/discovery-service/server.h.

Referenced by acds_server_init().

◆ packets_received

atomic_t acds_stats_t::packets_received

Total packets received (TCP + WebSocket).

Definition at line 88 of file src/discovery-service/server.h.

Referenced by acds_server_init().

◆ packets_sent

atomic_t acds_stats_t::packets_sent

Total packets sent (TCP + WebSocket).

Definition at line 87 of file src/discovery-service/server.h.

Referenced by acds_server_init().

◆ start_time

time_t acds_stats_t::start_time

Server start time.

Definition at line 89 of file src/discovery-service/server.h.

Referenced by acds_server_init().


The documentation for this struct was generated from the following file: