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

Field Documentation

◆ dhcp_lease_time

int tuntap_options::dhcp_lease_time

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

Referenced by add_option(), and tuntap_dhcp_mask().

◆ dhcp_masq_offset

int tuntap_options::dhcp_masq_offset

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

Referenced by add_option(), and tuntap_set_ip_addr().

◆ dhcp_renew

bool tuntap_options::dhcp_renew

Definition at line 138 of file tun.h.

Referenced by add_option(), and tuntap_set_ip_addr().

◆ disable_nbt

bool tuntap_options::disable_nbt

Definition at line 136 of file tun.h.

Referenced by add_option().

◆ dns

in_addr_t tuntap_options::dns[N_DHCP_ADDR]

◆ dns6

struct in6_addr tuntap_options::dns6[N_DHCP_ADDR]

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

Definition at line 105 of file tun.h.

Referenced by add_option(), do_dns_domain_service(), and do_dns_domain_wmic().

◆ domain_search_list

const char* tuntap_options::domain_search_list[N_SEARCH_LIST_LEN]

Definition at line 132 of file tun.h.

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

◆ domain_search_list_len

int tuntap_options::domain_search_list_len

Definition at line 133 of file tun.h.

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

◆ ip_win32_defined

bool tuntap_options::ip_win32_defined

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

Referenced by add_option(), and show_tuntap_options().

◆ nbdd_len

int tuntap_options::nbdd_len

Definition at line 127 of file tun.h.

Referenced by add_option(), and show_tuntap_options().

◆ netbios_node_type

int tuntap_options::netbios_node_type

Definition at line 109 of file tun.h.

Referenced by add_option().

◆ netbios_scope

const char* tuntap_options::netbios_scope

Definition at line 107 of file tun.h.

Referenced by add_option().

◆ ntp

in_addr_t tuntap_options::ntp[N_DHCP_ADDR]

Definition at line 122 of file tun.h.

Referenced by add_option(), and show_tuntap_options().

◆ ntp_len

int tuntap_options::ntp_len

Definition at line 123 of file tun.h.

Referenced by add_option(), and show_tuntap_options().

◆ register_dns

bool tuntap_options::register_dns

Definition at line 141 of file tun.h.

Referenced by add_option(), and fork_register_dns_action().

◆ tap_sleep

int tuntap_options::tap_sleep

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

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

◆ wins_len

int tuntap_options::wins_len

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