|
void | mv (vnet_classify_table_t *t) |
|
void | rogue (vnet_classify_table_t *t) |
|
void | vnet_classify_register_unformat_l2_next_index_fn (unformat_function_t *fn) |
|
void | vnet_classify_register_unformat_ip_next_index_fn (unformat_function_t *fn) |
|
void | vnet_classify_register_unformat_acl_next_index_fn (unformat_function_t *fn) |
|
void | vnet_classify_register_unformat_policer_next_index_fn (unformat_function_t *fn) |
|
void | vnet_classify_register_unformat_opaque_index_fn (unformat_function_t *fn) |
|
vnet_classify_table_t * | vnet_classify_new_table (vnet_classify_main_t *cm, const u8 *mask, u32 nbuckets, u32 memory_size, u32 skip_n_vectors, u32 match_n_vectors) |
|
void | vnet_classify_delete_table_index (vnet_classify_main_t *cm, u32 table_index, int del_chain) |
|
static vnet_classify_entry_t * | vnet_classify_entry_alloc (vnet_classify_table_t *t, u32 log2_pages) |
|
static void | vnet_classify_entry_free (vnet_classify_table_t *t, vnet_classify_entry_t *v, u32 log2_pages) |
|
static void | make_working_copy (vnet_classify_table_t *t, vnet_classify_bucket_t *b) |
|
static vnet_classify_entry_t * | split_and_rehash (vnet_classify_table_t *t, vnet_classify_entry_t *old_values, u32 old_log2_pages, u32 new_log2_pages) |
|
static vnet_classify_entry_t * | split_and_rehash_linear (vnet_classify_table_t *t, vnet_classify_entry_t *old_values, u32 old_log2_pages, u32 new_log2_pages) |
|
static void | vnet_classify_entry_claim_resource (vnet_classify_entry_t *e) |
|
static void | vnet_classify_entry_release_resource (vnet_classify_entry_t *e) |
|
static int | vnet_classify_add_del (vnet_classify_table_t *t, vnet_classify_entry_t *add_v, int is_add) |
|
typedef | CLIB_PACKED (struct { ethernet_header_t eh;ip4_header_t ip;}) |
|
vnet_classify_entry_t * | vnet_classify_find_entry (vnet_classify_table_t *t, u8 *h, u64 hash, f64 now) |
|
static u8 * | format_classify_entry (u8 *s, va_list *args) |
|
u8 * | format_classify_table (u8 *s, va_list *args) |
|
int | vnet_classify_add_del_table (vnet_classify_main_t *cm, const u8 *mask, u32 nbuckets, u32 memory_size, u32 skip, u32 match, u32 next_table_index, u32 miss_next_index, u32 *table_index, u8 current_data_flag, i16 current_data_offset, int is_add, int del_chain) |
|
uword | unformat_tcp_mask (unformat_input_t *input, va_list *args) |
|
uword | unformat_udp_mask (unformat_input_t *input, va_list *args) |
|
uword | unformat_l4_mask (unformat_input_t *input, va_list *args) |
|
uword | unformat_ip4_mask (unformat_input_t *input, va_list *args) |
|
uword | unformat_ip6_mask (unformat_input_t *input, va_list *args) |
|
uword | unformat_l3_mask (unformat_input_t *input, va_list *args) |
|
uword | unformat_l2_mask (unformat_input_t *input, va_list *args) |
|
uword | unformat_classify_mask (unformat_input_t *input, va_list *args) |
|
uword | unformat_l2_input_next_index (unformat_input_t *input, va_list *args) |
|
uword | unformat_l2_output_next_index (unformat_input_t *input, va_list *args) |
|
uword | unformat_ip_next_index (unformat_input_t *input, va_list *args) |
|
uword | unformat_acl_next_index (unformat_input_t *input, va_list *args) |
|
uword | unformat_policer_next_index (unformat_input_t *input, va_list *args) |
|
static clib_error_t * | classify_table_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static int | filter_table_mask_compare (void *a1, void *a2) |
|
u32 | classify_sort_table_chain (vnet_classify_main_t *cm, u32 table_index) |
|
u32 | classify_get_trace_chain (void) |
|
void | classify_set_trace_chain (vnet_classify_main_t *cm, u32 table_index) |
|
u32 | classify_get_pcap_chain (vnet_classify_main_t *cm, u32 sw_if_index) |
|
void | classify_set_pcap_chain (vnet_classify_main_t *cm, u32 sw_if_index, u32 table_index) |
|
u32 | classify_lookup_chain (u32 table_index, u8 *mask, u32 n_skip, u32 n_match) |
|
static clib_error_t * | classify_filter_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
int | vlib_enable_disable_pkt_trace_filter (int enable) |
| Enable / disable packet trace filter. More...
|
|
static clib_error_t * | show_classify_filter_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
u8 * | format_vnet_classify_table (u8 *s, va_list *args) |
|
static clib_error_t * | show_classify_tables_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
uword | unformat_l4_match (unformat_input_t *input, va_list *args) |
|
uword | unformat_ip4_match (unformat_input_t *input, va_list *args) |
|
uword | unformat_ip6_match (unformat_input_t *input, va_list *args) |
|
uword | unformat_l3_match (unformat_input_t *input, va_list *args) |
|
uword | unformat_vlan_tag (unformat_input_t *input, va_list *args) |
|
uword | unformat_l2_match (unformat_input_t *input, va_list *args) |
|
uword | unformat_classify_match (unformat_input_t *input, va_list *args) |
|
int | vnet_classify_add_del_session (vnet_classify_main_t *cm, u32 table_index, const u8 *match, u32 hit_next_index, u32 opaque_index, i32 advance, u8 action, u16 metadata, int is_add) |
|
static clib_error_t * | classify_session_command_fn (vlib_main_t *vm, unformat_input_t *input, vlib_cli_command_t *cmd) |
|
static uword | unformat_opaque_sw_if_index (unformat_input_t *input, va_list *args) |
|
static uword | unformat_ip_next_node (unformat_input_t *input, va_list *args) |
|
static uword | unformat_acl_next_node (unformat_input_t *input, va_list *args) |
|
static uword | unformat_l2_input_next_node (unformat_input_t *input, va_list *args) |
|
static uword | unformat_l2_output_next_node (unformat_input_t *input, va_list *args) |
|
static clib_error_t * | vnet_classify_init (vlib_main_t *vm) |
|
int | vnet_is_packet_traced (vlib_buffer_t *b, u32 classify_table_index, int func) |
|
N-tuple classifier.
Definition in file vnet_classify.c.