OpenVPN
Data Fields
options Struct Reference

#include <options.h>

Collaboration diagram for options:
Collaboration graph
[legend]

Data Fields

struct gc_arena gc
 
bool gc_owned
 
const char * config
 
int mode
 
bool forward_compatible
 
const char ** ignore_unknown_option
 
bool persist_config
 
int persist_mode
 
const char * key_pass_file
 
bool show_ciphers
 
bool show_digests
 
bool show_engines
 
bool show_tls_ciphers
 
bool show_curves
 
bool genkey
 
enum genkey_type genkey_type
 
const char * genkey_filename
 
const char * genkey_extra_data
 
int connect_retry_max
 
struct connection_entry ce
 
struct connection_listconnection_list
 
struct remote_listremote_list
 
bool no_advance
 
unsigned int unsuccessful_attempts
 
struct http_proxy_optionshttp_proxy_override
 
struct remote_host_storerh_store
 
bool remote_random
 
const char * ipchange
 
const char * dev
 
const char * dev_type
 
const char * dev_node
 
const char * lladdr
 
int topology
 
const char * ifconfig_local
 
const char * ifconfig_remote_netmask
 
const char * ifconfig_ipv6_local
 
int ifconfig_ipv6_netbits
 
const char * ifconfig_ipv6_remote
 
bool ifconfig_noexec
 
bool ifconfig_nowarn
 
int shaper
 
int proto_force
 
bool mtu_test
 
bool mlock
 
int keepalive_ping
 
int keepalive_timeout
 
int inactivity_timeout
 
int inactivity_minimum_bytes
 
int ping_send_timeout
 
int ping_rec_timeout
 
bool ping_timer_remote
 
int ping_rec_timeout_action
 
bool persist_tun
 
bool persist_local_ip
 
bool persist_remote_ip
 
bool persist_key
 
int resolve_retry_seconds
 
bool resolve_in_advance
 
const char * ip_remote_hint
 
struct tuntap_options tuntap_options
 
const char * username
 
const char * groupname
 
const char * chroot_dir
 
const char * cd_dir
 
const char * writepid
 
const char * up_script
 
const char * down_script
 
bool user_script_used
 
bool down_pre
 
bool up_delay
 
bool up_restart
 
bool daemon
 
int remap_sigusr1
 
bool log
 
bool suppress_timestamps
 
bool machine_readable_output
 
int nice
 
int verbosity
 
int mute
 
const char * status_file
 
int status_file_version
 
int status_file_update_freq
 
bool fast_io
 
int rcvbuf
 
int sndbuf
 
int mark
 
char * bind_dev
 
unsigned int sockflags
 
const char * route_script
 
const char * route_predown_script
 
const char * route_default_gateway
 
const char * route_ipv6_default_gateway
 
int route_default_metric
 
bool route_noexec
 
int route_delay
 
int route_delay_window
 
bool route_delay_defined
 
struct route_option_listroutes
 
struct route_ipv6_option_listroutes_ipv6
 
bool block_ipv6
 
bool route_nopull
 
bool route_gateway_via_dhcp
 
bool allow_pull_fqdn
 
struct client_nat_option_listclient_nat
 
bool occ
 
const char * management_addr
 
const char * management_port
 
const char * management_user_pass
 
int management_log_history_cache
 
int management_echo_buffer_size
 
int management_state_buffer_size
 
const char * management_write_peer_info_file
 
const char * management_client_user
 
const char * management_client_group
 
unsigned int management_flags
 
const char * management_certificate
 
struct plugin_option_listplugin_list
 
const char * tmp_dir
 
bool server_defined
 
in_addr_t server_network
 
in_addr_t server_netmask
 
bool server_ipv6_defined
 
struct in6_addr server_network_ipv6
 
unsigned int server_netbits_ipv6
 
unsigned int server_flags
 
bool server_bridge_proxy_dhcp
 
bool server_bridge_defined
 
in_addr_t server_bridge_ip
 
in_addr_t server_bridge_netmask
 
in_addr_t server_bridge_pool_start
 
in_addr_t server_bridge_pool_end
 
struct push_list push_list
 
bool ifconfig_pool_defined
 
in_addr_t ifconfig_pool_start
 
in_addr_t ifconfig_pool_end
 
in_addr_t ifconfig_pool_netmask
 
const char * ifconfig_pool_persist_filename
 
int ifconfig_pool_persist_refresh_freq
 
bool ifconfig_ipv6_pool_defined
 
struct in6_addr ifconfig_ipv6_pool_base
 
int ifconfig_ipv6_pool_netbits
 
int real_hash_size
 
int virtual_hash_size
 
const char * client_connect_script
 
const char * client_disconnect_script
 
const char * learn_address_script
 
const char * client_config_dir
 
bool ccd_exclusive
 
bool disable
 
int n_bcast_buf
 
int tcp_queue_limit
 
struct irouteiroutes
 
struct iroute_ipv6iroutes_ipv6
 
bool push_ifconfig_defined
 
in_addr_t push_ifconfig_local
 
in_addr_t push_ifconfig_remote_netmask
 
in_addr_t push_ifconfig_local_alias
 
bool push_ifconfig_constraint_defined
 
in_addr_t push_ifconfig_constraint_network
 
in_addr_t push_ifconfig_constraint_netmask
 
bool push_ifconfig_ipv4_blocked
 
bool push_ifconfig_ipv6_defined
 
struct in6_addr push_ifconfig_ipv6_local
 
int push_ifconfig_ipv6_netbits
 
struct in6_addr push_ifconfig_ipv6_remote
 
bool push_ifconfig_ipv6_blocked
 
bool enable_c2c
 
bool duplicate_cn
 
int cf_max
 
int cf_per
 
int max_clients
 
int max_routes_per_client
 
int stale_routes_check_interval
 
int stale_routes_ageing_time
 
const char * auth_user_pass_verify_script
 
bool auth_user_pass_verify_script_via_file
 
bool auth_token_generate
 
bool auth_token_gen_secret_file
 
bool auth_token_call_auth
 
int auth_token_lifetime
 
const char * auth_token_secret_file
 
bool auth_token_secret_file_inline
 
bool client
 
bool pull
 
int push_continuation
 
unsigned int push_option_types_found
 
const char * auth_user_pass_file
 
struct options_pre_connectpre_connect
 
int scheduled_exit_interval
 
struct static_challenge_info sc_info
 
const char * shared_secret_file
 
bool shared_secret_file_inline
 
int key_direction
 
const char * ciphername
 
bool enable_ncp_fallback
 If defined fall back to ciphername if NCP fails. More...
 
bool ncp_enabled
 
const char * ncp_ciphers
 
const char * authname
 
const char * prng_hash
 
int prng_nonce_secret_len
 
const char * engine
 
bool replay
 
bool mute_replay_warnings
 
int replay_window
 
int replay_time
 
const char * packet_id_file
 
bool test_crypto
 
bool tls_server
 
bool tls_client
 
const char * ca_file
 
bool ca_file_inline
 
const char * ca_path
 
const char * dh_file
 
bool dh_file_inline
 
const char * cert_file
 
bool cert_file_inline
 
const char * extra_certs_file
 
bool extra_certs_file_inline
 
const char * priv_key_file
 
bool priv_key_file_inline
 
const char * pkcs12_file
 
bool pkcs12_file_inline
 
const char * cipher_list
 
const char * cipher_list_tls13
 
const char * tls_groups
 
const char * tls_cert_profile
 
const char * ecdh_curve
 
const char * tls_verify
 
int verify_x509_type
 
const char * verify_x509_name
 
const char * tls_export_cert
 
const char * crl_file
 
bool crl_file_inline
 
int ns_cert_type
 
unsigned remote_cert_ku [MAX_PARMS]
 
const char * remote_cert_eku
 
struct verify_hash_listverify_hash
 
hash_algo_type verify_hash_algo
 
int verify_hash_depth
 
bool verify_hash_no_ca
 
unsigned int ssl_flags
 
const char * cryptoapi_cert
 
int tls_timeout
 
int renegotiate_bytes
 
int renegotiate_packets
 
int renegotiate_seconds
 
int renegotiate_seconds_min
 
int handshake_window
 
int transition_window
 
const char * tls_auth_file
 
bool tls_auth_file_inline
 
const char * tls_crypt_file
 
bool tls_crypt_file_inline
 
const char * tls_crypt_v2_file
 
bool tls_crypt_v2_file_inline
 
const char * tls_crypt_v2_metadata
 
const char * tls_crypt_v2_verify_script
 
bool single_session
 
bool push_peer_info
 
bool tls_exit
 
const struct x509_trackx509_track
 
int foreign_option_index
 
HANDLE msg_channel
 
const char * exit_event_name
 
bool exit_event_initial_state
 
bool show_net_up
 
int route_method
 
bool block_outside_dns
 
enum windows_driver_type windows_driver
 
bool use_peer_id
 
uint32_t peer_id
 
bool vlan_tagging
 
enum vlan_acceptable_frames vlan_accept
 
uint16_t vlan_pvid
 
struct pull_filter_listpull_filter_list
 
bool allow_recursive_routing
 
unsigned int data_channel_crypto_flags
 

Detailed Description

Definition at line 213 of file options.h.

Field Documentation

◆ allow_pull_fqdn

bool options::allow_pull_fqdn

Definition at line 386 of file options.h.

Referenced by add_option().

◆ allow_recursive_routing

bool options::allow_recursive_routing

◆ auth_token_call_auth

bool options::auth_token_call_auth

Definition at line 485 of file options.h.

Referenced by add_option(), and do_init_crypto_tls().

◆ auth_token_gen_secret_file

bool options::auth_token_gen_secret_file

Definition at line 484 of file options.h.

◆ auth_token_generate

bool options::auth_token_generate

◆ auth_token_lifetime

int options::auth_token_lifetime

Definition at line 486 of file options.h.

Referenced by add_option(), and do_init_crypto_tls().

◆ auth_token_secret_file

const char* options::auth_token_secret_file

Definition at line 487 of file options.h.

Referenced by add_option(), and do_init_auth_token_key().

◆ auth_token_secret_file_inline

bool options::auth_token_secret_file_inline

Definition at line 488 of file options.h.

Referenced by add_option(), and do_init_auth_token_key().

◆ auth_user_pass_file

const char* options::auth_user_pass_file

◆ auth_user_pass_verify_script

const char* options::auth_user_pass_verify_script

Definition at line 481 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and options_postprocess_verify_ce().

◆ auth_user_pass_verify_script_via_file

bool options::auth_user_pass_verify_script_via_file

Definition at line 482 of file options.h.

Referenced by add_option(), and do_init_crypto_tls().

◆ authname

const char* options::authname

◆ bind_dev

char* options::bind_dev

Definition at line 366 of file options.h.

Referenced by add_option(), and link_socket_init_phase1().

◆ block_ipv6

bool options::block_ipv6

Definition at line 383 of file options.h.

Referenced by add_option(), and process_ip_header().

◆ block_outside_dns

bool options::block_outside_dns

Definition at line 637 of file options.h.

Referenced by add_option(), do_close_tun(), do_open_tun(), and init_options().

◆ ca_file

const char* options::ca_file

◆ ca_file_inline

bool options::ca_file_inline

Definition at line 535 of file options.h.

Referenced by add_option(), init_ssl(), and options_postprocess_filechecks().

◆ ca_path

const char* options::ca_path

◆ ccd_exclusive

bool options::ccd_exclusive

Definition at line 453 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and options_postprocess_verify_ce().

◆ cd_dir

const char* options::cd_dir

Definition at line 323 of file options.h.

Referenced by add_option(), and do_init_first_time().

◆ ce

struct connection_entry options::ce

◆ cert_file

const char* options::cert_file

◆ cert_file_inline

bool options::cert_file_inline

Definition at line 540 of file options.h.

Referenced by add_option(), init_ssl(), and options_postprocess_filechecks().

◆ cf_max

int options::cf_max

Definition at line 474 of file options.h.

Referenced by add_option(), multi_init(), and options_postprocess_verify_ce().

◆ cf_per

int options::cf_per

Definition at line 475 of file options.h.

Referenced by add_option(), multi_init(), and options_postprocess_verify_ce().

◆ chroot_dir

const char* options::chroot_dir

◆ cipher_list

const char* options::cipher_list

Definition at line 547 of file options.h.

Referenced by add_option(), init_ssl(), options_postprocess_verify_ce(), and print_openssl_info().

◆ cipher_list_tls13

const char* options::cipher_list_tls13

Definition at line 548 of file options.h.

Referenced by add_option(), init_ssl(), options_postprocess_verify_ce(), and print_openssl_info().

◆ ciphername

const char* options::ciphername

◆ client

bool options::client

Definition at line 496 of file options.h.

Referenced by add_option(), helper_client_server(), and options_postprocess_mutate_ce().

◆ client_config_dir

const char* options::client_config_dir

◆ client_connect_script

const char* options::client_connect_script

◆ client_disconnect_script

const char* options::client_disconnect_script

◆ client_nat

struct client_nat_option_list* options::client_nat

◆ config

const char* options::config

Definition at line 219 of file options.h.

Referenced by add_option(), pre_setup(), and setenv_settings().

◆ connect_retry_max

int options::connect_retry_max

Definition at line 247 of file options.h.

Referenced by add_option(), init_options(), and next_connection_entry().

◆ connection_list

struct connection_list* options::connection_list

◆ crl_file

const char* options::crl_file

◆ crl_file_inline

bool options::crl_file_inline

◆ cryptoapi_cert

const char* options::cryptoapi_cert

Definition at line 579 of file options.h.

Referenced by add_option(), init_ssl(), and options_postprocess_verify_ce().

◆ daemon

bool options::daemon

Definition at line 334 of file options.h.

Referenced by add_option(), possibly_become_daemon(), and setenv_settings().

◆ data_channel_crypto_flags

unsigned int options::data_channel_crypto_flags

◆ dev

const char* options::dev

◆ dev_node

const char* options::dev_node

Definition at line 267 of file options.h.

Referenced by add_option(), do_open_tun(), do_persist_tuntap(), and init_options_dev().

◆ dev_type

const char* options::dev_type

◆ dh_file

const char* options::dh_file

◆ dh_file_inline

bool options::dh_file_inline

Definition at line 538 of file options.h.

Referenced by add_option(), init_ssl(), and options_postprocess_filechecks().

◆ disable

bool options::disable

Definition at line 454 of file options.h.

Referenced by add_option().

◆ down_pre

bool options::down_pre

Definition at line 331 of file options.h.

Referenced by add_option(), and do_close_tun().

◆ down_script

const char* options::down_script

Definition at line 329 of file options.h.

Referenced by add_option(), and do_close_tun().

◆ duplicate_cn

bool options::duplicate_cn

◆ ecdh_curve

const char* options::ecdh_curve

Definition at line 551 of file options.h.

Referenced by add_option(), init_options(), and init_ssl().

◆ enable_c2c

bool options::enable_c2c

◆ enable_ncp_fallback

bool options::enable_ncp_fallback

◆ engine

const char* options::engine

Definition at line 520 of file options.h.

Referenced by add_option(), and init_crypto_pre().

◆ exit_event_initial_state

bool options::exit_event_initial_state

Definition at line 634 of file options.h.

Referenced by add_option(), and pre_setup().

◆ exit_event_name

const char* options::exit_event_name

Definition at line 633 of file options.h.

Referenced by add_option(), and pre_setup().

◆ extra_certs_file

const char* options::extra_certs_file

Definition at line 541 of file options.h.

Referenced by add_option(), init_ssl(), and options_postprocess_filechecks().

◆ extra_certs_file_inline

bool options::extra_certs_file_inline

Definition at line 542 of file options.h.

Referenced by add_option(), and init_ssl().

◆ fast_io

bool options::fast_io

Definition at line 354 of file options.h.

Referenced by add_option(), and do_setup_fast_io().

◆ foreign_option_index

int options::foreign_option_index

Definition at line 629 of file options.h.

Referenced by foreign_option(), pre_connect_restore(), and pre_connect_save().

