#include <frame.hpp>
|
enum | {
ENCRYPT_WORK = 0
, DECRYPT_WORK
, COMPRESS_WORK
, DECOMPRESS_WORK
,
READ_LINK_UDP
, READ_LINK_TCP
, READ_TUN
, READ_BIO_MEMQ_DGRAM
,
READ_BIO_MEMQ_STREAM
, READ_SSL_CLEARTEXT
, WRITE_SSL_INIT
, WRITE_SSL_CLEARTEXT
,
WRITE_ACK_STANDALONE
, WRITE_DC_MSG
, WRITE_HTTP
, READ_HTTP
,
N_ALIGN_CONTEXTS
} |
|
typedef RCPtr< Frame > | Ptr |
|
typedef RCPtr< RC > | Ptr |
|
|
static constexpr bool | is_thread_safe () |
| Delegates call to RCImpl and returns the result.
|
|
Definition at line 25 of file frame.hpp.
◆ Ptr
◆ anonymous enum
Enumerator |
---|
ENCRYPT_WORK | |
DECRYPT_WORK | |
COMPRESS_WORK | |
DECOMPRESS_WORK | |
READ_LINK_UDP | |
READ_LINK_TCP | |
READ_TUN | |
READ_BIO_MEMQ_DGRAM | |
READ_BIO_MEMQ_STREAM | |
READ_SSL_CLEARTEXT | |
WRITE_SSL_INIT | |
WRITE_SSL_CLEARTEXT | |
WRITE_ACK_STANDALONE | |
WRITE_DC_MSG | |
WRITE_HTTP | |
READ_HTTP | |
N_ALIGN_CONTEXTS | |
Definition at line 31 of file frame.hpp.
◆ Frame() [1/2]
openvpn::Frame::Frame |
( |
| ) |
|
|
inline |
◆ Frame() [2/2]
openvpn::Frame::Frame |
( |
const Context & |
c | ) |
|
|
inlineexplicit |
◆ n_contexts()
size_t openvpn::Frame::n_contexts |
( |
| ) |
const |
|
inline |
◆ OPENVPN_SIMPLE_EXCEPTION()
openvpn::Frame::OPENVPN_SIMPLE_EXCEPTION |
( |
frame_context_index |
| ) |
|
◆ operator[]() [1/2]
Context & openvpn::Frame::operator[] |
( |
const size_t |
i | ) |
|
|
inline |
◆ operator[]() [2/2]
const Context & openvpn::Frame::operator[] |
( |
const size_t |
i | ) |
const |
|
inline |
◆ prepare() [1/2]
BufferPtr openvpn::Frame::prepare |
( |
const unsigned int |
context | ) |
const |
|
inline |
◆ prepare() [2/2]
size_t openvpn::Frame::prepare |
( |
const unsigned int |
context, |
|
|
Buffer & |
buf |
|
) |
| const |
|
inline |
◆ set_default_context()
void openvpn::Frame::set_default_context |
( |
const Context & |
c | ) |
|
|
inline |
◆ standardize_capacity()
void openvpn::Frame::standardize_capacity |
( |
const unsigned int |
context_mask | ) |
|
|
inline |
◆ contexts
The documentation for this class was generated from the following file: