|
OpenVPN 3 Core Library
|
Public Member Functions | |
| OPENVPN_EXCEPTION (session_invalidated) | |
| TestProto (const ProtoContext::ProtoConfig::Ptr &config, const SessionStats::Ptr &stats) | |
| void | reset () |
| void | initial_app_send (const char *msg) |
| void | app_send_templ_init (const char *msg) |
| void | app_send_templ () |
| bool | do_housekeeping () |
| void | control_send (BufferPtr &&app_bp) |
| void | control_send (BufferAllocated &&app_buf) |
| BufferPtr | data_encrypt_string (const char *str) |
| void | data_encrypt (BufferAllocated &in_out) |
| void | data_decrypt (const ProtoContext::PacketType &type, BufferAllocated &in_out) |
| size_t | net_bytes () const |
| size_t | app_bytes () const |
| size_t | data_bytes () const |
| size_t | n_control_recv () const |
| size_t | n_control_send () const |
| const char * | progress () const |
| void | finalize () |
| void | check_invalidated () |
| void | disable_xmit () |
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) |
Public Attributes | |
| ProtoContext | proto_context |
| std::deque< BufferPtr > | net_out |
| DroughtMeasure | control_drought |
| DroughtMeasure | data_drought |
Private Member Functions | |
| void | active (bool primary) override |
| Called when KeyContext transitions to ACTIVE state. | |
| bool | supports_epoch_data () override |
| void | control_net_send (const Buffer &net_buf) override |
| void | control_recv (BufferPtr &&app_bp) override |
| void | copy_progress (Buffer &buf) |
| void | modmsg (BufferPtr &buf) |
Private Attributes | |
| Frame::Ptr | frame |
| size_t | app_bytes_ = 0 |
| size_t | net_bytes_ = 0 |
| size_t | data_bytes_ = 0 |
| size_t | n_control_send_ = 0 |
| size_t | n_control_recv_ = 0 |
| BufferPtr | templ |
| char | progress_ [11] |
| bool | disable_xmit_ = false |
Additional Inherited Members | |
Static Public Member Functions inherited from openvpn::ProtoContextCallbackInterface | |
| static void | write_empty_string (Buffer &buf) |
Definition at line 337 of file test_proto.cpp.
|
inline |
Definition at line 352 of file test_proto.cpp.
|
inlineoverrideprivatevirtual |
Called when KeyContext transitions to ACTIVE state.
Implements openvpn::ProtoContextCallbackInterface.
Definition at line 340 of file test_proto.cpp.
|
inline |
|
inline |
Definition at line 388 of file test_proto.cpp.
|
inline |
|
inline |
Definition at line 480 of file test_proto.cpp.
|
inlineoverrideprivatevirtual |
Sends out bytes to the network.
Implements openvpn::ProtoContextCallbackInterface.
Definition at line 499 of file test_proto.cpp.
|
inlineoverrideprivatevirtual |
Implements openvpn::ProtoContextCallbackInterface.
Definition at line 507 of file test_proto.cpp.
|
inline |
Definition at line 418 of file test_proto.cpp.
|
inline |
|
inlineprivate |
|
inline |
|
inline |
Definition at line 438 of file test_proto.cpp.
|
inline |
|
inline |
Definition at line 424 of file test_proto.cpp.
|
inline |
Definition at line 486 of file test_proto.cpp.
|
inline |
Definition at line 402 of file test_proto.cpp.
|
inline |
|
inline |
|
inlineprivate |
|
inline |
|
inline |
|
inline |
| TestProto::OPENVPN_EXCEPTION | ( | session_invalidated | ) |
|
inline |
|
inline |
|
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 344 of file test_proto.cpp.
|
private |
Definition at line 562 of file test_proto.cpp.
| DroughtMeasure TestProto::control_drought |
Definition at line 495 of file test_proto.cpp.
|
private |
Definition at line 564 of file test_proto.cpp.
| DroughtMeasure TestProto::data_drought |
Definition at line 496 of file test_proto.cpp.
|
private |
Definition at line 572 of file test_proto.cpp.
|
private |
Definition at line 561 of file test_proto.cpp.
|
private |
Definition at line 566 of file test_proto.cpp.
|
private |
Definition at line 565 of file test_proto.cpp.
|
private |
Definition at line 563 of file test_proto.cpp.
| std::deque<BufferPtr> TestProto::net_out |
Definition at line 493 of file test_proto.cpp.
|
private |
Definition at line 571 of file test_proto.cpp.
| ProtoContext TestProto::proto_context |
Definition at line 491 of file test_proto.cpp.
|
private |
Definition at line 567 of file test_proto.cpp.