FD.io VPP  v19.08.3-2-gbabecb413
Vector Packet Processing
request_node.c File Reference
+ Include dependency graph for request_node.c:

Go to the source code of this file.

Data Structures

struct  dns46_request_trace_t
 

Enumerations

enum  dns46_request_next_t { DNS46_REQUEST_NEXT_DROP, DNS46_REQUEST_NEXT_IP_LOOKUP, DNS46_REQUEST_NEXT_PUNT, DNS46_REQUEST_N_NEXT }
 

Functions

static u8format_dns46_request_trace (u8 *s, va_list *args)
 
static uword dns46_request_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, int is_ip6)
 
static uword dns4_request_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
static uword dns6_request_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

vlib_node_registration_t dns46_request_node
 
static char * dns46_request_error_strings []
 
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...
 

Enumeration Type Documentation

◆ dns46_request_next_t

Enumerator
DNS46_REQUEST_NEXT_DROP 
DNS46_REQUEST_NEXT_IP_LOOKUP 
DNS46_REQUEST_NEXT_PUNT 
DNS46_REQUEST_N_NEXT 

Definition at line 50 of file request_node.c.

Function Documentation

◆ dns46_request_inline()

static uword dns46_request_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
int  is_ip6 
)
static

Definition at line 59 of file request_node.c.

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

◆ dns4_request_node_fn()

static uword dns4_request_node_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 285 of file request_node.c.

+ Here is the call graph for this function:

◆ dns6_request_node_fn()

static uword dns6_request_node_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 312 of file request_node.c.

+ Here is the call graph for this function:

◆ format_dns46_request_trace()

static u8* format_dns46_request_trace ( u8 s,
va_list *  args 
)
static

Definition at line 31 of file request_node.c.

+ Here is the call graph for this function:

Variable Documentation

◆ dns46_request_error_strings

char* dns46_request_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_dns46_request_error
Definition: dns.h:137

Definition at line 44 of file request_node.c.

◆ dns46_request_node

vlib_node_registration_t dns46_request_node

Definition at line 21 of file request_node.c.

◆ dns4_request_node

vlib_node_registration_t dns4_request_node
Initial value:
=
{
.function = dns4_request_node_fn,
.name = "dns4-request",
.vector_size = sizeof (u32),
.format_trace = format_dns46_request_trace,
.error_strings = dns46_request_error_strings,
.n_next_nodes = DNS46_REQUEST_N_NEXT,
.next_nodes = {
[DNS46_REQUEST_NEXT_DROP] = "error-drop",
[DNS46_REQUEST_NEXT_PUNT] = "error-punt",
[DNS46_REQUEST_NEXT_IP_LOOKUP] = "ip4-lookup",
},
}
unsigned int u32
Definition: types.h:88
static uword dns4_request_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: request_node.c:285
vl_api_fib_path_type_t type
Definition: fib_types.api:123
#define ARRAY_LEN(x)
Definition: clib.h:63
static char * dns46_request_error_strings[]
Definition: request_node.c:44
static u8 * format_dns46_request_trace(u8 *s, va_list *args)
Definition: request_node.c:31

(constructor) VLIB_REGISTER_NODE (dns4_request_node)

Definition at line 293 of file request_node.c.

◆ dns6_request_node

vlib_node_registration_t dns6_request_node
Initial value:
=
{
.function = dns6_request_node_fn,
.name = "dns6-request",
.vector_size = sizeof (u32),
.format_trace = format_dns46_request_trace,
.error_strings = dns46_request_error_strings,
.n_next_nodes = DNS46_REQUEST_N_NEXT,
.next_nodes = {
[DNS46_REQUEST_NEXT_DROP] = "error-drop",
[DNS46_REQUEST_NEXT_PUNT] = "error-punt",
[DNS46_REQUEST_NEXT_IP_LOOKUP] = "ip6-lookup",
},
}
unsigned int u32
Definition: types.h:88
vl_api_fib_path_type_t type
Definition: fib_types.api:123
static uword dns6_request_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: request_node.c:312
#define ARRAY_LEN(x)
Definition: clib.h:63
static char * dns46_request_error_strings[]
Definition: request_node.c:44
static u8 * format_dns46_request_trace(u8 *s, va_list *args)
Definition: request_node.c:31

(constructor) VLIB_REGISTER_NODE (dns6_request_node)

Definition at line 320 of file request_node.c.