FD.io VPP  v19.01.3-6-g70449b9b9
Vector Packet Processing
resolver_process.c File Reference
+ Include dependency graph for resolver_process.c:

Go to the source code of this file.

Macros

#define vl_typedefs   /* define message structures */
 
#define vl_endianfun   /* define message structures */
 
#define vl_print(handle, ...)   vlib_cli_output (handle, __VA_ARGS__)
 
#define vl_printfun
 

Functions

int vnet_dns_response_to_reply (u8 *response, vl_api_dns_resolve_name_reply_t *rmp, u32 *min_ttlp)
 
int vnet_dns_response_to_name (u8 *response, vl_api_dns_resolve_ip_reply_t *rmp, u32 *min_ttlp)
 
static void resolve_event (dns_main_t *dm, f64 now, u8 *reply)
 
static void retry_scan (dns_main_t *dm, f64 now)
 
static uword dns_resolver_process (vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)
 

Variables

vlib_node_registration_t dns_resolver_node
 (constructor) VLIB_REGISTER_NODE (dns_resolver_node) More...
 

Macro Definition Documentation

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 29 of file resolver_process.c.

◆ vl_print

#define vl_print (   handle,
  ... 
)    vlib_cli_output (handle, __VA_ARGS__)

Definition at line 34 of file resolver_process.c.

◆ vl_printfun

#define vl_printfun

Definition at line 35 of file resolver_process.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 25 of file resolver_process.c.

Function Documentation

◆ dns_resolver_process()

static uword dns_resolver_process ( vlib_main_t vm,
vlib_node_runtime_t rt,
vlib_frame_t f 
)
static

Definition at line 282 of file resolver_process.c.

+ Here is the call graph for this function:

◆ resolve_event()

static void resolve_event ( dns_main_t dm,
f64  now,
u8 reply 
)
static

Definition at line 53 of file resolver_process.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ retry_scan()

static void retry_scan ( dns_main_t dm,
f64  now 
)
static

Definition at line 265 of file resolver_process.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_dns_response_to_name()

int vnet_dns_response_to_name ( u8 response,
vl_api_dns_resolve_ip_reply_t rmp,
u32 min_ttlp 
)

Definition at line 1290 of file dns.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_dns_response_to_reply()

int vnet_dns_response_to_reply ( u8 response,
vl_api_dns_resolve_name_reply_t rmp,
u32 min_ttlp 
)

Definition at line 1149 of file dns.c.

+ Here is the caller graph for this function:

Variable Documentation

◆ dns_resolver_node

vlib_node_registration_t dns_resolver_node
Initial value:
=
{
.function = dns_resolver_process,
.name = "dns-resolver-process",
}
static uword dns_resolver_process(vlib_main_t *vm, vlib_node_runtime_t *rt, vlib_frame_t *f)

(constructor) VLIB_REGISTER_NODE (dns_resolver_node)

Definition at line 41 of file resolver_process.c.