FD.io VPP  v18.01.2-1-g9b554f3
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

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

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:

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

Definition at line 279 of file request_node.c.

+ Here is the call graph for this function:

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

Definition at line 306 of file request_node.c.

+ Here is the call graph for this function:

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

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

Definition at line 44 of file request_node.c.

vlib_node_registration_t dns46_request_node

Definition at line 21 of file request_node.c.

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",
},
}
static uword dns4_request_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: request_node.c:279
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
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 287 of file request_node.c.

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",
},
}
static uword dns6_request_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: request_node.c:306
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
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 314 of file request_node.c.