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

Field Documentation

◆ dhcp_lease_time

int tuntap_options::dhcp_lease_time

Definition at line 67 of file tun.h.

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

◆ dhcp_masq_custom_offset

bool tuntap_options::dhcp_masq_custom_offset

Definition at line 65 of file tun.h.

Referenced by add_option(), and open_tun().

◆ dhcp_masq_offset

int tuntap_options::dhcp_masq_offset

Definition at line 66 of file tun.h.

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

◆ dhcp_options

bool tuntap_options::dhcp_options

Definition at line 74 of file tun.h.

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

◆ dhcp_pre_release

bool tuntap_options::dhcp_pre_release

Definition at line 105 of file tun.h.

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

◆ dhcp_renew

bool tuntap_options::dhcp_renew

Definition at line 104 of file tun.h.

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

◆ disable_nbt

bool tuntap_options::disable_nbt

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

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

◆ dns6_len

int tuntap_options::dns6_len

Definition at line 110 of file tun.h.

Referenced by add_option(), close_tun(), do_dns6_service(), do_ifconfig_ipv6(), and open_null().

◆ dns_len

int tuntap_options::dns_len

◆ domain

const char* tuntap_options::domain

Definition at line 76 of file tun.h.

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

◆ ip_win32_defined

bool tuntap_options::ip_win32_defined

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

Referenced by add_option(), and build_dhcp_options_string().

◆ netbios_scope

const char* tuntap_options::netbios_scope

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

Referenced by add_option(), and fork_register_dns_action().

◆ tap_sleep

int tuntap_options::tap_sleep

Definition at line 70 of file tun.h.

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

◆ wins

in_addr_t tuntap_options::wins[N_DHCP_ADDR]

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

Definition at line 91 of file tun.h.

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


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