OpenVPN
Data Fields
tuntap_options Struct Reference

#include <tun.h>

Data Fields

bool ip_win32_defined
 
int ip_win32_type
 
HANDLE msg_channel
 
bool dhcp_masq_custom_offset
 
int dhcp_masq_offset
 
int dhcp_lease_time
 
int tap_sleep
 
bool 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 62 of file tun.h.

Field Documentation

◆ dhcp_lease_time

int tuntap_options::dhcp_lease_time

Definition at line 81 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 79 of file tun.h.

Referenced by add_option(), and tuntap_dhcp_mask().

◆ dhcp_masq_offset

int tuntap_options::dhcp_masq_offset

Definition at line 80 of file tun.h.

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

◆ dhcp_options

bool tuntap_options::dhcp_options

Definition at line 88 of file tun.h.

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

◆ dhcp_pre_release

bool tuntap_options::dhcp_pre_release

Definition at line 125 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 124 of file tun.h.

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

◆ disable_nbt

bool tuntap_options::disable_nbt

Definition at line 122 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 129 of file tun.h.

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

◆ dns6_len

int tuntap_options::dns6_len

◆ dns_len

int tuntap_options::dns_len

◆ domain

const char* tuntap_options::domain

Definition at line 90 of file tun.h.

Referenced by add_option(), build_dhcp_options_string(), do_dns_domain_service(), and open_null().

◆ domain_search_list

const char* tuntap_options::domain_search_list[N_SEARCH_LIST_LEN]

Definition at line 118 of file tun.h.

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

◆ domain_search_list_len

int tuntap_options::domain_search_list_len

Definition at line 119 of file tun.h.

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

◆ ip_win32_defined

bool tuntap_options::ip_win32_defined

Definition at line 64 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 112 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 113 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 94 of file tun.h.

Referenced by add_option(), and build_dhcp_options_string().

◆ netbios_scope

const char* tuntap_options::netbios_scope

Definition at line 92 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 108 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 109 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 127 of file tun.h.

Referenced by add_option(), and fork_register_dns_action().

◆ tap_sleep

int tuntap_options::tap_sleep

Definition at line 84 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]

Definition at line 104 of file tun.h.

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

◆ wins_len

int tuntap_options::wins_len

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