◆ forward_compatible

bool options::forward_compatible

Definition at line 227 of file options.h.

Referenced by add_option(), and msglevel_forward_compatible().

◆ gc

struct gc_arena options::gc

◆ gc_owned

bool options::gc_owned

Definition at line 216 of file options.h.

Referenced by init_options(), and uninit_options().

◆ genkey

bool options::genkey

Definition at line 241 of file options.h.

Referenced by add_option(), and do_genkey().

◆ genkey_extra_data

const char* options::genkey_extra_data

Definition at line 244 of file options.h.

Referenced by add_option(), and do_genkey().

◆ genkey_filename

const char* options::genkey_filename

Definition at line 243 of file options.h.

Referenced by add_option(), and do_genkey().

◆ genkey_type

enum genkey_type options::genkey_type

Definition at line 242 of file options.h.

Referenced by add_option(), and do_genkey().

◆ groupname

const char* options::groupname

Definition at line 321 of file options.h.

Referenced by add_option(), do_init_first_time(), do_option_warnings(), and do_persist_tuntap().

◆ handshake_window

int options::handshake_window

◆ http_proxy_override

struct http_proxy_options* options::http_proxy_override

◆ ifconfig_ipv6_local

const char* options::ifconfig_ipv6_local

◆ ifconfig_ipv6_netbits

int options::ifconfig_ipv6_netbits

◆ ifconfig_ipv6_pool_base

struct in6_addr options::ifconfig_ipv6_pool_base

Definition at line 444 of file options.h.

Referenced by add_option(), helper_client_server(), multi_init(), and show_p2mp_parms().

◆ ifconfig_ipv6_pool_defined

bool options::ifconfig_ipv6_pool_defined

◆ ifconfig_ipv6_pool_netbits

int options::ifconfig_ipv6_pool_netbits

Definition at line 445 of file options.h.

Referenced by add_option(), helper_client_server(), and multi_init().

◆ ifconfig_ipv6_remote

const char* options::ifconfig_ipv6_remote

◆ ifconfig_local

const char* options::ifconfig_local

◆ ifconfig_noexec

bool options::ifconfig_noexec

Definition at line 275 of file options.h.

Referenced by add_option(), do_open_tun(), and options_postprocess_mutate_invariant().

◆ ifconfig_nowarn

bool options::ifconfig_nowarn

Definition at line 276 of file options.h.

Referenced by add_option(), do_init_tun(), and options_string().

◆ ifconfig_pool_defined

bool options::ifconfig_pool_defined

◆ ifconfig_pool_end

in_addr_t options::ifconfig_pool_end

Definition at line 438 of file options.h.

Referenced by add_option(), helper_client_server(), multi_init(), and show_p2mp_parms().

◆ ifconfig_pool_netmask

in_addr_t options::ifconfig_pool_netmask

◆ ifconfig_pool_persist_filename

const char* options::ifconfig_pool_persist_filename

◆ ifconfig_pool_persist_refresh_freq

int options::ifconfig_pool_persist_refresh_freq

Definition at line 441 of file options.h.

Referenced by add_option(), do_open_ifconfig_pool_persist(), and init_options().

◆ ifconfig_pool_start

in_addr_t options::ifconfig_pool_start

Definition at line 437 of file options.h.

Referenced by add_option(), helper_client_server(), multi_init(), and show_p2mp_parms().

◆ ifconfig_remote_netmask

const char* options::ifconfig_remote_netmask

◆ ignore_unknown_option

const char** options::ignore_unknown_option

Definition at line 229 of file options.h.

Referenced by add_option().

◆ inactivity_minimum_bytes

int options::inactivity_minimum_bytes

Definition at line 293 of file options.h.

Referenced by add_option(), and register_activity().

◆ inactivity_timeout

int options::inactivity_timeout

Definition at line 292 of file options.h.

Referenced by add_option(), do_init_timers(), process_coarse_timers(), and register_activity().

◆ ip_remote_hint

const char* options::ip_remote_hint

Definition at line 315 of file options.h.

Referenced by add_option(), and do_preresolve().

◆ ipchange

const char* options::ipchange

Definition at line 264 of file options.h.

Referenced by add_option(), link_socket_init_phase1(), and options_postprocess_verify_ce().

◆ iroutes

struct iroute* options::iroutes

◆ iroutes_ipv6

struct iroute_ipv6* options::iroutes_ipv6

Definition at line 458 of file options.h.

Referenced by multi_add_iroutes(), multi_del_iroutes(), and option_iroute_ipv6().

◆ keepalive_ping

int options::keepalive_ping

Definition at line 289 of file options.h.

Referenced by add_option(), do_option_warnings(), and helper_keepalive().

◆ keepalive_timeout

int options::keepalive_timeout

Definition at line 290 of file options.h.

Referenced by add_option(), do_option_warnings(), and helper_keepalive().

◆ key_direction

int options::key_direction

◆ key_pass_file

const char* options::key_pass_file

Definition at line 235 of file options.h.

Referenced by add_option(), init_query_passwords(), and options_postprocess_filechecks().

◆ learn_address_script

const char* options::learn_address_script

Definition at line 451 of file options.h.

Referenced by add_option(), learn_address_script(), and options_postprocess_verify_ce().

◆ lladdr

const char* options::lladdr

◆ log

bool options::log

Definition at line 338 of file options.h.

Referenced by add_option(), possibly_become_daemon(), and setenv_settings().

◆ machine_readable_output

bool options::machine_readable_output

Definition at line 340 of file options.h.

Referenced by add_option().

◆ management_addr

const char* options::management_addr

Definition at line 393 of file options.h.

Referenced by add_option(), open_management(), and options_postprocess_verify_ce().

◆ management_certificate

const char* options::management_certificate

Definition at line 406 of file options.h.

Referenced by add_option(), and init_ssl().

◆ management_client_group

const char* options::management_client_group

Definition at line 402 of file options.h.

Referenced by add_option(), open_management(), and options_postprocess_verify_ce().

◆ management_client_user

const char* options::management_client_user

Definition at line 401 of file options.h.

Referenced by add_option(), open_management(), and options_postprocess_verify_ce().

◆ management_echo_buffer_size

int options::management_echo_buffer_size

Definition at line 397 of file options.h.

Referenced by init_options(), and open_management().

◆ management_flags

unsigned int options::management_flags

◆ management_log_history_cache

int options::management_log_history_cache

◆ management_port

const char* options::management_port

Definition at line 394 of file options.h.

Referenced by add_option(), and open_management().

◆ management_state_buffer_size

int options::management_state_buffer_size

Definition at line 398 of file options.h.

Referenced by init_options(), and open_management().

◆ management_user_pass

const char* options::management_user_pass

◆ management_write_peer_info_file

const char* options::management_write_peer_info_file

Definition at line 399 of file options.h.

Referenced by add_option(), open_management(), and options_postprocess_verify_ce().

◆ mark

int options::mark

Definition at line 365 of file options.h.

Referenced by add_option(), and link_socket_init_phase1().

◆ max_clients

int options::max_clients

Definition at line 476 of file options.h.

Referenced by add_option(), init_options(), and multi_init().

◆ max_routes_per_client

int options::max_routes_per_client

Definition at line 477 of file options.h.

Referenced by add_option(), init_options(), route_quota_exceeded(), and route_quota_test().

◆ mlock

bool options::mlock

Definition at line 287 of file options.h.

Referenced by add_option(), do_genkey(), and init_instance().

◆ mode

int options::mode

◆ msg_channel

HANDLE options::msg_channel

Definition at line 632 of file options.h.

Referenced by add_option(), do_close_tun(), and do_open_tun().

◆ mtu_test

bool options::mtu_test

◆ mute

int options::mute

Definition at line 343 of file options.h.

Referenced by add_option(), and init_verb_mute().

◆ mute_replay_warnings

bool options::mute_replay_warnings

Definition at line 522 of file options.h.

Referenced by add_option(), do_init_crypto_static(), and do_init_crypto_tls().

◆ n_bcast_buf

int options::n_bcast_buf

Definition at line 455 of file options.h.

Referenced by add_option(), init_options(), multi_init(), and multi_tcp_instance_specific_init().

◆ ncp_ciphers

const char* options::ncp_ciphers

◆ ncp_enabled

bool options::ncp_enabled

◆ nice

int options::nice

Definition at line 341 of file options.h.

Referenced by add_option(), and do_init_first_time().

◆ no_advance

bool options::no_advance

◆ ns_cert_type

int options::ns_cert_type

◆ occ

bool options::occ

◆ packet_id_file

const char* options::packet_id_file

◆ peer_id

uint32_t options::peer_id

Definition at line 642 of file options.h.

Referenced by add_option(), and do_deferred_options().

◆ persist_config

bool options::persist_config

Definition at line 232 of file options.h.

Referenced by add_option(), and do_persist_tuntap().

◆ persist_key

bool options::persist_key

◆ persist_local_ip

bool options::persist_local_ip

Definition at line 305 of file options.h.

Referenced by add_option(), and do_close_link_socket().

◆ persist_mode

int options::persist_mode

Definition at line 233 of file options.h.

Referenced by add_option(), do_persist_tuntap(), and init_options().

◆ persist_remote_ip

bool options::persist_remote_ip

Definition at line 306 of file options.h.

Referenced by add_option(), do_close_link_socket(), and next_connection_entry().

◆ persist_tun

bool options::persist_tun

Definition at line 304 of file options.h.

Referenced by add_option(), do_close_tun(), and do_option_warnings().

◆ ping_rec_timeout

int options::ping_rec_timeout

◆ ping_rec_timeout_action

int options::ping_rec_timeout_action

◆ ping_send_timeout

int options::ping_send_timeout

◆ ping_timer_remote

bool options::ping_timer_remote

Definition at line 297 of file options.h.

Referenced by add_option(), and check_ping_restart().

◆ pkcs12_file

const char* options::pkcs12_file

◆ pkcs12_file_inline

bool options::pkcs12_file_inline

Definition at line 546 of file options.h.

Referenced by add_option(), init_ssl(), and options_postprocess_filechecks().

◆ plugin_list

struct plugin_option_list* options::plugin_list

Definition at line 410 of file options.h.

Referenced by add_option(), init_plugins(), open_plugins(), and show_settings().

◆ pre_connect

struct options_pre_connect* options::pre_connect

Definition at line 501 of file options.h.

Referenced by pre_connect_restore(), and pre_connect_save().

◆ priv_key_file

const char* options::priv_key_file

◆ priv_key_file_inline

bool options::priv_key_file_inline

◆ prng_hash

const char* options::prng_hash

Definition at line 518 of file options.h.

Referenced by add_option(), do_init_crypto_tls_c1(), and init_options().

