FD.io VPP  v20.05.1-6-gf53edbc3b
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...
 
clib_spinlock_t cache_lock
 
int cache_lock_tag
 
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_t * ip6_name_servers
 
u32 resolver_process_node_index
 resolver process node index More...
 
u32 name_cache_size
 config parameters More...
 
u32 max_ttl_in_seconds
 
u32 random_seed
 
u16 msg_id_base
 message-ID base More...
 
vlib_main_tvlib_main
 
vnet_main_tvnet_main
 
api_main_tapi_main
 

Detailed Description

Definition at line 91 of file dns.h.

Field Documentation

◆ api_main

api_main_t* dns_main_t::api_main

Definition at line 128 of file dns.h.

◆ cache_entry_by_name

uword* dns_main_t::cache_entry_by_name

Find cached record by name.

Definition at line 100 of file dns.h.

◆ cache_lock

clib_spinlock_t dns_main_t::cache_lock

Definition at line 101 of file dns.h.

◆ cache_lock_tag

int dns_main_t::cache_lock_tag

Definition at line 102 of file dns.h.

◆ entries

dns_cache_entry_t* dns_main_t::entries

Pool of cache entries.

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

◆ ip6_name_servers

ip6_address_t* dns_main_t::ip6_name_servers

Definition at line 112 of file dns.h.

◆ is_enabled

int dns_main_t::is_enabled

enable / disable flag

Definition at line 105 of file dns.h.

◆ max_ttl_in_seconds

u32 dns_main_t::max_ttl_in_seconds

Definition at line 119 of file dns.h.

◆ msg_id_base

u16 dns_main_t::msg_id_base

message-ID base

Definition at line 123 of file dns.h.

◆ name_cache_size

u32 dns_main_t::name_cache_size

config parameters

Definition at line 118 of file dns.h.

◆ random_seed

u32 dns_main_t::random_seed

Definition at line 120 of file dns.h.

◆ resolver_process_node_index

u32 dns_main_t::resolver_process_node_index

resolver process node index

Definition at line 115 of file dns.h.

◆ udp_ports_registered

int dns_main_t::udp_ports_registered

udp port registration complete

Definition at line 108 of file dns.h.

◆ unresolved_entries

u32* dns_main_t::unresolved_entries

Pool indices of unresolved entries.

Definition at line 97 of file dns.h.

◆ vlib_main

vlib_main_t* dns_main_t::vlib_main

Definition at line 126 of file dns.h.

◆ vnet_main

vnet_main_t* dns_main_t::vnet_main

Definition at line 127 of file dns.h.


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