#include <proto.hpp>
Definition at line 3619 of file proto.hpp.
◆ PsidCookieHelper()
| openvpn::ProtoContext::PsidCookieHelper::PsidCookieHelper |
( |
unsigned int |
op_field | ) |
|
|
inline |
◆ get_server_hard_reset_opfield()
| static unsigned char openvpn::ProtoContext::PsidCookieHelper::get_server_hard_reset_opfield |
( |
| ) |
|
|
inlinestatic |
◆ is_clients_initial_reset()
| bool openvpn::ProtoContext::PsidCookieHelper::is_clients_initial_reset |
( |
| ) |
const |
|
inline |
◆ is_clients_server_reset_ack()
| bool openvpn::ProtoContext::PsidCookieHelper::is_clients_server_reset_ack |
( |
| ) |
const |
|
inline |
◆ is_tls_crypt_v2()
| bool openvpn::ProtoContext::PsidCookieHelper::is_tls_crypt_v2 |
( |
| ) |
const |
|
inlinenoexcept |
Returns true if this is a TLS crypt V2 protocol packet.
Definition at line 3633 of file proto.hpp.
◆ prepend_TLV()
| static void openvpn::ProtoContext::PsidCookieHelper::prepend_TLV |
( |
Buffer & |
payload | ) |
|
|
inlinestatic |
Adds an {EARLY_NEG_FLAGS, 2, EARLY_NEG_FLAG_RESEND_WKC} TLV to a payload buffer (use with TLS crypt V2).
Definition at line 3650 of file proto.hpp.
◆ supports_early_negotiation()
| bool openvpn::ProtoContext::PsidCookieHelper::supports_early_negotiation |
( |
const PacketIDControl & |
pidc | ) |
const |
|
inlinenoexcept |
Returns true if the peer supports early negotiation (i.e. is able to reply with CONTROL_WKC_V1).
Definition at line 3639 of file proto.hpp.
◆ key_id_
| const unsigned int openvpn::ProtoContext::PsidCookieHelper::key_id_ |
|
private |
◆ op_code_
| const unsigned int openvpn::ProtoContext::PsidCookieHelper::op_code_ |
|
private |
The documentation for this class was generated from the following file: