FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
in_out_acl.h File Reference
+ Include dependency graph for in_out_acl.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  in_out_acl_main_t
 

Enumerations

enum  acl_next_index_t { ACL_NEXT_INDEX_DENY, ACL_NEXT_INDEX_N_NEXT }
 
enum  in_out_acl_table_id_t { IN_OUT_ACL_TABLE_IP4, IN_OUT_ACL_TABLE_IP6, IN_OUT_ACL_TABLE_L2, IN_OUT_ACL_N_TABLES }
 
enum  in_out_acl_table_group_id_t { IN_OUT_ACL_INPUT_TABLE_GROUP, IN_OUT_ACL_OUTPUT_TABLE_GROUP, IN_OUT_ACL_N_TABLE_GROUPS }
 

Functions

int vnet_set_in_out_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, u32 is_output)
 
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)
 
int vnet_set_output_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)
 

Variables

in_out_acl_main_t in_out_acl_main
 

Enumeration Type Documentation

◆ acl_next_index_t

Enumerator
ACL_NEXT_INDEX_DENY 
ACL_NEXT_INDEX_N_NEXT 

Definition at line 23 of file in_out_acl.h.

◆ in_out_acl_table_group_id_t

Enumerator
IN_OUT_ACL_INPUT_TABLE_GROUP 
IN_OUT_ACL_OUTPUT_TABLE_GROUP 
IN_OUT_ACL_N_TABLE_GROUPS 

Definition at line 37 of file in_out_acl.h.

◆ in_out_acl_table_id_t

Enumerator
IN_OUT_ACL_TABLE_IP4 
IN_OUT_ACL_TABLE_IP6 
IN_OUT_ACL_TABLE_L2 
IN_OUT_ACL_N_TABLES 

Definition at line 29 of file in_out_acl.h.

Function Documentation

◆ vnet_set_in_out_acl_intfc()

int vnet_set_in_out_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,
u32  is_output 
)

Definition at line 70 of file in_out_acl.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_set_input_acl_intfc()

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 129 of file in_out_acl.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ vnet_set_output_acl_intfc()

int vnet_set_output_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 139 of file in_out_acl.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ in_out_acl_main

in_out_acl_main_t in_out_acl_main

Definition at line 21 of file in_out_acl.c.