FD.io VPP
v19.08.3-2-gbabecb413
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | dns_pending_request_t |
struct | dns_cache_entry_t |
struct | dns_main_t |
Macros | |
#define | DNS_CACHE_ENTRY_FLAG_VALID (1<<0) |
we have Actual Data More... | |
#define | DNS_CACHE_ENTRY_FLAG_STATIC (1<<1) |
static entry More... | |
#define | DNS_CACHE_ENTRY_FLAG_CNAME (1<<2) |
CNAME (indirect) entry. More... | |
#define | DNS_RETRIES_PER_SERVER 3 |
#define | DNS_RESOLVER_EVENT_RESOLVED 1 |
#define | DNS_RESOLVER_EVENT_PENDING 2 |
#define | foreach_dns46_request_error |
#define | foreach_dns46_reply_error |
Enumerations | |
enum | dns_pending_request_type_t { DNS_API_PENDING_NAME_TO_IP = 1, DNS_API_PENDING_IP_TO_NAME, DNS_PEER_PENDING_NAME_TO_IP, DNS_PEER_PENDING_IP_TO_NAME } |
enum | dns46_request_error_t { DNS46_REQUEST_N_ERROR } |
enum | dns46_reply_error_t { DNS46_REPLY_N_ERROR } |
Variables | |
dns_main_t | dns_main |
vlib_node_registration_t | dns46_reply_node |
(constructor) VLIB_REGISTER_NODE (dns46_reply_node) More... | |
vlib_node_registration_t | dns4_request_node |
(constructor) VLIB_REGISTER_NODE (dns4_request_node) More... | |
vlib_node_registration_t | dns6_request_node |
(constructor) VLIB_REGISTER_NODE (dns6_request_node) More... | |
format_function_t | format_dns_reply |
#define DNS_CACHE_ENTRY_FLAG_CNAME (1<<2) |
#define foreach_dns46_reply_error |
#define foreach_dns46_request_error |
enum dns46_reply_error_t |
|
inlinestatic |
|
inlinestatic |
int vnet_dns_cname_indirection_nolock | ( | dns_main_t * | dm, |
u32 | ep_index, | ||
u8 * | reply | ||
) |
void vnet_dns_create_resolver_process | ( | dns_main_t * | dm | ) |
Definition at line 363 of file resolver_process.c.
int vnet_dns_delete_entry_by_index_nolock | ( | dns_main_t * | dm, |
u32 | index | ||
) |
int vnet_dns_resolve_name | ( | dns_main_t * | dm, |
u8 * | name, | ||
dns_pending_request_t * | t, | ||
dns_cache_entry_t ** | retp | ||
) |
void vnet_dns_send_dns4_request | ( | dns_main_t * | dm, |
dns_cache_entry_t * | ep, | ||
ip4_address_t * | server | ||
) |
void vnet_dns_send_dns6_request | ( | dns_main_t * | dm, |
dns_cache_entry_t * | ep, | ||
ip6_address_t * | server | ||
) |
void vnet_send_dns4_reply | ( | dns_main_t * | dm, |
dns_pending_request_t * | t, | ||
dns_cache_entry_t * | ep, | ||
vlib_buffer_t * | b0 | ||
) |
void vnet_send_dns6_reply | ( | dns_main_t * | dm, |
dns_pending_request_t * | t, | ||
dns_cache_entry_t * | ep, | ||
vlib_buffer_t * | b0 | ||
) |
void vnet_send_dns_request | ( | dns_main_t * | dm, |
dns_cache_entry_t * | ep | ||
) |
vlib_node_registration_t dns46_reply_node |
(constructor) VLIB_REGISTER_NODE (dns46_reply_node)
Definition at line 42 of file reply_node.c.
vlib_node_registration_t dns4_request_node |
(constructor) VLIB_REGISTER_NODE (dns4_request_node)
Definition at line 293 of file request_node.c.
vlib_node_registration_t dns6_request_node |
(constructor) VLIB_REGISTER_NODE (dns6_request_node)
Definition at line 320 of file request_node.c.
dns_main_t dns_main |
format_function_t format_dns_reply |