◆ prng_nonce_secret_len

int options::prng_nonce_secret_len

Definition at line 519 of file options.h.

Referenced by add_option(), do_init_crypto_tls_c1(), and init_options().

◆ proto_force

int options::proto_force

Definition at line 279 of file options.h.

Referenced by add_option(), init_options(), and options_postprocess_mutate_ce().

◆ pull

bool options::pull

◆ pull_filter_list

struct pull_filter_list* options::pull_filter_list

◆ push_continuation

int options::push_continuation

Definition at line 498 of file options.h.

Referenced by add_option(), pre_connect_restore(), and process_incoming_push_reply().

◆ push_ifconfig_constraint_defined

bool options::push_ifconfig_constraint_defined

Definition at line 463 of file options.h.

Referenced by add_option(), helper_client_server(), and ifconfig_push_constraint_satisfied().

◆ push_ifconfig_constraint_netmask

in_addr_t options::push_ifconfig_constraint_netmask

◆ push_ifconfig_constraint_network

in_addr_t options::push_ifconfig_constraint_network

◆ push_ifconfig_defined

bool options::push_ifconfig_defined

Definition at line 459 of file options.h.

Referenced by add_option(), and multi_select_virtual_addr().

◆ push_ifconfig_ipv4_blocked

bool options::push_ifconfig_ipv4_blocked

Definition at line 466 of file options.h.

Referenced by prepare_push_reply(), and push_remove_option().

◆ push_ifconfig_ipv6_blocked

bool options::push_ifconfig_ipv6_blocked

Definition at line 471 of file options.h.

Referenced by add_option(), prepare_push_reply(), and push_remove_option().

◆ push_ifconfig_ipv6_defined

bool options::push_ifconfig_ipv6_defined

Definition at line 467 of file options.h.

Referenced by add_option(), and multi_select_virtual_addr().

◆ push_ifconfig_ipv6_local

struct in6_addr options::push_ifconfig_ipv6_local

Definition at line 468 of file options.h.

Referenced by add_option(), multi_select_virtual_addr(), and show_p2mp_parms().

◆ push_ifconfig_ipv6_netbits

int options::push_ifconfig_ipv6_netbits

Definition at line 469 of file options.h.

Referenced by add_option(), multi_select_virtual_addr(), and show_p2mp_parms().

◆ push_ifconfig_ipv6_remote

struct in6_addr options::push_ifconfig_ipv6_remote

Definition at line 470 of file options.h.

Referenced by add_option(), multi_select_virtual_addr(), and show_p2mp_parms().

◆ push_ifconfig_local

in_addr_t options::push_ifconfig_local

Definition at line 460 of file options.h.

Referenced by add_option(), multi_select_virtual_addr(), and show_p2mp_parms().

◆ push_ifconfig_local_alias

in_addr_t options::push_ifconfig_local_alias

Definition at line 462 of file options.h.

Referenced by add_option(), and multi_select_virtual_addr().

◆ push_ifconfig_remote_netmask

in_addr_t options::push_ifconfig_remote_netmask

Definition at line 461 of file options.h.

Referenced by add_option(), multi_select_virtual_addr(), and show_p2mp_parms().

◆ push_list

struct push_list options::push_list

◆ push_option_types_found

unsigned int options::push_option_types_found

Definition at line 499 of file options.h.

Referenced by incoming_push_message(), and pre_connect_restore().

◆ push_peer_info

bool options::push_peer_info

Definition at line 622 of file options.h.

Referenced by add_option(), and do_init_crypto_tls().

◆ rcvbuf

int options::rcvbuf

Definition at line 361 of file options.h.

Referenced by add_option(), do_deferred_options(), and link_socket_init_phase1().

◆ real_hash_size

int options::real_hash_size

Definition at line 447 of file options.h.

Referenced by add_option(), init_options(), multi_init(), and options_postprocess_verify_ce().

◆ remap_sigusr1

int options::remap_sigusr1

Definition at line 336 of file options.h.

Referenced by add_option(), open_management(), and remap_signal().

◆ remote_cert_eku

const char* options::remote_cert_eku

◆ remote_cert_ku

unsigned options::remote_cert_ku[MAX_PARMS]

Definition at line 560 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and options_postprocess_verify_ce().

◆ remote_list

struct remote_list* options::remote_list

Definition at line 251 of file options.h.

Referenced by alloc_remote_list_if_undef(), and options_postprocess_mutate().

◆ remote_random

bool options::remote_random

Definition at line 263 of file options.h.

Referenced by add_option(), and init_connection_list().

◆ renegotiate_bytes

int options::renegotiate_bytes

◆ renegotiate_packets

int options::renegotiate_packets

Definition at line 586 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and options_postprocess_verify_ce().

◆ renegotiate_seconds

int options::renegotiate_seconds

◆ renegotiate_seconds_min

int options::renegotiate_seconds_min

Definition at line 588 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and init_options().

◆ replay

bool options::replay

◆ replay_time

int options::replay_time

◆ replay_window

int options::replay_window

◆ resolve_in_advance

bool options::resolve_in_advance

◆ resolve_retry_seconds

int options::resolve_retry_seconds

Definition at line 313 of file options.h.

Referenced by add_option(), do_preresolve_host(), init_options(), and link_socket_init_phase1().

◆ rh_store

struct remote_host_store* options::rh_store

Definition at line 261 of file options.h.

Referenced by management_callback_remote_cmd().

◆ route_default_gateway

const char* options::route_default_gateway

