FD.io VPP  v17.04.2-2-ga8f93f8
Vector Packet Processing
node_in.c File Reference
+ Include dependency graph for node_in.c:

Go to the source code of this file.

Data Structures

struct  acl_in_trace_t
 

Macros

#define foreach_acl_in_error   _(ACL_CHECK, "InACL check packets processed")
 

Enumerations

enum  acl_in_error_t { ACL_IN_N_ERROR }
 

Functions

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

Variables

vlib_node_registration_t acl_in_node
 (constructor) VLIB_REGISTER_NODE (acl_in_node) More...
 
static char * acl_in_error_strings []
 

Macro Definition Documentation

#define foreach_acl_in_error   _(ACL_CHECK, "InACL check packets processed")

Definition at line 49 of file node_in.c.

Enumeration Type Documentation

Enumerator
ACL_IN_N_ERROR 

Definition at line 52 of file node_in.c.

Function Documentation

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

Definition at line 67 of file node_in.c.

+ Here is the call graph for this function:

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

Definition at line 33 of file node_in.c.

+ Here is the call graph for this function:

Variable Documentation

char* acl_in_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_acl_in_error
Definition: node_in.c:49

Definition at line 60 of file node_in.c.

Initial value:
=
{
.function = acl_in_node_fn,.name = "acl-plugin-in",.vector_size =
sizeof (u32),.format_trace = format_acl_in_trace,.type =
ARRAY_LEN (acl_in_error_strings),.error_strings =
.next_nodes =
{
[ACL_IN_ERROR_DROP] = "error-drop",
[ACL_IN_ETHERNET_INPUT] = "ethernet-input",
[ACL_IN_L2S_INPUT_IP4_ADD] = "aclp-l2s-input-ip4-add",
[ACL_IN_L2S_INPUT_IP6_ADD] = "aclp-l2s-input-ip6-add",}
,}
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
static uword acl_in_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: node_in.c:67
static char * acl_in_error_strings[]
Definition: node_in.c:60
static u8 * format_acl_in_trace(u8 *s, va_list *args)
Definition: node_in.c:33

(constructor) VLIB_REGISTER_NODE (acl_in_node)

Definition at line 47 of file node_in.c.