|
static clib_error_t * | acl_plugin_exports_init (acl_plugin_methods_t *m) |
|
static void * | get_ptr_to_offset (vlib_buffer_t *b0, int offset) |
|
static int | offset_within_packet (vlib_buffer_t *b0, int offset) |
|
static int | offset_beyond_packet (vlib_buffer_t *b0, int offset) |
|
static void | acl_fill_5tuple_l3_data (acl_main_t *am, vlib_buffer_t *b0, int is_ip6, int l3_offset, fa_5tuple_t *p5tuple_pkt) |
|
static void | acl_fill_5tuple_l4_and_pkt_data (acl_main_t *am, u32 sw_if_index0, vlib_buffer_t *b0, int is_ip6, int is_input, int l3_offset, fa_session_l4_key_t *p5tuple_l4, fa_packet_info_t *p5tuple_pkt) |
|
static void | acl_fill_5tuple (acl_main_t *am, u32 sw_if_index0, vlib_buffer_t *b0, int is_ip6, int is_input, int is_l2_path, fa_5tuple_t *p5tuple_pkt) |
|
static void | acl_plugin_fill_5tuple_inline (void *p_acl_main, u32 lc_index, vlib_buffer_t *b0, int is_ip6, int is_input, int is_l2_path, fa_5tuple_opaque_t *p5tuple_pkt) |
|
static int | fa_acl_match_ip4_addr (ip4_address_t *addr1, ip4_address_t *addr2, int prefixlen) |
|
static int | fa_acl_match_ip6_addr (ip6_address_t *addr1, ip6_address_t *addr2, int prefixlen) |
|
static int | fa_acl_match_port (u16 port, u16 port_first, u16 port_last, int is_ip6) |
|
static int | single_acl_match_5tuple (acl_main_t *am, u32 acl_index, fa_5tuple_t *pkt_5tuple, int is_ip6, u8 *r_action, u32 *r_acl_match_p, u32 *r_rule_match_p, u32 *trace_bitmap) |
|
static int | acl_plugin_single_acl_match_5tuple (void *p_acl_main, u32 acl_index, fa_5tuple_t *pkt_5tuple, int is_ip6, u8 *r_action, u32 *r_acl_match_p, u32 *r_rule_match_p, u32 *trace_bitmap) |
|
static int | linear_multi_acl_match_5tuple (void *p_acl_main, u32 lc_index, fa_5tuple_t *pkt_5tuple, int is_ip6, u8 *r_action, u32 *acl_pos_p, u32 *acl_match_p, u32 *rule_match_p, u32 *trace_bitmap) |
|
static int | match_portranges (acl_main_t *am, fa_5tuple_t *match, u32 index) |
|
static int | single_rule_match_5tuple (acl_rule_t *r, int is_ip6, fa_5tuple_t *pkt_5tuple) |
|
static u32 | multi_acl_match_get_applied_ace_index (acl_main_t *am, int is_ip6, fa_5tuple_t *match) |
|
static int | hash_multi_acl_match_5tuple (void *p_acl_main, u32 lc_index, fa_5tuple_t *pkt_5tuple, int is_ip6, u8 *action, u32 *acl_pos_p, u32 *acl_match_p, u32 *rule_match_p, u32 *trace_bitmap) |
|
static int | acl_plugin_match_5tuple_inline (void *p_acl_main, u32 lc_index, fa_5tuple_opaque_t *pkt_5tuple, int is_ip6, u8 *r_action, u32 *r_acl_pos_p, u32 *r_acl_match_p, u32 *r_rule_match_p, u32 *trace_bitmap) |
|
static int | acl_plugin_match_5tuple_inline_and_count (void *p_acl_main, u32 lc_index, fa_5tuple_opaque_t *pkt_5tuple, int is_ip6, u8 *r_action, u32 *r_acl_pos_p, u32 *r_acl_match_p, u32 *r_rule_match_p, u32 *trace_bitmap, u32 packet_size) |
|