OpenVPN
|
Level 1 context containing state that persists across SIGUSR1
restarts.
More...
#include <openvpn.h>
Data Fields | |
int | link_sockets_num |
struct link_socket_addr * | link_socket_addrs |
Local and remote addresses on the external network. | |
struct key_schedule | ks |
struct cached_dns_entry * | dns_cache |
struct packet_id_persist | pid_persist |
struct tuntap * | tuntap |
Tun/tap virtual network interface. | |
bool | tuntap_owned |
Whether the tun/tap interface should be cleaned up when this context is cleaned up. | |
struct route_list * | route_list |
List of routing information. | |
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. | |
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 cached_dns_entry* context_1::dns_cache |
Definition at line 166 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 188 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 189 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 196 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 197 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 163 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_addrs |
Local and remote addresses on the external network.
Definition at line 158 of file openvpn.h.
Referenced by check_ping_restart(), do_close_link_socket(), do_init_tun(), do_link_socket_addr_new(), inherit_context_child(), link_socket_init_phase1(), and next_connection_entry().
int context_1::link_sockets_num |
Definition at line 157 of file openvpn.h.
Referenced by context_init_1(), do_close_link_socket(), do_deferred_options(), do_init_socket_phase1(), do_init_socket_phase2(), do_link_socket_addr_new(), do_link_socket_new(), inherit_context_child(), init_instance(), multi_io_process_flags(), multi_io_wait(), and sockets_read_residual().
struct packet_id_persist context_1::pid_persist |
Definition at line 169 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 200 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 181 of file openvpn.h.
Referenced by check_add_routes_action(), 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 176 of file openvpn.h.
Referenced by add_wfp_block(), check_add_routes(), check_add_routes_action(), del_wfp_block(), do_close_tun(), and do_open_tun().
struct socks_proxy_info* context_1::socks_proxy |
Definition at line 192 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 193 of file openvpn.h.
Referenced by init_proxy_dowork(), and uninit_proxy_dowork().
struct status_output* context_1::status_output |
Definition at line 184 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 185 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 171 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_deferred_options_part2(), do_deferred_p2p_ncp(), do_init_crypto_tls(), do_init_tun(), do_open_tun(), do_up(), drop_if_recursive_routing(), get_io_flags_udp(), ifconfig_noexec_enabled(), 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_generate_tls_keys(), multi_del_iroutes(), multi_init(), multi_io_process_flags(), multi_io_wait(), multi_print_status(), multi_process_incoming_link(), multi_select_virtual_addr(), multi_set_virtual_addr_env(), open_tun_backend(), p2mp_iow_flags(), p2p_iow_flags(), pre_select(), print_status(), process_incoming_dco(), process_incoming_link_part2(), process_incoming_tun(), process_outgoing_tun(), 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 172 of file openvpn.h.
Referenced by do_close_tun(), do_close_tun_simple(), do_init_tun(), do_open_tun(), and inherit_context_top().