|
| VLIB_PLUGIN_REGISTER () |
|
static void | vl_api_acl_plugin_get_version_t_handler (vl_api_acl_plugin_get_version_t *mp) |
|
static int | acl_add_list (u32 count, vl_api_acl_rule_t rules[], u32 *acl_list_index, u8 *tag) |
|
static int | acl_del_list (u32 acl_list_index) |
|
static int | count_skip (u8 *p, u32 size) |
|
static int | acl_classify_add_del_table_big (vnet_classify_main_t *cm, u8 *mask, u32 mask_len, u32 next_table_index, u32 miss_next_index, u32 *table_index, int is_add) |
|
static int | acl_classify_add_del_table_small (vnet_classify_main_t *cm, u8 *mask, u32 mask_len, u32 next_table_index, u32 miss_next_index, u32 *table_index, int is_add) |
|
static int | acl_unhook_l2_input_classify (acl_main_t *am, u32 sw_if_index) |
|
static int | acl_unhook_l2_output_classify (acl_main_t *am, u32 sw_if_index) |
|
static int | acl_hook_l2_input_classify (acl_main_t *am, u32 sw_if_index) |
|
static int | acl_hook_l2_output_classify (acl_main_t *am, u32 sw_if_index) |
|
int | acl_interface_in_enable_disable (acl_main_t *am, u32 sw_if_index, int enable_disable) |
|
int | acl_interface_out_enable_disable (acl_main_t *am, u32 sw_if_index, int enable_disable) |
|
static int | acl_interface_add_inout_acl (u32 sw_if_index, u8 is_input, u32 acl_list_index) |
|
static int | acl_interface_del_inout_acl (u32 sw_if_index, u8 is_input, u32 acl_list_index) |
|
static void | acl_interface_reset_inout_acls (u32 sw_if_index, u8 is_input) |
|
static int | acl_interface_add_del_inout_acl (u32 sw_if_index, u8 is_add, u8 is_input, u32 acl_list_index) |
|
static void * | get_ptr_to_offset (vlib_buffer_t *b0, int offset) |
|
static u8 | acl_get_l4_proto (vlib_buffer_t *b0, int node_is_ip6) |
|
static int | acl_match_addr (ip46_address_t *addr1, ip46_address_t *addr2, int prefixlen, int is_ip6) |
|
static int | acl_match_port (u16 port, u16 port_first, u16 port_last, int is_ip6) |
|
static int | acl_packet_match (acl_main_t *am, u32 acl_index, vlib_buffer_t *b0, u8 *r_action, int *r_is_ip6, u32 *r_acl_match_p, u32 *r_rule_match_p, u32 *trace_bitmap) |
|
void | input_acl_packet_match (u32 sw_if_index, vlib_buffer_t *b0, u32 *nextp, u32 *acl_match_p, u32 *rule_match_p, u32 *trace_bitmap) |
|
void | output_acl_packet_match (u32 sw_if_index, vlib_buffer_t *b0, u32 *nextp, u32 *acl_match_p, u32 *rule_match_p, u32 *trace_bitmap) |
|
static u32 | macip_find_match_type (macip_match_type_t *mv, u8 *mac_mask, u8 prefix_len, u8 is_ipv6) |
|
static int | match_type_metric (macip_match_type_t *m) |
|
static int | match_type_compare (macip_match_type_t *m1, macip_match_type_t *m2) |
|
static int | get_l3_src_offset (int is6) |
|
static int | macip_create_classify_tables (acl_main_t *am, u32 macip_acl_index) |
|
static void | macip_destroy_classify_tables (acl_main_t *am, u32 macip_acl_index) |
|
static int | macip_acl_add_list (u32 count, vl_api_macip_acl_rule_t rules[], u32 *acl_list_index, u8 *tag) |
|
static int | macip_acl_interface_del_acl (acl_main_t *am, u32 sw_if_index) |
|
static int | macip_acl_interface_add_acl (acl_main_t *am, u32 sw_if_index, u32 macip_acl_index) |
|
static int | macip_acl_del_list (u32 acl_list_index) |
|
static int | macip_acl_interface_add_del_acl (u32 sw_if_index, u8 is_add, u32 acl_list_index) |
|
static void | vl_api_acl_add_replace_t_handler (vl_api_acl_add_replace_t *mp) |
|
static void | vl_api_acl_del_t_handler (vl_api_acl_del_t *mp) |
|
static void | vl_api_acl_interface_add_del_t_handler (vl_api_acl_interface_add_del_t *mp) |
|
static void | vl_api_acl_interface_set_acl_list_t_handler (vl_api_acl_interface_set_acl_list_t *mp) |
|
static void | copy_acl_rule_to_api_rule (vl_api_acl_rule_t *api_rule, acl_rule_t *r) |
|
static void | send_acl_details (acl_main_t *am, unix_shared_memory_queue_t *q, acl_list_t *acl, u32 context) |
|
static void | vl_api_acl_dump_t_handler (vl_api_acl_dump_t *mp) |
|
static void | send_acl_interface_list_details (acl_main_t *am, unix_shared_memory_queue_t *q, u32 sw_if_index, u32 context) |
|
static void | vl_api_acl_interface_list_dump_t_handler (vl_api_acl_interface_list_dump_t *mp) |
|
static void | vl_api_macip_acl_add_t_handler (vl_api_macip_acl_add_t *mp) |
|
static void | vl_api_macip_acl_del_t_handler (vl_api_macip_acl_del_t *mp) |
|
static void | vl_api_macip_acl_interface_add_del_t_handler (vl_api_macip_acl_interface_add_del_t *mp) |
|
static void | send_macip_acl_details (acl_main_t *am, unix_shared_memory_queue_t *q, macip_acl_list_t *acl, u32 context) |
|
static void | vl_api_macip_acl_dump_t_handler (vl_api_macip_acl_dump_t *mp) |
|
static void | vl_api_macip_acl_interface_get_t_handler (vl_api_macip_acl_interface_get_t *mp) |
|
static clib_error_t * | acl_plugin_api_hookup (vlib_main_t *vm) |
|
static void | setup_message_id_table (acl_main_t *am, api_main_t *apim) |
|
u32 | register_match_action_nexts (u32 next_in_ip4, u32 next_in_ip6, u32 next_out_ip4, u32 next_out_ip6) |
|
void | acl_setup_nodes (void) |
|
void | acl_setup_fa_nodes (void) |
|
void | acl_set_timeout_sec (int timeout_type, u32 value) |
|
void | acl_set_session_max_entries (u32 value) |
|
int | acl_set_skip_ipv6_eh (u32 eh, u32 value) |
|
static clib_error_t * | acl_sw_interface_add_del (vnet_main_t *vnm, u32 sw_if_index, u32 is_add) |
|
| VNET_SW_INTERFACE_ADD_DEL_FUNCTION (acl_sw_interface_add_del) |
|
static clib_error_t * | acl_set_aclplugin_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | acl_show_aclplugin_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | acl_init (vlib_main_t *vm) |
|