FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
flow_classify.c File Reference
+ Include dependency graph for flow_classify.c:

Go to the source code of this file.

Functions

static void vnet_flow_classify_feature_enable (vlib_main_t *vnm, flow_classify_main_t *fcm, u32 sw_if_index, flow_classify_table_id_t tid, int feature_enable)
 
int vnet_set_flow_classify_intfc (vlib_main_t *vm, u32 sw_if_index, u32 ip4_table_index, u32 ip6_table_index, u32 is_add)
 
static clib_error_tset_flow_classify_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
static uword unformat_table_type (unformat_input_t *input, va_list *va)
 
static clib_error_tshow_flow_classify_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

flow_classify_main_t flow_classify_main
 
static vlib_cli_command_t set_input_acl_command
 (constructor) VLIB_CLI_COMMAND (set_input_acl_command) More...
 
static vlib_cli_command_t show_flow_classify_command
 (constructor) VLIB_CLI_COMMAND (show_flow_classify_command) More...
 

Function Documentation

static clib_error_t* set_flow_classify_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 98 of file flow_classify.c.

+ Here is the call graph for this function:

static clib_error_t* show_flow_classify_command_fn ( vlib_main_t vm,
unformat_input_t input,
vlib_cli_command_t cmd 
)
static

Definition at line 179 of file flow_classify.c.

+ Here is the call graph for this function:

static uword unformat_table_type ( unformat_input_t input,
va_list *  va 
)
static

Definition at line 162 of file flow_classify.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static void vnet_flow_classify_feature_enable ( vlib_main_t vnm,
flow_classify_main_t fcm,
u32  sw_if_index,
flow_classify_table_id_t  tid,
int  feature_enable 
)
static

Definition at line 20 of file flow_classify.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_set_flow_classify_intfc ( vlib_main_t vm,
u32  sw_if_index,
u32  ip4_table_index,
u32  ip6_table_index,
u32  is_add 
)

Definition at line 47 of file flow_classify.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

flow_classify_main_t flow_classify_main

Definition at line 17 of file flow_classify.c.

vlib_cli_command_t set_input_acl_command
static
Initial value:
= {
.path = "set flow classify",
.short_help =
"set flow classify interface <int> [ip4-table <index>]\n"
" [ip6-table <index>] [del]",
}
static clib_error_t * set_flow_classify_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: flow_classify.c:98

(constructor) VLIB_CLI_COMMAND (set_input_acl_command)

Definition at line 152 of file flow_classify.c.

vlib_cli_command_t show_flow_classify_command
static
Initial value:
= {
.path = "show classify flow",
.short_help = "show classify flow type [ip4|ip6]",
}
static clib_error_t * show_flow_classify_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)

(constructor) VLIB_CLI_COMMAND (show_flow_classify_command)

Definition at line 217 of file flow_classify.c.