|
OpenVPN
|
#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"#include "dns.h"#include "siphash.h"

Go to the source code of this file.
Data Structures | |
| struct | key_schedule |
| struct | packet_id_persist |
| struct | context_buffers |
| struct | context_persist |
| struct | context_0 |
| Level 0 context containing information related to the OpenVPN process. More... | |
| struct | context_1 |
Level 1 context containing state that persists across SIGUSR1 restarts. More... | |
| struct | context_2 |
Level 2 context containing state that is reset on both SIGHUP and SIGUSR1 restarts. More... | |
| struct | context |
| Contains all state information for one tunnel. More... | |
Macros | |
| #define | CM_P2P 0 /* standalone point-to-point session or client */ |
| #define | CM_TOP 1 /* top level of a multi-client or point-to-multipoint server */ |
| #define | CM_TOP_CLONE 2 /* clone of a CM_TOP context for one thread */ |
| #define | CM_CHILD_UDP 3 /* child context of a CM_TOP or CM_THREAD */ |
| #define | CM_CHILD_TCP 4 /* child context of a CM_TOP or CM_THREAD */ |
| #define | EVENT_LOOP_CHECK_SIGNAL(c, func, arg) |
| #define | TLS_MODE(c) |
| #define | PROTO_DUMP_FLAGS (check_debug_level(D_LINK_RW_VERBOSE) ? (PD_SHOW_DATA | PD_VERBOSE) : 0) |
| #define | PROTO_DUMP(buf, gc) |
| #define | MAX_PEER_ID 0xFFFFFF |
Functions | |
| static void | packet_id_persist_init (struct packet_id_persist *p) |
| static bool | is_cas_pending (enum multi_status cas) |
Definition at line 483 of file openvpn.h.
Referenced by close_instance(), do_init_crypto_tls(), do_init_socket_phase1(), inherit_context_child(), init_instance(), link_socket_init_phase1(), and socket_restart_pause().
Definition at line 482 of file openvpn.h.
Referenced by close_instance(), inherit_context_child(), init_instance(), link_socket_init_phase1(), and socket_restart_pause().
| #define CM_P2P 0 /* standalone point-to-point session or client */ |
Definition at line 479 of file openvpn.h.
Referenced by close_instance(), do_init_crypto_tls(), init_instance(), and tunnel_point_to_point().
| #define CM_TOP 1 /* top level of a multi-client or point-to-multipoint server */ |
Definition at line 480 of file openvpn.h.
Referenced by close_instance(), dco_read_and_process(), do_init_socket_phase1(), init_instance(), socket_restart_pause(), and tunnel_server().
Definition at line 481 of file openvpn.h.
Referenced by inherit_context_top().
| #define EVENT_LOOP_CHECK_SIGNAL | ( | c, | |
| func, | |||
| arg ) |
| #define MAX_PEER_ID 0xFFFFFF |
Definition at line 552 of file openvpn.h.
Referenced by add_option(), do_deferred_options(), extract_asymmetric_peer_id(), key_method_2_read(), multi_assign_peer_id(), multi_close_instance(), multi_get_instance_udp_data(), multi_print_status(), p2p_ncp_set_options(), push_peer_info_peerid(), ssl_test_extract_peer_info(), tls_multi_init(), and tls_multi_init_finalize().
| #define PROTO_DUMP | ( | buf, | |
| gc ) |
Definition at line 543 of file openvpn.h.
Referenced by process_incoming_link_part1(), and process_outgoing_link().
| #define PROTO_DUMP_FLAGS (check_debug_level(D_LINK_RW_VERBOSE) ? (PD_SHOW_DATA | PD_VERBOSE) : 0) |
| #define TLS_MODE | ( | c | ) |
Definition at line 541 of file openvpn.h.
Referenced by do_init_timers(), process_incoming_link_part2(), and process_received_occ_msg().
|
inlinestatic |
Definition at line 210 of file openvpn.h.
References CAS_PENDING, CAS_PENDING_DEFERRED, and CAS_PENDING_DEFERRED_PARTIAL.
Referenced by multi_process_post().
|
inlinestatic |
Definition at line 87 of file openvpn.h.
Referenced by context_init_1(), and inherit_context_child().