OpenVPN
Data Fields
multi_instance Struct Reference

Server-mode state structure for one single VPN tunnel. More...

#include <multi.h>

Collaboration diagram for multi_instance:
Collaboration graph
[legend]

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_settcp_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_listcc_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
 

Detailed Description

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.

Definition at line 100 of file multi.h.

Field Documentation

◆ cc_config

struct buffer_list* multi_instance::cc_config

Definition at line 128 of file multi.h.

Referenced by multi_client_connect_mda(), and set_cc_config().

◆ client_connect_defer_state

struct client_connect_defer_state multi_instance::client_connect_defer_state

◆ context

struct context multi_instance::context

The context structure storing state for this VPN tunnel.

Definition at line 133 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_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().

◆ created

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 106 of file multi.h.

Referenced by multi_client_connect_setenv(), multi_client_disconnect_setenv(), multi_create_instance(), and multi_print_status().

◆ did_cid_hash

bool multi_instance::did_cid_hash

Definition at line 127 of file multi.h.

Referenced by multi_close_instance(), and multi_create_instance().

◆ did_iroutes

bool multi_instance::did_iroutes

Definition at line 130 of file multi.h.

Referenced by multi_add_iroutes().

◆ did_iter

bool multi_instance::did_iter

◆ did_real_hash

bool multi_instance::did_real_hash

◆ gc

struct gc_arena multi_instance::gc

Definition at line 102 of file multi.h.

Referenced by multi_create_instance(), and multi_instance_dec_refcount().

◆ halt

bool multi_instance::halt

◆ msg_prefix

char multi_instance::msg_prefix[MULTI_PREFIX_MAX_LENGTH]

Definition at line 114 of file multi.h.

Referenced by generate_prefix(), set_prefix(), and ungenerate_prefix().

◆ n_clients_delta

int multi_instance::n_clients_delta

Definition at line 131 of file multi.h.

Referenced by multi_close_instance(), and multi_connection_established().

◆ real

struct mroute_addr multi_instance::real

◆ refcount

int multi_instance::refcount

Definition at line 104 of file multi.h.

Referenced by multi_instance_dec_refcount(), and multi_instance_inc_refcount().

◆ reporting_addr

in_addr_t multi_instance::reporting_addr

Definition at line 121 of file multi.h.

Referenced by multi_client_connect_late_setup(), and multi_print_status().

◆ reporting_addr_ipv6

struct in6_addr multi_instance::reporting_addr_ipv6

Definition at line 122 of file multi.h.

Referenced by multi_client_connect_late_setup(), and multi_print_status().

◆ route_count

int multi_instance::route_count

Definition at line 105 of file multi.h.

Referenced by route_quota_dec(), route_quota_inc(), and route_quota_test().

◆ se

struct schedule_entry multi_instance::se

Definition at line 101 of file multi.h.

◆ socket_set_called

bool multi_instance::socket_set_called

Definition at line 119 of file multi.h.

Referenced by multi_tcp_dereference_instance(), and multi_tcp_set_global_rw_flags().

◆ tcp_link_out_deferred

struct mbuf_set* multi_instance::tcp_link_out_deferred

◆ tcp_rwflags

unsigned int multi_instance::tcp_rwflags

Definition at line 117 of file multi.h.

Referenced by multi_tcp_set_global_rw_flags().

◆ vaddr_handle

ifconfig_pool_handle multi_instance::vaddr_handle

◆ wakeup

struct timeval multi_instance::wakeup

Definition at line 110 of file multi.h.

Referenced by multi_schedule_context_wakeup().


The documentation for this struct was generated from the following file: