Data Fields
tuntap Struct Reference

#include <tun.h>

Collaboration diagram for tuntap:
Collaboration graph

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
int txqueuelen
in_addr_t local
in_addr_t remote_netmask
struct in6_addr local_ipv6
struct in6_addr remote_ipv6
int netbits_ipv6
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_ringwintun_send_ring
struct tun_ringwintun_receive_ring
unsigned int rwflags_debug
int post_open_mtu

Detailed Description

Definition at line 151 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

◆ did_ifconfig_ipv6_setup

bool tuntap::did_ifconfig_ipv6_setup

◆ did_ifconfig_setup

bool tuntap::did_ifconfig_setup

◆ hand

HANDLE tuntap::hand

◆ ipapi_context

ULONG tuntap::ipapi_context

Definition at line 188 of file tun.h.

Referenced by close_tun(), and tuntap_set_ip_addr().

◆ ipapi_context_defined

bool tuntap::ipapi_context_defined

Definition at line 187 of file tun.h.

Referenced by close_tun(), and tuntap_set_ip_addr().

◆ ipapi_instance

ULONG tuntap::ipapi_instance

Definition at line 189 of file tun.h.

Referenced by tuntap_set_ip_addr().

◆ 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 162 of file tun.h.

Referenced by open_null().

◆ post_open_mtu

int tuntap::post_open_mtu

Definition at line 219 of file tun.h.

Referenced by do_open_tun(), and tuntap_get_mtu().

◆ reads

struct overlapped_io tuntap::reads

◆ remote_ipv6

struct in6_addr tuntap::remote_ipv6

Definition at line 176 of file tun.h.

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

◆ remote_netmask

in_addr_t tuntap::remote_netmask

◆ rw_handle

struct rw_handle tuntap::rw_handle

◆ rwflags_debug

unsigned int tuntap::rwflags_debug

Definition at line 215 of file tun.h.

Referenced by tun_set(), and tun_stat().

◆ standby_iter

int tuntap::standby_iter

Definition at line 197 of file tun.h.

Referenced by tun_standby(), and tun_standby_init().

◆ topology

int tuntap::topology

◆ txqueuelen

int tuntap::txqueuelen

Definition at line 169 of file tun.h.

◆ type

int tuntap::type

◆ windows_driver

enum windows_driver_type tuntap::windows_driver

◆ wintun_receive_ring

struct tun_ring* tuntap::wintun_receive_ring

Definition at line 202 of file tun.h.

Referenced by close_tun(), wintun_register_ring_buffer(), and write_wintun().

◆ wintun_receive_ring_handle

HANDLE tuntap::wintun_receive_ring_handle

◆ wintun_send_ring

struct tun_ring* tuntap::wintun_send_ring

Definition at line 201 of file tun.h.

Referenced by close_tun(), read_wintun(), tuntap_ring_empty(), and wintun_register_ring_buffer().

◆ wintun_send_ring_handle

HANDLE tuntap::wintun_send_ring_handle

◆ writes

struct overlapped_io tuntap::writes

Definition at line 182 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: