FD.io VPP  v18.04-17-g3a0d853
Vector Packet Processing
flow_classify_node.c File Reference
+ Include dependency graph for flow_classify_node.c:

Go to the source code of this file.

Data Structures

struct  flow_classify_trace_t
 

Macros

#define foreach_flow_classify_error
 

Enumerations

enum  flow_classify_error_t { FLOW_CLASSIFY_N_ERROR }
 

Functions

static u8format_flow_classify_trace (u8 *s, va_list *args)
 
static uword flow_classify_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, flow_classify_table_id_t tid)
 
static uword ip4_flow_classify (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
 VLIB_NODE_FUNCTION_MULTIARCH (ip4_flow_classify_node, ip4_flow_classify)
 
static uword ip6_flow_classify (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
 VLIB_NODE_FUNCTION_MULTIARCH (ip6_flow_classify_node, ip6_flow_classify)
 
static clib_error_tflow_classify_init (vlib_main_t *vm)
 

Variables

static char * flow_classify_error_strings []
 
vlib_node_registration_t ip4_flow_classify_node
 (constructor) VLIB_REGISTER_NODE (ip4_flow_classify_node) More...
 
vlib_node_registration_t ip6_flow_classify_node
 (constructor) VLIB_REGISTER_NODE (ip6_flow_classify_node) More...
 

Macro Definition Documentation

#define foreach_flow_classify_error
Value:
_(MISS, "Flow classify misses") \
_(HIT, "Flow classify hits") \
_(CHAIN_HIT, "Flow classify hits after chain walk") \
_(DROP, "Flow classify action drop")
DROP
Definition: error.def:41

Definition at line 44 of file flow_classify_node.c.

Enumeration Type Documentation

Enumerator
FLOW_CLASSIFY_N_ERROR 

Definition at line 50 of file flow_classify_node.c.

Function Documentation

static clib_error_t* flow_classify_init ( vlib_main_t vm)
static

Definition at line 329 of file flow_classify_node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static uword flow_classify_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
flow_classify_table_id_t  tid 
)
inlinestatic

Definition at line 65 of file flow_classify_node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 33 of file flow_classify_node.c.

+ Here is the call graph for this function:

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

Definition at line 279 of file flow_classify_node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 303 of file flow_classify_node.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

VLIB_NODE_FUNCTION_MULTIARCH ( ip4_flow_classify_node  ,
ip4_flow_classify   
)
VLIB_NODE_FUNCTION_MULTIARCH ( ip6_flow_classify_node  ,
ip6_flow_classify   
)

Variable Documentation

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

Definition at line 58 of file flow_classify_node.c.

vlib_node_registration_t ip4_flow_classify_node
Initial value:
= {
.function = ip4_flow_classify,
.name = "ip4-flow-classify",
.vector_size = sizeof (u32),
.format_trace = format_flow_classify_trace,
.error_strings = flow_classify_error_strings,
.next_nodes = {
},
}
static char * flow_classify_error_strings[]
static u8 * format_flow_classify_trace(u8 *s, va_list *args)
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88
static uword ip4_flow_classify(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)

(constructor) VLIB_REGISTER_NODE (ip4_flow_classify_node)

Definition at line 286 of file flow_classify_node.c.

vlib_node_registration_t ip6_flow_classify_node
Initial value:
= {
.function = ip6_flow_classify,
.name = "ip6-flow-classify",
.vector_size = sizeof (u32),
.format_trace = format_flow_classify_trace,
.error_strings = flow_classify_error_strings,
.next_nodes = {
},
}
static char * flow_classify_error_strings[]
static uword ip6_flow_classify(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_flow_classify_trace(u8 *s, va_list *args)
#define ARRAY_LEN(x)
Definition: clib.h:59
unsigned int u32
Definition: types.h:88

(constructor) VLIB_REGISTER_NODE (ip6_flow_classify_node)

Definition at line 310 of file flow_classify_node.c.