FD.io VPP  v19.08-27-gf4dcae4
Vector Packet Processing
dns_main_t Struct Reference
+ Collaboration diagram for dns_main_t:

Data Fields

 Pool of cache entries. More...
 Pool indices of unresolved entries. More...
 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...
 upstream name servers, e.g. More...
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...

Detailed Description

Definition at line 91 of file dns.h.

Field Documentation

api_main_t* dns_main_t::api_main

Definition at line 128 of file dns.h.

uword* dns_main_t::cache_entry_by_name

Find cached record by name.

Definition at line 100 of file dns.h.

clib_spinlock_t dns_main_t::cache_lock

Definition at line 101 of file dns.h.

int dns_main_t::cache_lock_tag

Definition at line 102 of file dns.h.

dns_cache_entry_t* dns_main_t::entries

Pool of cache entries.

Definition at line 94 of file dns.h.

ip4_address_t* dns_main_t::ip4_name_servers

upstream name servers, e.g.

Definition at line 111 of file dns.h.

ip6_address_t* dns_main_t::ip6_name_servers

Definition at line 112 of file dns.h.

int dns_main_t::is_enabled

enable / disable flag

Definition at line 105 of file dns.h.

u32 dns_main_t::max_ttl_in_seconds

Definition at line 119 of file dns.h.

u16 dns_main_t::msg_id_base

message-ID base

Definition at line 123 of file dns.h.

u32 dns_main_t::name_cache_size

config parameters

Definition at line 118 of file dns.h.

u32 dns_main_t::random_seed

Definition at line 120 of file dns.h.

u32 dns_main_t::resolver_process_node_index

resolver process node index

Definition at line 115 of file dns.h.

int dns_main_t::udp_ports_registered

udp port registration complete

Definition at line 108 of file dns.h.

u32* dns_main_t::unresolved_entries

Pool indices of unresolved entries.

Definition at line 97 of file dns.h.

vlib_main_t* dns_main_t::vlib_main

Definition at line 126 of file dns.h.

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: