A number of datagrams and the bytes they hold.
More...
#include <aegis2d/net/traffic.hpp>
|
| std::uint64_t | datagrams = 0 |
| | Datagrams.
|
| |
| std::uint64_t | bytes = 0 |
| | Bytes of the datagrams, the 18-byte header included; the IP and UDP headers (28 bytes in IPv4, 48 in IPv6) are not counted.
|
| |
A number of datagrams and the bytes they hold.
◆ operator+=()
Adds another count.
- Parameters
-
- Returns
- This count.
◆ operator==()
| bool aegis2d::net::TrafficCount::operator== |
( |
const TrafficCount & |
| ) |
const |
|
default |
Field-by-field equality.
- Returns
true if both fields are equal.
◆ bytes
| std::uint64_t aegis2d::net::TrafficCount::bytes = 0 |
Bytes of the datagrams, the 18-byte header included; the IP and UDP headers (28 bytes in IPv4, 48 in IPv6) are not counted.
◆ datagrams
| std::uint64_t aegis2d::net::TrafficCount::datagrams = 0 |
The documentation for this struct was generated from the following file: