FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
dns_main_t Struct Reference
+ Collaboration diagram for dns_main_t:

Data Fields

dns_cache_entry_tentries
 Pool of cache entries. More...
 
u32unresolved_entries
 Pool indices of unresolved entries. More...
 
uwordcache_entry_by_name
 Find cached record by name. More...
 
uwordcache_lock
 
int is_enabled
 enable / disable flag More...
 
int udp_ports_registered
 udp port registration complete More...
 
ip4_address_tip4_name_servers
 upstream name servers, e.g. More...
 
ip6_address_tip6_name_servers
 
u32 name_cache_size
 config parameters More...
 
u32 max_ttl_in_seconds
 
u32 random_seed
 
vlib_main_tvlib_main
 
vnet_main_tvnet_main
 

Detailed Description

Definition at line 89 of file dns.h.

Field Documentation

◆ cache_entry_by_name

uword* dns_main_t::cache_entry_by_name

Find cached record by name.

Definition at line 98 of file dns.h.

◆ cache_lock

uword* dns_main_t::cache_lock

Definition at line 99 of file dns.h.

◆ entries

dns_cache_entry_t* dns_main_t::entries

Pool of cache entries.

Definition at line 92 of file dns.h.

◆ ip4_name_servers

ip4_address_t* dns_main_t::ip4_name_servers

upstream name servers, e.g.

8.8.8.8

Definition at line 108 of file dns.h.

◆ ip6_name_servers

ip6_address_t* dns_main_t::ip6_name_servers

Definition at line 109 of file dns.h.

◆ is_enabled

int dns_main_t::is_enabled

enable / disable flag

Definition at line 102 of file dns.h.

◆ max_ttl_in_seconds

u32 dns_main_t::max_ttl_in_seconds

Definition at line 113 of file dns.h.

◆ name_cache_size

u32 dns_main_t::name_cache_size

config parameters

Definition at line 112 of file dns.h.

◆ random_seed

u32 dns_main_t::random_seed

Definition at line 114 of file dns.h.

◆ udp_ports_registered

int dns_main_t::udp_ports_registered

udp port registration complete

Definition at line 105 of file dns.h.

◆ unresolved_entries

u32* dns_main_t::unresolved_entries

Pool indices of unresolved entries.

Definition at line 95 of file dns.h.

◆ vlib_main

vlib_main_t* dns_main_t::vlib_main

Definition at line 117 of file dns.h.

◆ vnet_main

vnet_main_t* dns_main_t::vnet_main

Definition at line 118 of file dns.h.


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