|
| VLIB_PLUGIN_REGISTER () |
|
u8 * | format_vec16 (u8 *s, va_list *va) |
|
u8 | acl_plugin_acl_exists (u32 acl_index) |
|
static void * | acl_set_heap (acl_main_t *am) |
|
void * | acl_plugin_set_heap () |
|
void | acl_plugin_acl_set_validate_heap (acl_main_t *am, int on) |
|
void | acl_plugin_acl_set_trace_heap (acl_main_t *am, int on) |
|
static void | vl_api_acl_plugin_get_version_t_handler (vl_api_acl_plugin_get_version_t *mp) |
|
static void | vl_api_acl_plugin_control_ping_t_handler (vl_api_acl_plugin_control_ping_t *mp) |
|
static void | print_clib_warning_and_reset (vlib_main_t *vm, u8 *out0) |
|
static void | print_cli_and_reset (vlib_main_t *vm, u8 *out0) |
|
static void | acl_print_acl_x (acl_vector_print_func_t vpr, vlib_main_t *vm, acl_main_t *am, int acl_index) |
|
static void | acl_print_acl (vlib_main_t *vm, acl_main_t *am, int acl_index) |
|
static void | warning_acl_print_acl (vlib_main_t *vm, acl_main_t *am, int acl_index) |
|
static void | increment_policy_epoch (acl_main_t *am, u32 sw_if_index, int is_input) |
|
static void | try_increment_acl_policy_epoch (acl_main_t *am, u32 acl_num, int is_input) |
|
static void | policy_notify_acl_change (acl_main_t *am, u32 acl_num) |
|
static int | acl_add_list (u32 count, vl_api_acl_rule_t rules[], u32 *acl_list_index, u8 *tag) |
|
static int | acl_is_used_by (u32 acl_index, u32 **foo_index_vec_by_acl) |
|
static int | acl_del_list (u32 acl_list_index) |
|
static int | count_skip (u8 *p, u32 size) |
|
static int | acl_classify_add_del_table_tiny (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 void | acl_add_vlan_session (acl_main_t *am, u32 table_index, u8 is_output, u8 is_dot1ad, u8 is_ip6) |
|
static int | intf_has_etype_whitelist (acl_main_t *am, u32 sw_if_index, int is_input) |
|
static int | etype_whitelist_add_sessions (acl_main_t *am, u32 sw_if_index, int is_input, u32 etype_table_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) |
|
static void | acl_clear_sessions (acl_main_t *am, u32 sw_if_index) |
|
static int | acl_interface_in_enable_disable (acl_main_t *am, u32 sw_if_index, int enable_disable) |
|
static int | acl_interface_out_enable_disable (acl_main_t *am, u32 sw_if_index, int enable_disable) |
|
static int | acl_interface_inout_enable_disable (acl_main_t *am, u32 sw_if_index, int is_input, int enable_disable) |
|
static int | acl_is_not_defined (acl_main_t *am, u32 acl_list_index) |
|
static int | acl_interface_set_inout_acl_list (acl_main_t *am, u32 sw_if_index, u8 is_input, u32 *vec_acl_list_index, int *may_clear_sessions) |
|
static void | acl_interface_reset_inout_acls (u32 sw_if_index, u8 is_input, int *may_clear_sessions) |
|
static int | acl_interface_add_del_inout_acl (u32 sw_if_index, u8 is_add, u8 is_input, u32 acl_list_index) |
|
static int | acl_set_etype_whitelists (acl_main_t *am, u32 sw_if_index, u16 *vec_in, u16 *vec_out) |
|
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 | get_l3_dst_offset (int is6) |
|
static int | macip_permit_also_egress (u8 is_permit) |
|
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_maybe_apply_unapply_classifier_tables (acl_main_t *am, u32 acl_index, int is_apply) |
|
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 int | verify_message_len (void *mp, u32 expected_len, char *where) |
|
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, vl_api_registration_t *reg, 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, vl_api_registration_t *reg, 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_add_replace_t_handler (vl_api_macip_acl_add_replace_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, vl_api_registration_t *reg, 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 void | send_macip_acl_interface_list_details (acl_main_t *am, vl_api_registration_t *reg, u32 sw_if_index, u32 acl_index, u32 context) |
|
static void | vl_api_macip_acl_interface_list_dump_t_handler (vl_api_macip_acl_interface_list_dump_t *mp) |
|
static void | vl_api_acl_interface_set_etype_whitelist_t_handler (vl_api_acl_interface_set_etype_whitelist_t *mp) |
|
static void | send_acl_interface_etype_whitelist_details (acl_main_t *am, vl_api_registration_t *reg, u32 sw_if_index, u32 context) |
|
static void | vl_api_acl_interface_etype_whitelist_dump_t_handler (vl_api_acl_interface_list_dump_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) |
|
static void | acl_setup_fa_nodes (void) |
|
static void | acl_set_timeout_sec (int timeout_type, u32 value) |
|
static void | acl_set_session_max_entries (u32 value) |
|
static 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 u8 * | my_format_mac_address (u8 *s, va_list *args) |
|
static u8 * | my_macip_acl_rule_t_pretty_format (u8 *out, va_list *args) |
|
static void | macip_acl_print (acl_main_t *am, u32 macip_acl_index) |
|
static clib_error_t * | acl_show_aclplugin_macip_acl_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | acl_show_aclplugin_macip_interface_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | acl_plugin_show_acl (acl_main_t *am, u32 acl_index) |
|
static clib_error_t * | acl_show_aclplugin_acl_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | acl_show_aclplugin_lookup_context_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | acl_show_aclplugin_lookup_user_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | acl_plugin_show_interface (acl_main_t *am, u32 sw_if_index, int show_acl, int detail) |
|
static clib_error_t * | acl_show_aclplugin_decode_5tuple_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | acl_show_aclplugin_interface_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | acl_show_aclplugin_memory_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static void | acl_plugin_show_sessions (acl_main_t *am, u32 show_session_thread_id, u32 show_session_session_index) |
|
static clib_error_t * | acl_show_aclplugin_sessions_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | acl_show_aclplugin_tables_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | acl_clear_aclplugin_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static clib_error_t * | acl_plugin_config (vlib_main_t *vm, unformat_input_t *input) |
|
static clib_error_t * | acl_init (vlib_main_t *vm) |
|