FD.io VPP  v18.01.2-1-g9b554f3
Vector Packet Processing
input_acl.c File Reference
+ Include dependency graph for input_acl.c:

Go to the source code of this file.

Functions

static int vnet_inacl_ip_feature_enable (vlib_main_t *vnm, input_acl_main_t *am, u32 sw_if_index, input_acl_table_id_t tid, int feature_enable)
 
int vnet_set_input_acl_intfc (vlib_main_t *vm, u32 sw_if_index, u32 ip4_table_index, u32 ip6_table_index, u32 l2_table_index, u32 is_add)
 
static clib_error_tset_input_acl_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 
clib_error_tinput_acl_init (vlib_main_t *vm)
 
uword unformat_acl_type (unformat_input_t *input, va_list *args)
 
u8format_vnet_inacl_info (u8 *s, va_list *va)
 
static clib_error_tshow_inacl_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
 

Variables

input_acl_main_t input_acl_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_inacl_command
 (constructor) VLIB_CLI_COMMAND (show_inacl_command) More...
 

Function Documentation

u8* format_vnet_inacl_info ( u8 s,
va_list *  va 
)

Definition at line 227 of file input_acl.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

clib_error_t* input_acl_init ( vlib_main_t vm)

Definition at line 187 of file input_acl.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

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

Definition at line 111 of file input_acl.c.

+ Here is the call graph for this function:

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

Definition at line 247 of file input_acl.c.

+ Here is the call graph for this function:

uword unformat_acl_type ( unformat_input_t input,
va_list *  args 
)

Definition at line 205 of file input_acl.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

static int vnet_inacl_ip_feature_enable ( vlib_main_t vnm,
input_acl_main_t am,
u32  sw_if_index,
input_acl_table_id_t  tid,
int  feature_enable 
)
static

Definition at line 22 of file input_acl.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int vnet_set_input_acl_intfc ( vlib_main_t vm,
u32  sw_if_index,
u32  ip4_table_index,
u32  ip6_table_index,
u32  l2_table_index,
u32  is_add 
)

Definition at line 59 of file input_acl.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Variable Documentation

input_acl_main_t input_acl_main

Definition at line 19 of file input_acl.c.

vlib_cli_command_t set_input_acl_command
static
Initial value:
= {
.path = "set interface input acl",
.short_help =
"set interface input acl intfc <int> [ip4-table <index>]\n"
" [ip6-table <index>] [l2-table <index>] [del]",
}
static clib_error_t * set_input_acl_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: input_acl.c:111

(constructor) VLIB_CLI_COMMAND (set_input_acl_command)

Definition at line 177 of file input_acl.c.

vlib_cli_command_t show_inacl_command
static
Initial value:
= {
.path = "show inacl",
.short_help = "show inacl type [ip4|ip6|l2]",
.function = show_inacl_command_fn,
}
static clib_error_t * show_inacl_command_fn(vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd)
Definition: input_acl.c:247

(constructor) VLIB_CLI_COMMAND (show_inacl_command)

Definition at line 286 of file input_acl.c.