FD.io VPP  v19.08.3-2-gbabecb413
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)
 
void vnet_dns_create_resolver_process (dns_main_t *dm)
 

Macro Definition Documentation

◆ vl_endianfun

#define vl_endianfun   /* define message structures */

Definition at line 30 of file resolver_process.c.

◆ vl_print

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

Definition at line 35 of file resolver_process.c.

◆ vl_printfun

#define vl_printfun

Definition at line 36 of file resolver_process.c.

◆ vl_typedefs

#define vl_typedefs   /* define message structures */

Definition at line 26 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 319 of file resolver_process.c.

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

◆ resolve_event()

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

Definition at line 52 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 302 of file resolver_process.c.

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

◆ vnet_dns_create_resolver_process()

void vnet_dns_create_resolver_process ( dns_main_t dm)

Definition at line 363 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 1322 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 1181 of file dns.c.

+ Here is the caller graph for this function: