#include "buffer.h"
#include "options.h"
#include "socket.h"
#include "crypto.h"
#include "ssl.h"
#include "packet_id.h"
#include "comp.h"
#include "tun.h"
#include "interval.h"
#include "status.h"
#include "fragment.h"
#include "shaper.h"
#include "route.h"
#include "proxy.h"
#include "socks.h"
#include "sig.h"
#include "misc.h"
#include "mbuf.h"
#include "pool.h"
#include "plugin.h"
#include "manage.h"
Go to the source code of this file.
◆ CM_CHILD_TCP
#define CM_CHILD_TCP 4 /* child context of a CM_TOP or CM_THREAD */ |
◆ CM_CHILD_UDP
#define CM_CHILD_UDP 3 /* child context of a CM_TOP or CM_THREAD */ |
◆ CM_P2P
#define CM_P2P 0 /* standalone point-to-point session or client */ |
◆ CM_TOP
#define CM_TOP 1 /* top level of a multi-client or point-to-multipoint server */ |
◆ CM_TOP_CLONE
#define CM_TOP_CLONE 2 /* clone of a CM_TOP context for one thread */ |
◆ EVENT_LOOP_CHECK_SIGNAL
#define EVENT_LOOP_CHECK_SIGNAL |
( |
|
c, |
|
|
|
func, |
|
|
|
arg |
|
) |
| |
Value:
{ \
const int brk = func(arg); \
perf_pop(); \
if (brk) { \
break;} \
else { \
continue;} \
}
Definition at line 523 of file openvpn.h.
◆ MAX_PEER_ID
#define MAX_PEER_ID 0xFFFFFF |
◆ PROTO_DUMP
#define PROTO_DUMP |
( |
|
buf, |
|
|
|
gc |
|
) |
| |
Value:
|(c->c2.tls_multi ?
PD_TLS : 0) \
|(c->options.tls_auth_file ?
md_kt_size(c->c1.ks.key_type.digest) : 0) \
|(c->options.tls_crypt_file || c->options.tls_crypt_v2_file ?
PD_TLS_CRYPT : 0), \
gc)
Definition at line 541 of file openvpn.h.
◆ PROTO_DUMP_FLAGS
◆ TLS_MODE
#define TLS_MODE |
( |
|
c | ) |
((c)->c2.tls_multi != NULL) |
◆ is_cas_pending()
◆ packet_id_persist_init()