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 |
int | post_open_mtu |
char* tuntap::actual_name |
Definition at line 170 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(), open_null(), process_outgoing_tun(), and tun_open_device().
DWORD tuntap::adapter_index |
Definition at line 195 of file tun.h.
Referenced by add_route_ipv6(), delete_route_ipv6(), dhcp_release(), dhcp_renew(), do_address_service(), do_close_tun(), do_dns_domain_service(), do_dns_service(), do_ifconfig_ipv4(), do_ifconfig_ipv6(), do_open_tun(), do_route_ipv6_service(), do_set_mtu_service(), fork_dhcp_action(), get_tun_adapter(), init_tun_post(), netsh_delete_address_dns(), 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 191 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().
bool tuntap::did_ifconfig_ipv6_setup |
Definition at line 164 of file tun.h.
Referenced by add_routes(), close_tun(), do_ifconfig(), do_ifconfig_setenv(), init_tun(), open_null(), and tuntap_set_ptp().
bool tuntap::did_ifconfig_setup |
Definition at line 163 of file tun.h.
Referenced by add_routes(), close_tun(), do_ifconfig(), do_ifconfig_ipv6(), do_ifconfig_setenv(), ifconfig_options_string(), init_tun(), open_null(), test_routes(), tuntap_post_open(), tuntap_set_ip_addr(), and tuntap_set_ptp().
HANDLE tuntap::hand |
Definition at line 181 of file tun.h.
Referenced by clear_tuntap(), close_tun(), read_tun_buffered(), 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 189 of file tun.h.
Referenced by close_tun(), and tuntap_set_ip_addr().
bool tuntap::ipapi_context_defined |
Definition at line 188 of file tun.h.
Referenced by close_tun(), and tuntap_set_ip_addr().
ULONG tuntap::ipapi_instance |
Definition at line 190 of file tun.h.
Referenced by tuntap_set_ip_addr().
in_addr_t tuntap::local |
Definition at line 173 of file tun.h.
Referenced by delete_route_connected_v6_net(), 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(), open_null(), tun_standby(), tuntap_dhcp_mask(), tuntap_set_ip_addr(), tuntap_set_ip_props(), and tuntap_set_ptp().
struct in6_addr tuntap::local_ipv6 |
Definition at line 176 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 open_null().
int tuntap::netbits_ipv6 |
Definition at line 178 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 open_null().
struct tuntap_options tuntap::options |
Definition at line 168 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_service(), do_ifconfig_ipv4(), do_ifconfig_ipv6(), do_open_tun(), do_route_ipv4_service(), do_route_ipv6_service(), do_set_mtu_service(), fork_dhcp_action(), fork_register_dns_action(), init_tun_post(), netsh_delete_address_dns(), open_null(), 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().
bool tuntap::persistent_if |
Definition at line 166 of file tun.h.
Referenced by open_null().
int tuntap::post_open_mtu |
Definition at line 220 of file tun.h.
Referenced by do_open_tun(), and tuntap_get_mtu().
struct overlapped_io tuntap::reads |
Definition at line 182 of file tun.h.
Referenced by close_tun(), init_tun_post(), read_tun_buffered(), read_wintun(), tun_read_queue(), and tun_stat().
struct in6_addr tuntap::remote_ipv6 |
Definition at line 177 of file tun.h.
Referenced by do_ifconfig_ipv6(), do_ifconfig_setenv(), and init_tun().
in_addr_t tuntap::remote_netmask |
Definition at line 174 of file tun.h.
Referenced by delete_route_connected_v6_net(), do_close_tun(), do_ifconfig_ipv4(), do_ifconfig_setenv(), do_open_tun(), ifconfig_options_string(), init_tun(), multi_select_virtual_addr(), open_null(), tuntap_dhcp_mask(), and tuntap_set_ptp().
struct rw_handle tuntap::rw_handle |
Definition at line 184 of file tun.h.
Referenced by close_tun(), 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 216 of file tun.h.
Referenced by tun_set(), and tun_stat().
int tuntap::standby_iter |
Definition at line 198 of file tun.h.
Referenced by tun_standby(), and tun_standby_init().
int tuntap::topology |
Definition at line 161 of file tun.h.
Referenced by do_ifconfig_ipv4(), ifconfig_options_string(), init_tun(), is_tun_p2p(), tuntap_dhcp_mask(), tuntap_ring_empty(), and tuntap_set_ptp().
int tuntap::type |
Definition at line 158 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(), netsh_delete_address_dns(), open_null(), open_tun(), tuntap_dhcp_mask(), tuntap_get_version_info(), and tuntap_post_open().
enum windows_driver_type tuntap::windows_driver |
Definition at line 197 of file tun.h.
Referenced by close_tun(), do_init_tun(), init_tun_post(), read_incoming_tun(), tap_win_getinfo(), tun_open_device(), tun_set(), tun_show_debug(), tun_try_open_device(), tuntap_is_wintun(), tuntap_post_open(), tuntap_set_ip_addr(), and write_tun_buffered().
struct tun_ring* tuntap::wintun_receive_ring |
Definition at line 203 of file tun.h.
Referenced by close_tun(), wintun_register_ring_buffer(), and write_wintun().
HANDLE tuntap::wintun_receive_ring_handle |
Definition at line 201 of file tun.h.
Referenced by close_tun(), init_tun_post(), service_register_ring_buffers(), and wintun_register_ring_buffer().
struct tun_ring* tuntap::wintun_send_ring |
Definition at line 202 of file tun.h.
Referenced by close_tun(), read_wintun(), tuntap_ring_empty(), and wintun_register_ring_buffer().
HANDLE tuntap::wintun_send_ring_handle |
Definition at line 200 of file tun.h.
Referenced by close_tun(), init_tun_post(), service_register_ring_buffers(), and wintun_register_ring_buffer().
struct overlapped_io tuntap::writes |
Definition at line 183 of file tun.h.
Referenced by close_tun(), init_tun_post(), tun_stat(), tun_write_queue(), and tun_write_win32().