OpenVPN
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
uint8_t netbios_node_type
in_addr_t dns [N_DHCP_ADDR]
unsigned int dns_len
in_addr_t wins [N_DHCP_ADDR]
unsigned int wins_len
in_addr_t ntp [N_DHCP_ADDR]
unsigned int ntp_len
in_addr_t nbdd [N_DHCP_ADDR]
unsigned int nbdd_len
const char * domain_search_list [N_SEARCH_LIST_LEN]
unsigned 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]
unsigned int dns6_len

Detailed Description

Definition at line 72 of file tun.h.

Field Documentation

◆ dhcp_lease_time

int tuntap_options::dhcp_lease_time

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

Referenced by add_option(), and tuntap_dhcp_mask().

◆ dhcp_masq_offset

int tuntap_options::dhcp_masq_offset

Definition at line 91 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 136 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 135 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 133 of file tun.h.

Referenced by add_option(), build_dhcp_options_string(), remove_option(), and update_option().

◆ dns

◆ dns6

struct in6_addr tuntap_options::dns6[N_DHCP_ADDR]

◆ dns6_len

unsigned int tuntap_options::dns6_len

◆ 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

unsigned int tuntap_options::domain_search_list_len

◆ ip_win32_defined

bool tuntap_options::ip_win32_defined

Definition at line 75 of file tun.h.

Referenced by add_option(), and options_postprocess_verify_ce().

◆ ip_win32_type

◆ msg_channel

◆ nbdd

in_addr_t tuntap_options::nbdd[N_DHCP_ADDR]

◆ nbdd_len

unsigned int tuntap_options::nbdd_len

◆ netbios_node_type

uint8_t tuntap_options::netbios_node_type

Definition at line 105 of file tun.h.

Referenced by add_option(), build_dhcp_options_string(), remove_option(), and update_option().

◆ netbios_scope

const char* tuntap_options::netbios_scope

Definition at line 103 of file tun.h.

Referenced by add_option(), build_dhcp_options_string(), remove_option(), and update_option().

◆ ntp

in_addr_t tuntap_options::ntp[N_DHCP_ADDR]

◆ ntp_len

unsigned int tuntap_options::ntp_len

◆ register_dns

bool tuntap_options::register_dns

Definition at line 138 of file tun.h.

Referenced by add_option(), and fork_register_dns_action().

◆ tap_sleep

int tuntap_options::tap_sleep

Definition at line 95 of file tun.h.

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

◆ wins

◆ wins_len


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