FD.io VPP
v18.11-rc0-18-g2a3fb1a
Vector Packet Processing
|
Go to the source code of this file.
Typedefs | |
typedef struct _l2_classify_main | l2_input_classify_main_t |
typedef struct _l2_classify_main | l2_output_classify_main_t |
Functions | |
void | vnet_l2_input_classify_enable_disable (u32 sw_if_index, int enable_disable) |
Enable/disable l2 input classification on a specific interface. More... | |
int | vnet_l2_input_classify_set_tables (u32 sw_if_index, u32 ip4_table_index, u32 ip6_table_index, u32 other_table_index) |
Set l2 per-protocol, per-interface input classification tables. More... | |
void | vnet_l2_output_classify_enable_disable (u32 sw_if_index, int enable_disable) |
Enable/disable l2 input classification on a specific interface. More... | |
int | vnet_l2_output_classify_set_tables (u32 sw_if_index, u32 ip4_table_index, u32 ip6_table_index, u32 other_table_index) |
Set l2 per-protocol, per-interface output classification tables. More... | |
Variables | |
l2_input_classify_main_t | l2_input_classify_main |
l2 input classifier main data structure. More... | |
vlib_node_registration_t | l2_input_classify_node |
(constructor) VLIB_REGISTER_NODE (l2_input_classify_node) More... | |
l2_output_classify_main_t | l2_output_classify_main |
l2 output classifier main data structure. More... | |
vlib_node_registration_t | l2_output_classify_node |
(constructor) VLIB_REGISTER_NODE (l2_output_classify_node) More... | |
typedef struct _l2_classify_main l2_input_classify_main_t |
typedef struct _l2_classify_main l2_output_classify_main_t |
Definition at line 84 of file l2_classify.h.
Enumerator | |
---|---|
L2_INPUT_CLASSIFY_NEXT_DROP | |
L2_INPUT_CLASSIFY_NEXT_ETHERNET_INPUT | |
L2_INPUT_CLASSIFY_NEXT_IP4_INPUT | |
L2_INPUT_CLASSIFY_NEXT_IP6_INPUT | |
L2_INPUT_CLASSIFY_NEXT_LI | |
L2_INPUT_CLASSIFY_N_NEXT |
Definition at line 37 of file l2_classify.h.
Enumerator | |
---|---|
L2_INPUT_CLASSIFY_TABLE_IP4 | |
L2_INPUT_CLASSIFY_TABLE_IP6 | |
L2_INPUT_CLASSIFY_TABLE_OTHER | |
L2_INPUT_CLASSIFY_N_TABLES |
Definition at line 47 of file l2_classify.h.
Enumerator | |
---|---|
L2_OUTPUT_CLASSIFY_NEXT_DROP | |
L2_OUTPUT_CLASSIFY_N_NEXT |
Definition at line 55 of file l2_classify.h.
Enumerator | |
---|---|
L2_OUTPUT_CLASSIFY_TABLE_IP4 | |
L2_OUTPUT_CLASSIFY_TABLE_IP6 | |
L2_OUTPUT_CLASSIFY_TABLE_OTHER | |
L2_OUTPUT_CLASSIFY_N_TABLES |
Definition at line 61 of file l2_classify.h.
void vnet_l2_input_classify_enable_disable | ( | u32 | sw_if_index, |
int | enable_disable | ||
) |
Enable/disable l2 input classification on a specific interface.
Definition at line 518 of file l2_input_classify.c.
int vnet_l2_input_classify_set_tables | ( | u32 | sw_if_index, |
u32 | ip4_table_index, | ||
u32 | ip6_table_index, | ||
u32 | other_table_index | ||
) |
Set l2 per-protocol, per-interface input classification tables.
sw_if_index | interface handle |
ip4_table_index | ip4 classification table index, or ~0 |
ip6_table_index | ip6 classification table index, or ~0 |
other_table_index | non-ip4, non-ip6 classification table index, or ~0 |
Definition at line 536 of file l2_input_classify.c.
void vnet_l2_output_classify_enable_disable | ( | u32 | sw_if_index, |
int | enable_disable | ||
) |
Enable/disable l2 input classification on a specific interface.
Definition at line 507 of file l2_output_classify.c.
int vnet_l2_output_classify_set_tables | ( | u32 | sw_if_index, |
u32 | ip4_table_index, | ||
u32 | ip6_table_index, | ||
u32 | other_table_index | ||
) |
Set l2 per-protocol, per-interface output classification tables.
sw_if_index | interface handle |
ip4_table_index | ip4 classification table index, or ~0 |
ip6_table_index | ip6 classification table index, or ~0 |
other_table_index | non-ip4, non-ip6 classification table index, or ~0 |
Definition at line 526 of file l2_output_classify.c.
l2_input_classify_main_t l2_input_classify_main |
l2 input classifier main data structure.
Definition at line 71 of file l2_input_classify.c.
vlib_node_registration_t l2_input_classify_node |
(constructor) VLIB_REGISTER_NODE (l2_input_classify_node)
Definition at line 445 of file l2_input_classify.c.
l2_output_classify_main_t l2_output_classify_main |
l2 output classifier main data structure.
Definition at line 63 of file l2_output_classify.c.
vlib_node_registration_t l2_output_classify_node |
(constructor) VLIB_REGISTER_NODE (l2_output_classify_node)
Definition at line 438 of file l2_output_classify.c.