◆ route_default_metric

int options::route_default_metric

Definition at line 376 of file options.h.

Referenced by add_option(), do_init_route_ipv6_list(), and do_init_route_list().

◆ route_delay

int options::route_delay

Definition at line 378 of file options.h.

Referenced by add_option(), do_up(), and options_postprocess_mutate_invariant().

◆ route_delay_defined

bool options::route_delay_defined

◆ route_delay_window

int options::route_delay_window

Definition at line 379 of file options.h.

Referenced by add_option(), do_up(), and init_options().

◆ route_gateway_via_dhcp

bool options::route_gateway_via_dhcp

Definition at line 385 of file options.h.

Referenced by add_option(), and process_ip_header().

◆ route_ipv6_default_gateway

const char* options::route_ipv6_default_gateway

◆ route_method

int options::route_method

Definition at line 636 of file options.h.

Referenced by add_option(), init_options(), and remap_redirect_gateway_flags().

◆ route_noexec

bool options::route_noexec

Definition at line 377 of file options.h.

Referenced by add_option(), and do_route().

◆ route_nopull

bool options::route_nopull

Definition at line 384 of file options.h.

Referenced by add_option(), and pull_permission_mask().

◆ route_predown_script

const char* options::route_predown_script

Definition at line 373 of file options.h.

Referenced by add_option(), and do_close_tun().

◆ route_script

const char* options::route_script

Definition at line 372 of file options.h.

Referenced by add_option(), and do_route().

◆ routes

struct route_option_list* options::routes

◆ routes_ipv6

struct route_ipv6_option_list* options::routes_ipv6

◆ sc_info

struct static_challenge_info options::sc_info

Definition at line 506 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and init_query_passwords().

◆ scheduled_exit_interval

int options::scheduled_exit_interval

Definition at line 503 of file options.h.

Referenced by init_options(), send_auth_failed(), and send_restart().

◆ server_bridge_defined

bool options::server_bridge_defined

◆ server_bridge_ip

in_addr_t options::server_bridge_ip

Definition at line 430 of file options.h.

Referenced by add_option(), helper_client_server(), and show_p2mp_parms().

◆ server_bridge_netmask

in_addr_t options::server_bridge_netmask

Definition at line 431 of file options.h.

Referenced by add_option(), helper_client_server(), and show_p2mp_parms().

◆ server_bridge_pool_end

in_addr_t options::server_bridge_pool_end

Definition at line 433 of file options.h.

Referenced by add_option(), helper_client_server(), and show_p2mp_parms().

◆ server_bridge_pool_start

in_addr_t options::server_bridge_pool_start

Definition at line 432 of file options.h.

Referenced by add_option(), helper_client_server(), and show_p2mp_parms().

◆ server_bridge_proxy_dhcp

bool options::server_bridge_proxy_dhcp

◆ server_defined

bool options::server_defined

Definition at line 415 of file options.h.

Referenced by add_option(), helper_client_server(), and options_postprocess_mutate_ce().

◆ server_flags

unsigned int options::server_flags

◆ server_ipv6_defined

bool options::server_ipv6_defined

Definition at line 418 of file options.h.

Referenced by add_option(), and helper_client_server().

◆ server_netbits_ipv6

unsigned int options::server_netbits_ipv6

Definition at line 420 of file options.h.

Referenced by add_option(), and helper_client_server().

◆ server_netmask

in_addr_t options::server_netmask

Definition at line 417 of file options.h.

Referenced by add_option(), helper_client_server(), and show_p2mp_parms().

◆ server_network

in_addr_t options::server_network

Definition at line 416 of file options.h.

Referenced by add_option(), helper_client_server(), and show_p2mp_parms().

◆ server_network_ipv6

struct in6_addr options::server_network_ipv6

Definition at line 419 of file options.h.

Referenced by add_option(), helper_client_server(), and show_p2mp_parms().

◆ shaper

int options::shaper

◆ shared_secret_file

const char* options::shared_secret_file

◆ shared_secret_file_inline

bool options::shared_secret_file_inline

Definition at line 510 of file options.h.

Referenced by add_option(), do_init_crypto_static(), and options_postprocess_filechecks().

◆ show_ciphers

bool options::show_ciphers

Definition at line 236 of file options.h.

Referenced by add_option(), and print_openssl_info().

◆ show_curves

bool options::show_curves

Definition at line 240 of file options.h.

Referenced by add_option(), and print_openssl_info().

◆ show_digests

bool options::show_digests

Definition at line 237 of file options.h.

Referenced by add_option(), and print_openssl_info().

◆ show_engines

bool options::show_engines

Definition at line 238 of file options.h.

Referenced by add_option(), and print_openssl_info().

◆ show_net_up

bool options::show_net_up

Definition at line 635 of file options.h.

Referenced by add_option(), and do_route().

◆ show_tls_ciphers

bool options::show_tls_ciphers

Definition at line 239 of file options.h.

Referenced by add_option(), and print_openssl_info().

◆ single_session

bool options::single_session

Definition at line 620 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and options_postprocess_verify_ce().

◆ sndbuf

int options::sndbuf

Definition at line 362 of file options.h.

Referenced by add_option(), do_deferred_options(), and link_socket_init_phase1().

◆ sockflags

unsigned int options::sockflags

◆ ssl_flags

unsigned int options::ssl_flags

◆ stale_routes_ageing_time

int options::stale_routes_ageing_time

Definition at line 479 of file options.h.

