|
R-Type
Networked shoot'em up built on Aegis2D
|
Limits on what one address may send, and the summary of what was dropped (RFC 6.6, 6.7). More...
#include <aegis2d/net/endpoint.hpp>#include <chrono>#include <cstdint>#include <map>#include <optional>#include <string>#include <string_view>#include <unordered_map>#include <vector>Go to the source code of this file.
Classes | |
| struct | rtype::RateLimits |
| Limits on the traffic of one IP address. More... | |
| class | rtype::RateLimiter |
| Counts the datagrams of each address in windows of one second. More... | |
| class | rtype::ChatRate |
| The chat rate of one session (RFC section 3.8): a token bucket. More... | |
| class | rtype::DropReport |
| Counts the datagrams dropped from each address, by reason, for a summary in the log at most every report_period per address (RFC section 6.7): a flood never becomes one log line per datagram. More... | |
Namespaces | |
| namespace | rtype |
| R-Type game code, built on the Aegis2D engine. | |
Functions | |
| aegis2d::net::Endpoint | rtype::address_of (const aegis2d::net::Endpoint &endpoint) noexcept |
| The address of an endpoint, its port set to 0: the key of the limits. | |
Limits on what one address may send, and the summary of what was dropped (RFC 6.6, 6.7).