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 defined
 
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_open_context
 
bool did_real_hash
 
bool did_iter
 
bool connection_established_flag
 
bool did_iroutes
 
int n_clients_delta
 
struct context context
 The context structure storing state for this VPN tunnel. More...
 

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

Field Documentation

◆ connection_established_flag

bool multi_instance::connection_established_flag

◆ context

struct context multi_instance::context

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

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

◆ defined

bool multi_instance::defined

Definition at line 79 of file multi.h.

◆ did_iroutes

bool multi_instance::did_iroutes

Definition at line 109 of file multi.h.

Referenced by multi_add_iroutes().

◆ did_iter

bool multi_instance::did_iter

◆ did_open_context

bool multi_instance::did_open_context

Definition at line 101 of file multi.h.

Referenced by multi_close_instance(), and multi_create_instance().

◆ did_real_hash

bool multi_instance::did_real_hash

◆ gc

struct gc_arena multi_instance::gc

Definition at line 78 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 91 of file multi.h.

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

◆ n_clients_delta

int multi_instance::n_clients_delta

Definition at line 110 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 81 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 98 of file multi.h.

Referenced by multi_connection_established(), and multi_print_status().

◆ reporting_addr_ipv6

struct in6_addr multi_instance::reporting_addr_ipv6

Definition at line 99 of file multi.h.

Referenced by multi_connection_established(), and multi_print_status().

◆ route_count

int multi_instance::route_count

Definition at line 82 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 77 of file multi.h.

◆ socket_set_called

bool multi_instance::socket_set_called

Definition at line 96 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 94 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 87 of file multi.h.

Referenced by multi_schedule_context_wakeup().


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