Referenced by add_option(), check_stale_routes(), and multi_init().

◆ stale_routes_check_interval

int options::stale_routes_check_interval

◆ status_file

const char* options::status_file

Definition at line 349 of file options.h.

Referenced by add_option(), do_open_status_output(), and options_postprocess_filechecks().

◆ status_file_update_freq

int options::status_file_update_freq

Definition at line 351 of file options.h.

Referenced by add_option(), do_open_status_output(), and init_options().

◆ status_file_version

int options::status_file_version

Definition at line 350 of file options.h.

Referenced by add_option(), init_options(), and multi_init().

◆ suppress_timestamps

bool options::suppress_timestamps

Definition at line 339 of file options.h.

Referenced by add_option().

◆ tcp_queue_limit

int options::tcp_queue_limit

Definition at line 456 of file options.h.

Referenced by add_option(), init_options(), and multi_init().

◆ test_crypto

bool options::test_crypto

◆ tls_auth_file

const char* options::tls_auth_file

◆ tls_auth_file_inline

bool options::tls_auth_file_inline

Definition at line 604 of file options.h.

Referenced by add_option(), and options_postprocess_mutate_ce().

◆ tls_cert_profile

const char* options::tls_cert_profile

◆ tls_client

bool options::tls_client

◆ tls_crypt_file

const char* options::tls_crypt_file

◆ tls_crypt_file_inline

bool options::tls_crypt_file_inline

Definition at line 608 of file options.h.

Referenced by add_option(), and options_postprocess_mutate_ce().

◆ tls_crypt_v2_file

const char* options::tls_crypt_v2_file

◆ tls_crypt_v2_file_inline

bool options::tls_crypt_v2_file_inline

Definition at line 613 of file options.h.

Referenced by add_option(), do_genkey(), and options_postprocess_mutate_ce().

◆ tls_crypt_v2_metadata

const char* options::tls_crypt_v2_metadata

Definition at line 615 of file options.h.

◆ tls_crypt_v2_verify_script

const char* options::tls_crypt_v2_verify_script

Definition at line 617 of file options.h.

Referenced by add_option(), and do_init_crypto_tls().

◆ tls_exit

bool options::tls_exit

Definition at line 624 of file options.h.

Referenced by add_option(), do_signal_on_tls_errors(), and options_postprocess_verify_ce().

◆ tls_export_cert

const char* options::tls_export_cert

◆ tls_groups

const char* options::tls_groups

Definition at line 549 of file options.h.

Referenced by add_option(), and init_ssl().

◆ tls_server

bool options::tls_server

◆ tls_timeout

int options::tls_timeout

◆ tls_verify

const char* options::tls_verify

Definition at line 552 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and do_option_warnings().

◆ tmp_dir

const char* options::tmp_dir

◆ topology

int options::topology

◆ transition_window

int options::transition_window

◆ tuntap_options

struct tuntap_options options::tuntap_options

◆ unsuccessful_attempts

unsigned int options::unsuccessful_attempts

◆ up_delay

bool options::up_delay

Definition at line 332 of file options.h.

Referenced by add_option(), do_up(), init_instance(), and options_postprocess_verify_ce().

◆ up_restart

bool options::up_restart

Definition at line 333 of file options.h.

Referenced by add_option(), do_close_tun(), and do_open_tun().

◆ up_script

const char* options::up_script

Definition at line 328 of file options.h.

Referenced by add_option(), and do_open_tun().

◆ use_peer_id

bool options::use_peer_id

Definition at line 641 of file options.h.

Referenced by add_option().

◆ user_script_used

bool options::user_script_used

Definition at line 330 of file options.h.

Referenced by do_option_warnings(), and set_user_script().

◆ username

const char* options::username

Definition at line 320 of file options.h.

Referenced by add_option(), do_init_first_time(), do_option_warnings(), and do_persist_tuntap().

◆ verbosity

int options::verbosity

Definition at line 342 of file options.h.

Referenced by add_option(), init_options(), init_verb_mute(), setenv_settings(), and usage().

◆ verify_hash

struct verify_hash_list* options::verify_hash

◆ verify_hash_algo

hash_algo_type options::verify_hash_algo

Definition at line 563 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and show_settings().

◆ verify_hash_depth

int options::verify_hash_depth

Definition at line 564 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and options_postprocess_mutate().

◆ verify_hash_no_ca

bool options::verify_hash_no_ca

◆ verify_x509_name

const char* options::verify_x509_name

Definition at line 554 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and options_postprocess_verify_ce().

◆ verify_x509_type

int options::verify_x509_type

Definition at line 553 of file options.h.

Referenced by add_option(), do_init_crypto_tls(), and do_option_warnings().

◆ virtual_hash_size

int options::virtual_hash_size

Definition at line 448 of file options.h.

Referenced by add_option(), init_options(), multi_init(), and options_postprocess_verify_ce().

◆ vlan_accept

enum vlan_acceptable_frames options::vlan_accept

◆ vlan_pvid

uint16_t options::vlan_pvid

◆ vlan_tagging

bool options::vlan_tagging

◆ windows_driver

enum windows_driver_type options::windows_driver

◆ writepid

const char* options::writepid

Definition at line 327 of file options.h.

Referenced by add_option(), openvpn_main(), and options_postprocess_filechecks().

◆ x509_track

const struct x509_track* options::x509_track

Definition at line 626 of file options.h.

Referenced by add_option(), and do_init_crypto_tls().


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