OpenVPN
|
#include <tun.h>
Data Fields | |
int | type |
int | topology |
bool | did_ifconfig_setup |
bool | did_ifconfig_ipv6_setup |
bool | persistent_if |
struct tuntap_options | options |
char * | actual_name |
in_addr_t | local |
in_addr_t | remote_netmask |
struct in6_addr | local_ipv6 |
struct in6_addr | remote_ipv6 |
int | netbits_ipv6 |
HANDLE | hand |
struct overlapped_io | reads |
struct overlapped_io | writes |
struct rw_handle | rw_handle |
bool | ipapi_context_defined |
ULONG | ipapi_context |
ULONG | ipapi_instance |
in_addr_t | adapter_netmask |
DWORD | adapter_index |
enum windows_driver_type | windows_driver |
int | standby_iter |
HANDLE | wintun_send_ring_handle |
HANDLE | wintun_receive_ring_handle |
struct tun_ring * | wintun_send_ring |
struct tun_ring * | wintun_receive_ring |
unsigned int | rwflags_debug |
dco_context_t | dco |
char* tuntap::actual_name |
Definition at line 186 of file tun.h.
Referenced by add_route_ipv6(), add_routes(), close_tun(), delete_route_ipv6(), do_address_service(), do_close_tun(), do_dns_domain_service(), do_dns_service(), do_open_tun(), do_route_ipv6_service(), do_set_mtu_service(), do_wins_service(), open_null(), process_outgoing_tun(), route_ipv6_ipapi(), tun_open_device(), undo_ifconfig_ipv4(), and undo_ifconfig_ipv6().
DWORD tuntap::adapter_index |
Definition at line 211 of file tun.h.
Referenced by add_route_ipv6(), add_wfp_block(), dco_start_tun(), dhcp_release(), dhcp_renew(), do_address_service(), do_close_tun(), do_dns_domain_service(), do_dns_domain_wmic(), do_dns_service(), do_ifconfig_ipv4(), do_ifconfig_ipv6(), do_open_tun(), do_route_ipv6_service(), do_set_mtu_service(), do_wins_service(), fork_dhcp_action(), get_tun_adapter(), init_tun_post(), netsh_delete_address_dns(), route_ipv6_ipapi(), service_enable_dhcp(), tun_open_device(), tun_standby(), tuntap_set_ip_addr(), and tuntap_set_ip_props().
in_addr_t tuntap::adapter_netmask |
Definition at line 207 of file tun.h.
Referenced by do_address_service(), do_ifconfig_ipv4(), init_tun(), is_adapter_up(), tun_standby(), tuntap_dhcp_mask(), tuntap_set_ip_addr(), and tuntap_set_ip_props().
dco_context_t tuntap::dco |
Definition at line 234 of file tun.h.
Referenced by check_dco_key_status(), dco_start_tun(), do_init_crypto_tls(), do_open_tun(), io_wait_dowork(), multi_client_setup_dco_initial(), multi_print_status(), multi_tcp_wait(), p2p_set_dco_keepalive(), process_incoming_dco(), and setenv_stats().
bool tuntap::did_ifconfig_ipv6_setup |
Definition at line 180 of file tun.h.
Referenced by add_routes(), close_tun(), do_ifconfig(), do_ifconfig_setenv(), init_tun(), tuntap_set_ptp(), and undo_ifconfig().
bool tuntap::did_ifconfig_setup |
Definition at line 179 of file tun.h.
Referenced by add_routes(), close_tun(), do_ifconfig(), do_ifconfig_ipv6(), do_ifconfig_setenv(), ifconfig_options_string(), init_tun(), test_routes(), tuntap_post_open(), tuntap_set_ip_addr(), tuntap_set_ptp(), and undo_ifconfig().
HANDLE tuntap::hand |
Definition at line 197 of file tun.h.
Referenced by clear_tuntap(), close_tun_handle(), create_socket_dco_win(), dco_get_peer_stats(), dco_start_tun(), read_incoming_tun(), service_register_ring_buffers(), tap_win_getinfo(), tun_read_queue(), tun_show_debug(), tun_try_open_device(), tun_write_queue(), tun_write_win32(), tuntap_defined(), tuntap_dhcp_mask(), tuntap_get_mtu(), tuntap_get_version_info(), tuntap_set_connected(), tuntap_set_ptp(), and wintun_register_ring_buffer().
ULONG tuntap::ipapi_context |
Definition at line 205 of file tun.h.
Referenced by close_tun(), and tuntap_set_ip_addr().
bool tuntap::ipapi_context_defined |
Definition at line 204 of file tun.h.
Referenced by close_tun(), and tuntap_set_ip_addr().
ULONG tuntap::ipapi_instance |
Definition at line 206 of file tun.h.
Referenced by tuntap_set_ip_addr().
in_addr_t tuntap::local |
Definition at line 189 of file tun.h.
Referenced by do_address_service(), do_close_tun(), do_ifconfig(), do_ifconfig_ipv4(), do_ifconfig_setenv(), do_open_tun(), ifconfig_options_string(), init_tun(), initialization_sequence_completed(), is_adapter_up(), multi_init(), multi_select_virtual_addr(), netsh_delete_address_dns(), tun_standby(), tuntap_dhcp_mask(), tuntap_set_ip_addr(), tuntap_set_ip_props(), tuntap_set_ptp(), and undo_ifconfig_ipv4().
struct in6_addr tuntap::local_ipv6 |
Definition at line 192 of file tun.h.
Referenced by add_route_connected_v6_net(), delete_route_connected_v6_net(), do_address_service(), do_ifconfig(), do_ifconfig_ipv6(), do_ifconfig_setenv(), init_tun(), initialization_sequence_completed(), multi_select_virtual_addr(), netsh_delete_address_dns(), and undo_ifconfig_ipv6().
int tuntap::netbits_ipv6 |
Definition at line 194 of file tun.h.
Referenced by add_route_connected_v6_net(), delete_route_connected_v6_net(), do_address_service(), do_ifconfig_ipv6(), do_ifconfig_setenv(), init_tun(), and undo_ifconfig_ipv6().
struct tuntap_options tuntap::options |
Definition at line 184 of file tun.h.
Referenced by add_route_ipv6(), close_tun(), delete_route_ipv6(), dhcp_release(), dhcp_renew(), do_address_service(), do_dns_domain_service(), do_dns_domain_wmic(), do_dns_service(), do_ifconfig_ipv4(), do_ifconfig_ipv6(), do_open_tun(), do_route_ipv4_service(), do_route_ipv6_service(), do_set_mtu_service(), do_wins_service(), fork_dhcp_action(), fork_register_dns_action(), init_tun_post(), netsh_delete_address_dns(), open_tun(), register_dns_service(), service_enable_dhcp(), service_register_ring_buffers(), tun_standby(), tuntap_dhcp_mask(), tuntap_set_connected(), tuntap_set_ip_addr(), tuntap_set_ip_props(), and wintun_register_ring_buffer().
struct overlapped_io tuntap::reads |
Definition at line 198 of file tun.h.
Referenced by close_tun_handle(), init_tun_post(), read_incoming_tun(), read_wintun(), tun_read_queue(), and tun_stat().
struct in6_addr tuntap::remote_ipv6 |
Definition at line 193 of file tun.h.
Referenced by do_ifconfig_ipv6(), do_ifconfig_setenv(), and init_tun().
in_addr_t tuntap::remote_netmask |
Definition at line 190 of file tun.h.
Referenced by do_close_tun(), do_ifconfig_ipv4(), do_ifconfig_setenv(), do_open_tun(), ifconfig_options_string(), init_tun(), multi_select_virtual_addr(), tuntap_dhcp_mask(), tuntap_set_ptp(), and undo_ifconfig_ipv4().
struct rw_handle tuntap::rw_handle |
Definition at line 200 of file tun.h.
Referenced by close_tun_handle(), init_tun_post(), service_register_ring_buffers(), tun_event_handle(), wintun_register_ring_buffer(), and write_wintun().
unsigned int tuntap::rwflags_debug |
Definition at line 232 of file tun.h.
Referenced by tun_set(), and tun_stat().
int tuntap::standby_iter |
Definition at line 214 of file tun.h.
Referenced by tun_standby(), and tun_standby_init().
int tuntap::topology |
Definition at line 177 of file tun.h.
Referenced by do_ifconfig_ipv4(), ifconfig_options_string(), init_tun(), is_tun_p2p(), tuntap_dhcp_mask(), and tuntap_set_ptp().
int tuntap::type |
Definition at line 174 of file tun.h.
Referenced by add_route_ipv6(), delete_route_ipv6(), do_address_service(), do_ifconfig_ipv4(), do_ifconfig_ipv6(), do_route_ipv6_service(), ifconfig_options_string(), init_tun(), is_tun_p2p(), is_tun_type_set(), netsh_delete_address_dns(), open_tun(), route_ipv6_ipapi(), tuntap_dhcp_mask(), tuntap_get_version_info(), tuntap_post_open(), and undo_ifconfig().
enum windows_driver_type tuntap::windows_driver |
Definition at line 213 of file tun.h.
Referenced by close_tun_handle(), create_dco_handle(), do_init_tun(), init_tun_post(), open_tun(), read_incoming_tun(), tap_win_getinfo(), tun_open_device(), tun_set(), tun_show_debug(), tun_try_open_device(), tuntap_is_dco_win(), tuntap_is_wintun(), tuntap_post_open(), tuntap_set_ip_addr(), and write_tun_buffered().
struct tun_ring* tuntap::wintun_receive_ring |
Definition at line 219 of file tun.h.
Referenced by close_tun_handle(), wintun_register_ring_buffer(), and write_wintun().
HANDLE tuntap::wintun_receive_ring_handle |
Definition at line 217 of file tun.h.
Referenced by close_tun_handle(), init_tun_post(), service_register_ring_buffers(), and wintun_register_ring_buffer().
struct tun_ring* tuntap::wintun_send_ring |
Definition at line 218 of file tun.h.
Referenced by close_tun_handle(), read_wintun(), tuntap_ring_empty(), and wintun_register_ring_buffer().
HANDLE tuntap::wintun_send_ring_handle |
Definition at line 216 of file tun.h.
Referenced by close_tun_handle(), init_tun_post(), service_register_ring_buffers(), and wintun_register_ring_buffer().
struct overlapped_io tuntap::writes |
Definition at line 199 of file tun.h.
Referenced by close_tun_handle(), init_tun_post(), tun_stat(), tun_write_queue(), and tun_write_win32().