FD.io VPP  v21.06-3-gbb25fbf28
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

◆ dns46_reply_next_t

Enumerator
DNS46_REPLY_NEXT_DROP 
DNS46_REPLY_NEXT_PUNT 
DNS46_REPLY_N_NEXT 

Definition at line 50 of file reply_node.c.

Function Documentation

◆ dns46_reply_node_fn()

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:

◆ format_dns46_reply_trace()

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

Definition at line 31 of file reply_node.c.

Variable Documentation

◆ dns46_reply_error_strings

char* dns46_reply_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}

Definition at line 44 of file reply_node.c.

◆ dns46_reply_node

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",
},
}

(constructor) VLIB_REGISTER_NODE (dns46_reply_node)

Definition at line 21 of file reply_node.c.

dns46_reply_error_strings
static char * dns46_reply_error_strings[]
Definition: reply_node.c:44
VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
DNS46_REPLY_N_NEXT
@ DNS46_REPLY_N_NEXT
Definition: reply_node.c:54
u32
unsigned int u32
Definition: types.h:88
dns46_reply_node_fn
static uword dns46_reply_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: reply_node.c:58
DNS46_REPLY_NEXT_PUNT
@ DNS46_REPLY_NEXT_PUNT
Definition: reply_node.c:53
DNS46_REPLY_NEXT_DROP
@ DNS46_REPLY_NEXT_DROP
Definition: reply_node.c:52
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123
foreach_dns46_reply_error
#define foreach_dns46_reply_error
Definition: dns.h:158
format_dns46_reply_trace
static u8 * format_dns46_reply_trace(u8 *s, va_list *args)
Definition: reply_node.c:31