OpenVPN 3 Core Library
|
#include <packet_id_control.hpp>
Public Member Functions | |
OPENVPN_SIMPLE_EXCEPTION (packet_id_not_initialized) | |
PacketIDControlReceiveType () | |
void | init (const char *name_arg, const int unit_arg, const SessionStats::Ptr &stats_arg) |
bool | initialized () const |
bool | test_add (const PacketIDControl &pin, const PacketIDControl::time_t now, const bool mod) |
Error::Type | do_test_add (const PacketIDControl &pin, const PacketIDControl::time_t now, const bool mod) |
PacketIDControl | read_next (Buffer &buf) const |
std::string | str () const |
Static Public Attributes | |
static constexpr unsigned int | REPLAY_WINDOW_BYTES = 1 << REPLAY_WINDOW_ORDER |
static constexpr unsigned int | REPLAY_WINDOW_SIZE = REPLAY_WINDOW_BYTES * 8 |
Private Member Functions | |
unsigned int | REPLAY_INDEX (const int i) const |
Private Attributes | |
bool | initialized_ = false |
unsigned int | base = 0 |
unsigned int | extent = 0 |
PacketIDControl::time_t | expire = 0 |
PacketIDControl::id_t | id_high = 0 |
PacketIDControl::time_t | time_high = 0 |
PacketIDControl::id_t | id_floor = 0 |
unsigned int | max_backtrack = 0 |
int | unit = -1 |
std::string | name |
SessionStats::Ptr | stats |
std::uint8_t | history [REPLAY_WINDOW_BYTES] |
Definition at line 178 of file packet_id_control.hpp.
|
inline |
Definition at line 187 of file packet_id_control.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 209 of file packet_id_control.hpp.
openvpn::PacketIDControlReceiveType< REPLAY_WINDOW_ORDER, PKTID_RECV_EXPIRE >::OPENVPN_SIMPLE_EXCEPTION | ( | packet_id_not_initialized | ) |
|
inline |
|
inlineprivate |
|
inline |
Definition at line 343 of file packet_id_control.hpp.
|
inline |
|
private |
Definition at line 358 of file packet_id_control.hpp.
|
private |
Definition at line 360 of file packet_id_control.hpp.
|
private |
Definition at line 359 of file packet_id_control.hpp.
|
private |
Definition at line 371 of file packet_id_control.hpp.
|
private |
Definition at line 363 of file packet_id_control.hpp.
|
private |
Definition at line 361 of file packet_id_control.hpp.
|
private |
Definition at line 356 of file packet_id_control.hpp.
|
private |
Definition at line 364 of file packet_id_control.hpp.
|
private |
Definition at line 367 of file packet_id_control.hpp.
|
staticconstexpr |
Definition at line 181 of file packet_id_control.hpp.
|
staticconstexpr |
Definition at line 182 of file packet_id_control.hpp.
|
private |
Definition at line 369 of file packet_id_control.hpp.
|
private |
Definition at line 362 of file packet_id_control.hpp.
|
private |
Definition at line 366 of file packet_id_control.hpp.