|
OpenVPN 3 Core Library
|
#include <packet_id_control.hpp>
Public Member Functions | |
| OPENVPN_SIMPLE_EXCEPTION (packet_id_not_initialized) | |
| 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 175 of file packet_id_control.hpp.
|
inline |
|
inline |
|
inline |
Definition at line 201 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 335 of file packet_id_control.hpp.
|
inline |
|
private |
Definition at line 350 of file packet_id_control.hpp.
|
private |
Definition at line 352 of file packet_id_control.hpp.
|
private |
Definition at line 351 of file packet_id_control.hpp.
|
private |
Definition at line 363 of file packet_id_control.hpp.
|
private |
Definition at line 355 of file packet_id_control.hpp.
|
private |
Definition at line 353 of file packet_id_control.hpp.
|
private |
Definition at line 348 of file packet_id_control.hpp.
|
private |
Definition at line 356 of file packet_id_control.hpp.
|
private |
Definition at line 359 of file packet_id_control.hpp.
|
staticconstexpr |
Definition at line 178 of file packet_id_control.hpp.
|
staticconstexpr |
Definition at line 179 of file packet_id_control.hpp.
|
private |
Definition at line 361 of file packet_id_control.hpp.
|
private |
Definition at line 354 of file packet_id_control.hpp.
|
private |
Definition at line 358 of file packet_id_control.hpp.