FD.io VPP  v18.04-17-g3a0d853
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

#define vl_endianfun   /* define message structures */

Definition at line 29 of file resolver_process.c.

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

Definition at line 34 of file resolver_process.c.

#define vl_printfun

Definition at line 35 of file resolver_process.c.

#define vl_typedefs   /* define message structures */

Definition at line 25 of file resolver_process.c.

Function Documentation

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:

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:

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:

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

Definition at line 1272 of file dns.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 1131 of file dns.c.

+ Here is the caller graph for this function:

Variable Documentation

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.