#include "buffer.h"
#include "error.h"
#include "dco_internal.h"
#include "networking.h"
Go to the source code of this file.
|
static bool | dco_available (int msglevel) |
|
static const char * | dco_version_string (struct gc_arena *gc) |
|
static bool | dco_check_option (int msglevel, const struct options *o) |
|
static bool | dco_check_startup_option (int msglevel, const struct options *o) |
|
static bool | dco_check_pull_options (int msglevel, const struct options *o) |
|
static bool | ovpn_dco_init (int mode, dco_context_t *dco) |
|
static int | open_tun_dco (struct tuntap *tt, openvpn_net_ctx_t *ctx, const char *dev) |
|
static void | close_tun_dco (struct tuntap *tt, openvpn_net_ctx_t *ctx) |
|
static int | dco_do_read (dco_context_t *dco) |
|
static void | dco_event_set (dco_context_t *dco, struct event_set *es, void *arg) |
|
static int | init_key_dco_bi (struct tls_multi *multi, struct key_state *ks, const struct key2 *key2, int key_direction, const char *ciphername, bool server) |
|
static bool | dco_update_keys (dco_context_t *dco, struct tls_multi *multi) |
|
static int | dco_p2p_add_new_peer (struct context *c) |
|
static int | dco_set_peer (dco_context_t *dco, unsigned int peerid, int keepalive_interval, int keepalive_timeout, int mss) |
|
static void | dco_remove_peer (struct context *c) |
|
static int | dco_multi_add_new_peer (struct multi_context *m, struct multi_instance *mi) |
|
static void | dco_install_iroute (struct multi_context *m, struct multi_instance *mi, struct mroute_addr *addr) |
|
static void | dco_delete_iroutes (struct multi_context *m, struct multi_instance *mi) |
|
static int | dco_get_peer_stats_multi (dco_context_t *dco, struct multi_context *m) |
|
static int | dco_get_peer_stats (struct context *c) |
|
static const char * | dco_get_supported_ciphers (void) |
|
◆ DCO_DEFAULT_METRIC
#define DCO_DEFAULT_METRIC 200 |
Definition at line 48 of file dco.h.
◆ DCO_IROUTE_METRIC
#define DCO_IROUTE_METRIC 100 |
Definition at line 47 of file dco.h.
◆ dco_context_t
◆ close_tun_dco()
◆ dco_available()
static bool dco_available |
( |
int |
msglevel | ) |
|
|
inlinestatic |
◆ dco_check_option()
static bool dco_check_option |
( |
int |
msglevel, |
|
|
const struct options * |
o |
|
) |
| |
|
inlinestatic |
◆ dco_check_pull_options()
static bool dco_check_pull_options |
( |
int |
msglevel, |
|
|
const struct options * |
o |
|
) |
| |
|
inlinestatic |
◆ dco_check_startup_option()
static bool dco_check_startup_option |
( |
int |
msglevel, |
|
|
const struct options * |
o |
|
) |
| |
|
inlinestatic |
◆ dco_delete_iroutes()
◆ dco_do_read()
◆ dco_event_set()
◆ dco_get_peer_stats()
static int dco_get_peer_stats |
( |
struct context * |
c | ) |
|
|
inlinestatic |
◆ dco_get_peer_stats_multi()
◆ dco_get_supported_ciphers()
static const char* dco_get_supported_ciphers |
( |
void |
| ) |
|
|
inlinestatic |
◆ dco_install_iroute()
◆ dco_multi_add_new_peer()
◆ dco_p2p_add_new_peer()
static int dco_p2p_add_new_peer |
( |
struct context * |
c | ) |
|
|
inlinestatic |
◆ dco_remove_peer()
static void dco_remove_peer |
( |
struct context * |
c | ) |
|
|
inlinestatic |
◆ dco_set_peer()
static int dco_set_peer |
( |
dco_context_t * |
dco, |
|
|
unsigned int |
peerid, |
|
|
int |
keepalive_interval, |
|
|
int |
keepalive_timeout, |
|
|
int |
mss |
|
) |
| |
|
inlinestatic |
◆ dco_update_keys()
◆ dco_version_string()
static const char* dco_version_string |
( |
struct gc_arena * |
gc | ) |
|
|
inlinestatic |
◆ init_key_dco_bi()
static int init_key_dco_bi |
( |
struct tls_multi * |
multi, |
|
|
struct key_state * |
ks, |
|
|
const struct key2 * |
key2, |
|
|
int |
key_direction, |
|
|
const char * |
ciphername, |
|
|
bool |
server |
|
) |
| |
|
inlinestatic |
◆ open_tun_dco()
◆ ovpn_dco_init()