OpenVPN
|
Server-mode state structure for one single VPN tunnel. More...
#include <multi.h>
Data Fields | |
struct schedule_entry | se |
struct gc_arena | gc |
bool | halt |
int | refcount |
int | route_count |
time_t | created |
Time at which a VPN tunnel instance was created. More... | |
struct timeval | wakeup |
struct mroute_addr | real |
External network address of the remote peer. More... | |
ifconfig_pool_handle | vaddr_handle |
char | msg_prefix [MULTI_PREFIX_MAX_LENGTH] |
unsigned int | tcp_rwflags |
struct mbuf_set * | tcp_link_out_deferred |
bool | socket_set_called |
in_addr_t | reporting_addr |
struct in6_addr | reporting_addr_ipv6 |
bool | did_real_hash |
bool | did_iter |
bool | did_cid_hash |
struct buffer_list * | cc_config |
bool | did_iroutes |
int | n_clients_delta |
struct context | context |
The context structure storing state for this VPN tunnel. More... | |
struct client_connect_defer_state | client_connect_defer_state |
Server-mode state structure for one single VPN tunnel.
This structure is used by OpenVPN processes running in server-mode to store state information related to one single VPN tunnel.
The Structure of VPN tunnel state storage related page describes the role the structure plays when OpenVPN is running in server-mode.
struct buffer_list* multi_instance::cc_config |
Definition at line 131 of file multi.h.
Referenced by management_client_auth(), multi_client_connect_mda(), and set_cc_config().
struct client_connect_defer_state multi_instance::client_connect_defer_state |
Definition at line 138 of file multi.h.
Referenced by ccs_delete_config_file(), ccs_delete_deferred_ret_file(), ccs_gen_config_file(), ccs_gen_deferred_ret_file(), ccs_test_deferred_ret_file(), multi_client_connect_call_plugin_v1(), multi_client_connect_call_script(), multi_client_connect_script_deferred(), multi_connection_established(), and multi_process_post().
struct context multi_instance::context |
The context structure storing state for this VPN tunnel.
Definition at line 136 of file multi.h.
Referenced by ccs_delete_config_file(), ccs_delete_deferred_ret_file(), ccs_gen_config_file(), ccs_gen_deferred_ret_file(), learn_address_script(), management_callback_kill_by_cn(), management_client_auth(), management_client_pending_auth(), management_get_peer_info(), management_kill_by_cid(), multi_add_iroutes(), multi_assign_peer_id(), multi_bcast(), multi_client_connect_call_plugin_v1(), multi_client_connect_call_plugin_v2(), multi_client_connect_call_script(), multi_client_connect_compress_migrate(), multi_client_connect_early_setup(), multi_client_connect_late_setup(), multi_client_connect_mda(), multi_client_connect_post(), multi_client_connect_post_plugin(), multi_client_connect_setenv(), multi_client_connect_source_ccd(), multi_client_disconnect_script(), multi_client_disconnect_setenv(), multi_client_setup_dco_initial(), multi_close_instance(), multi_close_instance_on_signal(), multi_connection_established(), multi_create_instance(), multi_del_iroutes(), multi_delete_dup(), multi_get_create_instance_udp(), multi_get_queue(), multi_instance_string(), multi_learn_in6_addr(), multi_learn_in_addr_t(), multi_print_status(), multi_process_drop_outgoing_tun(), multi_process_float(), multi_process_incoming_link(), multi_process_incoming_tun(), multi_process_outgoing_link_dowork(), multi_process_outgoing_tun(), multi_process_post(), multi_push_restart_schedule_exit(), multi_schedule_context_wakeup(), multi_select_virtual_addr(), multi_set_virtual_addr_env(), multi_signal_instance(), multi_tcp_action(), multi_tcp_context(), multi_tcp_dereference_instance(), multi_tcp_instance_specific_init(), multi_tcp_process_outgoing_link(), multi_tcp_process_outgoing_link_ready(), multi_tcp_set_global_rw_flags(), p2mp_iow_flags(), route_quota_exceeded(), route_quota_test(), and vlan_process_outgoing_tun().
time_t multi_instance::created |
Time at which a VPN tunnel instance was created.
This parameter is set by the multi_create_instance()
function.
Definition at line 109 of file multi.h.
Referenced by multi_client_connect_setenv(), multi_client_disconnect_setenv(), multi_create_instance(), and multi_print_status().
bool multi_instance::did_cid_hash |
Definition at line 130 of file multi.h.
Referenced by multi_close_instance(), and multi_create_instance().
bool multi_instance::did_iroutes |
Definition at line 133 of file multi.h.
Referenced by multi_add_iroutes().
bool multi_instance::did_iter |
Definition at line 128 of file multi.h.
Referenced by multi_close_instance(), multi_create_instance(), multi_delete_dup(), and multi_uninit().
bool multi_instance::did_real_hash |
Definition at line 127 of file multi.h.
Referenced by multi_close_instance(), multi_create_instance_tcp(), and multi_get_create_instance_udp().
struct gc_arena multi_instance::gc |
Definition at line 105 of file multi.h.
Referenced by multi_create_instance(), multi_create_instance_tcp(), multi_instance_dec_refcount(), multi_print_status(), multi_process_float(), utf16to8(), and wide_string().
bool multi_instance::halt |
Definition at line 106 of file multi.h.
Referenced by lookup_by_cid(), management_callback_kill_by_addr(), management_callback_kill_by_cn(), multi_bcast(), multi_close_instance(), multi_create_instance_tcp(), multi_delete_dup(), multi_get_create_instance_udp(), multi_get_instance_by_virtual_addr(), multi_print_status(), multi_push_restart_schedule_exit(), and multi_route_defined().
char multi_instance::msg_prefix[MULTI_PREFIX_MAX_LENGTH] |
Definition at line 117 of file multi.h.
Referenced by generate_prefix(), set_prefix(), and ungenerate_prefix().
int multi_instance::n_clients_delta |
Definition at line 134 of file multi.h.
Referenced by multi_close_instance(), and multi_connection_established().
struct mroute_addr multi_instance::real |
External network address of the remote peer.
Definition at line 114 of file multi.h.
Referenced by management_callback_kill_by_addr(), multi_close_instance(), multi_create_instance(), multi_create_instance_tcp(), multi_get_create_instance_udp(), multi_instance_string(), multi_print_status(), multi_process_float(), and multi_tcp_instance_specific_init().
int multi_instance::refcount |
Definition at line 107 of file multi.h.
Referenced by multi_instance_dec_refcount(), and multi_instance_inc_refcount().
in_addr_t multi_instance::reporting_addr |
Definition at line 124 of file multi.h.
Referenced by multi_client_connect_late_setup(), and multi_print_status().
struct in6_addr multi_instance::reporting_addr_ipv6 |
Definition at line 125 of file multi.h.
Referenced by multi_client_connect_late_setup(), and multi_print_status().
int multi_instance::route_count |
Definition at line 108 of file multi.h.
Referenced by route_quota_dec(), route_quota_inc(), and route_quota_test().
struct schedule_entry multi_instance::se |
bool multi_instance::socket_set_called |
Definition at line 122 of file multi.h.
Referenced by multi_tcp_dereference_instance(), and multi_tcp_set_global_rw_flags().
struct mbuf_set* multi_instance::tcp_link_out_deferred |
Definition at line 121 of file multi.h.
Referenced by multi_output_queue_ready(), multi_tcp_instance_specific_free(), multi_tcp_instance_specific_init(), multi_tcp_process_outgoing_link(), multi_tcp_process_outgoing_link_ready(), and multi_tcp_set_global_rw_flags().
unsigned int multi_instance::tcp_rwflags |
Definition at line 120 of file multi.h.
Referenced by multi_tcp_set_global_rw_flags().
ifconfig_pool_handle multi_instance::vaddr_handle |
Definition at line 116 of file multi.h.
Referenced by multi_client_connect_early_setup(), multi_create_instance(), and multi_select_virtual_addr().
struct timeval multi_instance::wakeup |
Definition at line 113 of file multi.h.
Referenced by multi_schedule_context_wakeup().