FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | dns_pending_request_t |
struct | dns_resolve_name_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 dns_resolve_name | ( | u8 * | name, |
dns_cache_entry_t ** | ep, | ||
dns_pending_request_t * | t0, | ||
dns_resolve_name_t * | rn | ||
) |
int vnet_dns_cname_indirection_nolock | ( | vlib_main_t * | vm, |
dns_main_t * | dm, | ||
u32 | ep_index, | ||
u8 * | reply | ||
) |
void vnet_dns_create_resolver_process | ( | vlib_main_t * | vm, |
dns_main_t * | dm | ||
) |
Definition at line 349 of file resolver_process.c.
int vnet_dns_delete_entry_by_index_nolock | ( | dns_main_t * | dm, |
u32 | index | ||
) |
int vnet_dns_resolve_name | ( | vlib_main_t * | vm, |
dns_main_t * | dm, | ||
u8 * | name, | ||
dns_pending_request_t * | t, | ||
dns_cache_entry_t ** | retp | ||
) |
void vnet_dns_send_dns4_request | ( | vlib_main_t * | vm, |
dns_main_t * | dm, | ||
dns_cache_entry_t * | ep, | ||
ip4_address_t * | server | ||
) |
void vnet_dns_send_dns6_request | ( | vlib_main_t * | vm, |
dns_main_t * | dm, | ||
dns_cache_entry_t * | ep, | ||
ip6_address_t * | server | ||
) |
void vnet_send_dns4_reply | ( | vlib_main_t * | vm, |
dns_main_t * | dm, | ||
dns_pending_request_t * | t, | ||
dns_cache_entry_t * | ep, | ||
vlib_buffer_t * | b0 | ||
) |
void vnet_send_dns6_reply | ( | vlib_main_t * | vm, |
dns_main_t * | dm, | ||
dns_pending_request_t * | t, | ||
dns_cache_entry_t * | ep, | ||
vlib_buffer_t * | b0 | ||
) |
void vnet_send_dns_request | ( | vlib_main_t * | vm, |
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 |