OpenVPN
Data Fields
tuntap_options Struct Reference

#include <tun.h>

Data Fields

bool ip_win32_defined
 
bool disable_dco
 
int ip_win32_type
 
HANDLE msg_channel
 
bool dhcp_masq_custom_offset
 
int dhcp_masq_offset
 
int dhcp_lease_time
 
int tap_sleep
 
int dhcp_options
 
const char * domain
 
const char * netbios_scope
 
int netbios_node_type
 
in_addr_t dns [N_DHCP_ADDR]
 
int dns_len
 
in_addr_t wins [N_DHCP_ADDR]
 
int wins_len
 
in_addr_t ntp [N_DHCP_ADDR]
 
int ntp_len
 
in_addr_t nbdd [N_DHCP_ADDR]
 
int nbdd_len
 
const char * domain_search_list [N_SEARCH_LIST_LEN]
 
int domain_search_list_len
 
bool disable_nbt
 
bool dhcp_renew
 
bool dhcp_pre_release
 
bool register_dns
 
struct in6_addr dns6 [N_DHCP_ADDR]
 
int dns6_len
 

Detailed Description

Definition at line 69 of file tun.h.

Field Documentation

◆ dhcp_lease_time

int tuntap_options::dhcp_lease_time

Definition at line 90 of file tun.h.

Referenced by add_option(), init_options(), and tuntap_dhcp_mask().

◆ dhcp_masq_custom_offset

bool tuntap_options::dhcp_masq_custom_offset

Definition at line 88 of file tun.h.

Referenced by add_option(), and tuntap_dhcp_mask().

◆ dhcp_masq_offset

int tuntap_options::dhcp_masq_offset

Definition at line 89 of file tun.h.

Referenced by add_option(), init_options(), and tuntap_dhcp_mask().

◆ dhcp_options

int tuntap_options::dhcp_options

◆ dhcp_pre_release

bool tuntap_options::dhcp_pre_release

Definition at line 133 of file tun.h.

Referenced by add_option(), fork_dhcp_action(), and tuntap_set_ip_addr().

◆ dhcp_renew

bool tuntap_options::dhcp_renew

Definition at line 132 of file tun.h.

Referenced by add_option(), fork_dhcp_action(), and tuntap_set_ip_addr().

◆ disable_dco

bool tuntap_options::disable_dco

◆ disable_nbt

bool tuntap_options::disable_nbt

Definition at line 130 of file tun.h.

Referenced by add_option(), and build_dhcp_options_string().

◆ dns

in_addr_t tuntap_options::dns[N_DHCP_ADDR]

◆ dns6

struct in6_addr tuntap_options::dns6[N_DHCP_ADDR]

Definition at line 137 of file tun.h.

Referenced by add_option(), do_dns_service(), do_ifconfig_ipv6(), and tuntap_options_copy_dns().

◆ dns6_len

int tuntap_options::dns6_len

◆ dns_len

int tuntap_options::dns_len

◆ domain

const char* tuntap_options::domain

◆ domain_search_list

const char* tuntap_options::domain_search_list[N_SEARCH_LIST_LEN]

◆ domain_search_list_len

int tuntap_options::domain_search_list_len

◆ ip_win32_defined

bool tuntap_options::ip_win32_defined

Definition at line 71 of file tun.h.

Referenced by add_option(), and options_postprocess_verify_ce().

◆ ip_win32_type

int tuntap_options::ip_win32_type

◆ msg_channel

HANDLE tuntap_options::msg_channel

◆ nbdd

in_addr_t tuntap_options::nbdd[N_DHCP_ADDR]

Definition at line 120 of file tun.h.

Referenced by add_option(), build_dhcp_options_string(), and show_tuntap_options().

◆ nbdd_len

int tuntap_options::nbdd_len

Definition at line 121 of file tun.h.

Referenced by add_option(), build_dhcp_options_string(), and show_tuntap_options().

◆ netbios_node_type

int tuntap_options::netbios_node_type

Definition at line 103 of file tun.h.

Referenced by add_option(), and build_dhcp_options_string().

◆ netbios_scope

const char* tuntap_options::netbios_scope

Definition at line 101 of file tun.h.

Referenced by add_option(), and build_dhcp_options_string().

◆ ntp

in_addr_t tuntap_options::ntp[N_DHCP_ADDR]

Definition at line 116 of file tun.h.

Referenced by add_option(), build_dhcp_options_string(), and show_tuntap_options().

◆ ntp_len

int tuntap_options::ntp_len

Definition at line 117 of file tun.h.

Referenced by add_option(), build_dhcp_options_string(), and show_tuntap_options().

◆ register_dns

bool tuntap_options::register_dns

Definition at line 135 of file tun.h.

Referenced by add_option(), and fork_register_dns_action().

◆ tap_sleep

int tuntap_options::tap_sleep

Definition at line 93 of file tun.h.

Referenced by add_option(), options_postprocess_mutate_invariant(), and tuntap_set_connected().

◆ wins

in_addr_t tuntap_options::wins[N_DHCP_ADDR]

◆ wins_len

int tuntap_options::wins_len

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