FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
reply_node.c File Reference
+ Include dependency graph for reply_node.c:

Go to the source code of this file.

Data Structures

struct  dns46_reply_trace_t
 

Enumerations

enum  dns46_reply_next_t { DNS46_REPLY_NEXT_DROP, DNS46_REPLY_NEXT_PUNT, DNS46_REPLY_N_NEXT }
 

Functions

static u8format_dns46_reply_trace (u8 *s, va_list *args)
 
static uword dns46_reply_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

vlib_node_registration_t dns46_reply_node
 (constructor) VLIB_REGISTER_NODE (dns46_reply_node) More...
 
static char * dns46_reply_error_strings []
 

Enumeration Type Documentation

Enumerator
DNS46_REPLY_NEXT_DROP 
DNS46_REPLY_NEXT_PUNT 
DNS46_REPLY_N_NEXT 

Definition at line 50 of file reply_node.c.

Function Documentation

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

Definition at line 58 of file reply_node.c.

+ Here is the call graph for this function:

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

Definition at line 31 of file reply_node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

char* dns46_reply_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_dns46_reply_error
Definition: dns.h:142

Definition at line 44 of file reply_node.c.

vlib_node_registration_t dns46_reply_node
Initial value:
=
{
.function = dns46_reply_node_fn,
.name = "dns46_reply",
.vector_size = sizeof (u32),
.format_trace = format_dns46_reply_trace,
.error_strings = dns46_reply_error_strings,
.n_next_nodes = DNS46_REPLY_N_NEXT,
.next_nodes = {
[DNS46_REPLY_NEXT_DROP] = "error-drop",
[DNS46_REPLY_NEXT_PUNT] = "error-punt",
},
}
static uword dns46_reply_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: reply_node.c:58
unsigned int u32
Definition: types.h:88
static u8 * format_dns46_reply_trace(u8 *s, va_list *args)
Definition: reply_node.c:31
static char * dns46_reply_error_strings[]
Definition: reply_node.c:44
#define ARRAY_LEN(x)
Definition: clib.h:59

(constructor) VLIB_REGISTER_NODE (dns46_reply_node)

Definition at line 21 of file reply_node.c.