|
OpenVPN 3 Core Library
|
A ProtoContext needs one of these; it counts what the session puts on the wire. More...
Public Attributes | |
| size_t | n_sent = 0 |
Private Member Functions | |
| void | control_net_send (const Buffer &net_buf) override |
| void | control_recv (BufferPtr &&app_bp) override |
| bool | supports_epoch_data () override |
| void | active (bool primary) override |
| Called when KeyContext transitions to ACTIVE state. | |
Additional Inherited Members | |
Public Member Functions inherited from openvpn::ProtoContextCallbackInterface | |
| virtual | ~ProtoContextCallbackInterface ()=default |
| virtual void | client_auth (Buffer &buf) |
| virtual void | server_auth (const std::string &username, const SafeString &password, const std::string &peer_info, const AuthCert::Ptr &auth_cert) |
Static Public Member Functions inherited from openvpn::ProtoContextCallbackInterface | |
| static void | write_empty_string (Buffer &buf) |
A ProtoContext needs one of these; it counts what the session puts on the wire.
Definition at line 769 of file test_psid_cookie.cpp.
|
inlineoverrideprivatevirtual |
Called when KeyContext transitions to ACTIVE state.
Implements openvpn::ProtoContextCallbackInterface.
Definition at line 786 of file test_psid_cookie.cpp.
|
inlineoverrideprivatevirtual |
Sends out bytes to the network.
Implements openvpn::ProtoContextCallbackInterface.
Definition at line 775 of file test_psid_cookie.cpp.
|
inlineoverrideprivatevirtual |
Implements openvpn::ProtoContextCallbackInterface.
Definition at line 779 of file test_psid_cookie.cpp.
|
inlineoverrideprivatevirtual |
the protocol context needs to know if the parent and its tun/transport layer are able to support epoch key data format to properly handshake this protocol feature
Implements openvpn::ProtoContextCallbackInterface.
Definition at line 782 of file test_psid_cookie.cpp.
| size_t NullProtoCallback::n_sent = 0 |
Definition at line 772 of file test_psid_cookie.cpp.