UDP Redirect
Loading...
Searching...
No Matches
statistics Struct Reference

Public Attributes

time_t time_display_last
 Wall-clock time of the last statistics_display() call; used to compute the window duration.
time_t time_display_first
 Wall-clock time of the first statistics_display() call; used to compute the cumulative duration.
unsigned long count_listen_packet_receive
 Packets received on the listen socket this window.
unsigned long count_listen_byte_receive
 Bytes received on the listen socket this window.
unsigned long count_listen_packet_send
 Packets sent back on the listen socket (connect→client) this window.
unsigned long count_listen_byte_send
 Bytes sent back on the listen socket this window.
unsigned long count_connect_packet_receive
 Packets received on the send socket (from remote endpoint) this window.
unsigned long count_connect_byte_receive
 Bytes received on the send socket this window.
unsigned long count_connect_packet_send
 Packets forwarded to the remote endpoint this window.
unsigned long count_connect_byte_send
 Bytes forwarded to the remote endpoint this window.
unsigned long count_listen_packet_receive_total
 Cumulative packets received on the listen socket.
unsigned long count_listen_byte_receive_total
 Cumulative bytes received on the listen socket.
unsigned long count_listen_packet_send_total
 Cumulative packets sent back on the listen socket.
unsigned long count_listen_byte_send_total
 Cumulative bytes sent back on the listen socket.
unsigned long count_connect_packet_receive_total
 Cumulative packets received on the send socket.
unsigned long count_connect_byte_receive_total
 Cumulative bytes received on the send socket.
unsigned long count_connect_packet_send_total
 Cumulative packets forwarded to the remote endpoint.
unsigned long count_connect_byte_send_total
 Cumulative bytes forwarded to the remote endpoint.

Detailed Description

Per-window and cumulative traffic counters.

Window fields (no _total suffix) are reset to zero after each call to statistics_display(). Total fields accumulate for the lifetime of the process. Both sets are updated inside statistics_display() before printing.

Member Data Documentation

◆ count_connect_byte_receive

unsigned long statistics::count_connect_byte_receive

Bytes received on the send socket this window.

◆ count_connect_byte_receive_total

unsigned long statistics::count_connect_byte_receive_total

Cumulative bytes received on the send socket.

◆ count_connect_byte_send

unsigned long statistics::count_connect_byte_send

Bytes forwarded to the remote endpoint this window.

◆ count_connect_byte_send_total

unsigned long statistics::count_connect_byte_send_total

Cumulative bytes forwarded to the remote endpoint.

◆ count_connect_packet_receive

unsigned long statistics::count_connect_packet_receive

Packets received on the send socket (from remote endpoint) this window.

◆ count_connect_packet_receive_total

unsigned long statistics::count_connect_packet_receive_total

Cumulative packets received on the send socket.

◆ count_connect_packet_send

unsigned long statistics::count_connect_packet_send

Packets forwarded to the remote endpoint this window.

◆ count_connect_packet_send_total

unsigned long statistics::count_connect_packet_send_total

Cumulative packets forwarded to the remote endpoint.

◆ count_listen_byte_receive

unsigned long statistics::count_listen_byte_receive

Bytes received on the listen socket this window.

◆ count_listen_byte_receive_total

unsigned long statistics::count_listen_byte_receive_total

Cumulative bytes received on the listen socket.

◆ count_listen_byte_send

unsigned long statistics::count_listen_byte_send

Bytes sent back on the listen socket this window.

◆ count_listen_byte_send_total

unsigned long statistics::count_listen_byte_send_total

Cumulative bytes sent back on the listen socket.

◆ count_listen_packet_receive

unsigned long statistics::count_listen_packet_receive

Packets received on the listen socket this window.

◆ count_listen_packet_receive_total

unsigned long statistics::count_listen_packet_receive_total

Cumulative packets received on the listen socket.

◆ count_listen_packet_send

unsigned long statistics::count_listen_packet_send

Packets sent back on the listen socket (connect→client) this window.

◆ count_listen_packet_send_total

unsigned long statistics::count_listen_packet_send_total

Cumulative packets sent back on the listen socket.

◆ time_display_first

time_t statistics::time_display_first

Wall-clock time of the first statistics_display() call; used to compute the cumulative duration.

◆ time_display_last

time_t statistics::time_display_last

Wall-clock time of the last statistics_display() call; used to compute the window duration.


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