OpenVPN
Data Fields
tuntap Struct Reference

#include <tun.h>

Collaboration diagram for tuntap:
Collaboration graph
[legend]

Data Fields

int type
 
int topology
 
bool did_ifconfig_setup
 
bool did_ifconfig_ipv6_setup
 
bool did_ifconfig
 
bool persistent_if
 
struct tuntap_options options
 
char * actual_name
 
int txqueuelen
 
in_addr_t local
 
in_addr_t remote_netmask
 
in_addr_t broadcast
 
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
 
int standby_iter
 
unsigned int rwflags_debug
 
int post_open_mtu
 

Detailed Description

Definition at line 131 of file tun.h.

Field Documentation

◆ actual_name

char* tuntap::actual_name

◆ adapter_index

DWORD tuntap::adapter_index

◆ adapter_netmask

in_addr_t tuntap::adapter_netmask

Definition at line 172 of file tun.h.

Referenced by do_ifconfig(), init_tun(), is_adapter_up(), open_tun(), and tun_standby().

◆ broadcast

in_addr_t tuntap::broadcast

Definition at line 155 of file tun.h.

Referenced by do_ifconfig(), do_ifconfig_setenv(), and init_tun().

◆ did_ifconfig

bool tuntap::did_ifconfig

Definition at line 141 of file tun.h.

Referenced by do_ifconfig(), and open_null().

◆ did_ifconfig_ipv6_setup

bool tuntap::did_ifconfig_ipv6_setup

Definition at line 140 of file tun.h.

Referenced by add_routes(), close_tun(), do_ifconfig(), do_ifconfig_setenv(), init_tun(), and open_null().

◆ did_ifconfig_setup

bool tuntap::did_ifconfig_setup

Definition at line 139 of file tun.h.

Referenced by do_ifconfig(), do_ifconfig_setenv(), ifconfig_options_string(), init_tun(), and open_tun().

◆ hand

HANDLE tuntap::hand

◆ ipapi_context

ULONG tuntap::ipapi_context

Definition at line 170 of file tun.h.

Referenced by close_tun(), and open_tun().

◆ ipapi_context_defined

bool tuntap::ipapi_context_defined

Definition at line 169 of file tun.h.

Referenced by close_tun(), and open_tun().

◆ ipapi_instance

ULONG tuntap::ipapi_instance

Definition at line 171 of file tun.h.

Referenced by open_tun().

◆ local

in_addr_t tuntap::local

◆ local_ipv6

struct in6_addr tuntap::local_ipv6

◆ netbits_ipv6

int tuntap::netbits_ipv6

◆ options

struct tuntap_options tuntap::options

◆ persistent_if

bool tuntap::persistent_if

Definition at line 143 of file tun.h.

Referenced by open_null().

◆ post_open_mtu

int tuntap::post_open_mtu

Definition at line 195 of file tun.h.

Referenced by do_open_tun(), and open_tun().

◆ reads

struct overlapped_io tuntap::reads

Definition at line 163 of file tun.h.

Referenced by close_tun(), init_tun_post(), read_tun_buffered(), tun_read_queue(), and tun_stat().

◆ remote_ipv6

struct in6_addr tuntap::remote_ipv6

Definition at line 158 of file tun.h.

Referenced by do_ifconfig(), do_ifconfig_setenv(), and init_tun().

◆ remote_netmask

in_addr_t tuntap::remote_netmask

◆ rw_handle

struct rw_handle tuntap::rw_handle

Definition at line 165 of file tun.h.

Referenced by init_tun_post(), and tun_event_handle().

◆ rwflags_debug

unsigned int tuntap::rwflags_debug

Definition at line 191 of file tun.h.

Referenced by tun_set(), and tun_stat().

◆ standby_iter

int tuntap::standby_iter

Definition at line 178 of file tun.h.

Referenced by tun_standby(), and tun_standby_init().

◆ topology

int tuntap::topology

◆ txqueuelen

int tuntap::txqueuelen

Definition at line 150 of file tun.h.

◆ type

int tuntap::type

◆ writes

struct overlapped_io tuntap::writes

Definition at line 164 of file tun.h.

Referenced by close_tun(), init_tun_post(), tun_stat(), tun_write_queue(), and tun_write_win32().


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