OpenVPN
|
Level 1 context containing state that persists across SIGUSR1
restarts.
More...
#include <openvpn.h>
Data Fields | |
struct link_socket_addr | link_socket_addr |
Local and remote addresses on the external network. More... | |
struct key_schedule | ks |
struct cached_dns_entry * | dns_cache |
struct packet_id_persist | pid_persist |
struct tuntap * | tuntap |
Tun/tap virtual network interface. More... | |
bool | tuntap_owned |
Whether the tun/tap interface should be cleaned up when this context is cleaned up. More... | |
struct route_list * | route_list |
List of routing information. More... | |
struct route_ipv6_list * | route_ipv6_list |
struct status_output * | status_output |
bool | status_output_owned |
struct http_proxy_info * | http_proxy |
bool | http_proxy_owned |
struct socks_proxy_info * | socks_proxy |
bool | socks_proxy_owned |
struct ifconfig_pool_persist * | ifconfig_pool_persist |
bool | ifconfig_pool_persist_owned |
struct sha256_digest | pulled_options_digest_save |
Hash of option strings received from the remote OpenVPN server. More... | |
struct user_pass * | auth_user_pass |
Username and password for authentication. More... | |
Level 1 context containing state that persists across SIGUSR1
restarts.
Level 1 state is reset on SIGHUP
restarts. This structure is initialized for every iteration of the main()
function's outer SIGHUP
loop, but persists over iteration of that function's inner SIGUSR1
loop.
struct user_pass* context_1::auth_user_pass |
struct cached_dns_entry* context_1::dns_cache |
Definition at line 165 of file openvpn.h.
Referenced by do_preresolve_host(), and link_socket_init_phase1().
struct http_proxy_info* context_1::http_proxy |
Definition at line 187 of file openvpn.h.
Referenced by init_proxy_dowork(), link_socket_init_phase1(), and uninit_proxy_dowork().
bool context_1::http_proxy_owned |
Definition at line 188 of file openvpn.h.
Referenced by init_proxy_dowork(), and uninit_proxy_dowork().
struct ifconfig_pool_persist* context_1::ifconfig_pool_persist |
Definition at line 195 of file openvpn.h.
Referenced by do_close_ifconfig_pool_persist(), do_open_ifconfig_pool_persist(), multi_ifconfig_pool_persist(), and multi_init().
bool context_1::ifconfig_pool_persist_owned |
Definition at line 196 of file openvpn.h.
Referenced by do_close_ifconfig_pool_persist(), do_open_ifconfig_pool_persist(), and inherit_context_top().
struct key_schedule context_1::ks |
Definition at line 162 of file openvpn.h.
Referenced by check_send_occ_load_test_dowork(), check_send_occ_msg_dowork(), do_close_free_key_schedule(), do_init_crypto_none(), do_init_crypto_static(), do_init_crypto_tls(), do_init_crypto_tls_c1(), do_init_fragment(), do_init_tls_wrap_key(), frame_adjust_path_mtu(), get_frame_mtu(), inherit_context_child(), init_instance(), and test_crypto_thread().
struct link_socket_addr context_1::link_socket_addr |
Local and remote addresses on the external network.
Definition at line 157 of file openvpn.h.
Referenced by check_ping_restart(), do_close_link_socket(), do_init_tun(), inherit_context_child(), link_socket_init_phase1(), and next_connection_entry().
struct packet_id_persist context_1::pid_persist |
Definition at line 168 of file openvpn.h.
Referenced by context_init_1(), do_close_packet_id(), do_init_crypto_static(), do_init_crypto_tls(), inherit_context_child(), init_crypto_pre(), and process_coarse_timers().
struct sha256_digest context_1::pulled_options_digest_save |
Hash of option strings received from the remote OpenVPN server.
Only used in client-mode.
Definition at line 199 of file openvpn.h.
Referenced by do_close_tun_simple(), and do_up().
struct route_ipv6_list* context_1::route_ipv6_list |
Definition at line 180 of file openvpn.h.
Referenced by check_add_routes_action(), do_alloc_route_list(), do_close_tun(), and do_open_tun().
struct route_list* context_1::route_list |
List of routing information.
See the –route
command line option.
Definition at line 175 of file openvpn.h.
Referenced by add_wfp_block(), check_add_routes(), check_add_routes_action(), del_wfp_block(), do_alloc_route_list(), do_close_tun(), do_open_tun(), and process_ip_header().
struct socks_proxy_info* context_1::socks_proxy |
Definition at line 191 of file openvpn.h.
Referenced by init_proxy_dowork(), link_socket_init_phase1(), and uninit_proxy_dowork().
bool context_1::socks_proxy_owned |
Definition at line 192 of file openvpn.h.
Referenced by init_proxy_dowork(), and uninit_proxy_dowork().
struct status_output* context_1::status_output |
Definition at line 183 of file openvpn.h.
Referenced by check_status_file(), do_close_status_output(), do_open_status_output(), multi_process_per_second_timers_dowork(), and process_coarse_timers().
bool context_1::status_output_owned |
Definition at line 184 of file openvpn.h.
Referenced by do_close_status_output(), do_open_status_output(), and inherit_context_top().
struct tuntap* context_1::tuntap |
Tun/tap virtual network interface.
Definition at line 170 of file openvpn.h.
Referenced by add_wfp_block(), check_add_routes(), check_add_routes_action(), check_dco_key_status(), create_socket_dco_win(), dco_get_peer_stats(), do_close_link_socket(), do_close_tun(), do_close_tun_simple(), do_compute_occ_strings(), do_init_crypto_tls(), do_init_tun(), do_open_tun(), do_up(), drop_if_recursive_routing(), inherit_context_child(), initialization_sequence_completed(), io_wait(), io_wait_dowork(), ipv6_send_icmp_unreachable(), multi_add_iroutes(), multi_client_connect_early_setup(), multi_client_connect_late_setup(), multi_client_setup_dco_initial(), multi_del_iroutes(), multi_init(), multi_print_status(), multi_process_incoming_link(), multi_process_incoming_tun(), multi_select_virtual_addr(), multi_set_virtual_addr_env(), multi_tcp_wait(), p2mp_iow_flags(), p2p_iow_flags(), p2p_set_dco_keepalive(), pre_select(), print_status(), process_incoming_dco(), process_incoming_link_part2(), process_incoming_tun(), process_ip_header(), process_outgoing_tun(), read_incoming_link(), read_incoming_tun(), and setenv_stats().
bool context_1::tuntap_owned |
Whether the tun/tap interface should be cleaned up when this context is cleaned up.
Definition at line 171 of file openvpn.h.
Referenced by do_close_tun(), do_close_tun_simple(), do_init_tun(), do_open_tun(), and inherit_context_top().