![]() |
FD.io VPP
v19.01.1-17-ge106252
Vector Packet Processing
|
Include dependency graph for vnet_classify.c:Go to the source code of this file.
Data Structures | |
| struct | tcpudp_header_t |
| struct | test_entry_t |
| struct | test_classify_main_t |
Macros | |
| #define | foreach_tcp_proto_field |
| #define | foreach_udp_proto_field |
| #define | foreach_ip4_proto_field |
| #define | foreach_ip6_proto_field |
| #define | foreach_l2_input_next |
| #define | foreach_l2_output_next _(drop, DROP) |
| #define | foreach_ip_next |
| #define | foreach_acl_next _(deny, DENY) |
| #define | TEST_CODE 1 |
Variables | |
| vnet_classify_main_t | vnet_classify_main |
| static vlib_cli_command_t | classify_table |
| (constructor) VLIB_CLI_COMMAND (classify_table) More... | |
| static vlib_cli_command_t | show_classify_table_command |
| (constructor) VLIB_CLI_COMMAND (show_classify_table_command) More... | |
| static vlib_cli_command_t | classify_session_command |
| (constructor) VLIB_CLI_COMMAND (classify_session_command) More... | |
| static test_classify_main_t | test_classify_main |
| static vlib_cli_command_t | test_classify_command |
| (constructor) VLIB_CLI_COMMAND (test_classify_command) More... | |
| #define foreach_acl_next _(deny, DENY) |
Definition at line 1420 of file vnet_classify.c.
| #define foreach_ip4_proto_field |
Definition at line 805 of file vnet_classify.c.
| #define foreach_ip6_proto_field |
Definition at line 1000 of file vnet_classify.c.
| #define foreach_ip_next |
Definition at line 1379 of file vnet_classify.c.
| #define foreach_l2_input_next |
Definition at line 1295 of file vnet_classify.c.
| #define foreach_l2_output_next _(drop, DROP) |
Definition at line 1339 of file vnet_classify.c.
| #define foreach_tcp_proto_field |
Definition at line 797 of file vnet_classify.c.
| #define foreach_udp_proto_field |
Definition at line 801 of file vnet_classify.c.
| #define TEST_CODE 1 |
Definition at line 2448 of file vnet_classify.c.
|
static |
|
static |
| typedef CLIB_PACKED | ( | struct{ethernet_header_t eh;ip4_header_t ip;} | ) |
Definition at line 667 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 690 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 1614 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 231 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void mv | ( | vnet_classify_table_t * | t | ) |
Definition at line 69 of file vnet_classify.c.
| void rogue | ( | vnet_classify_table_t * | t | ) |
Definition at line 74 of file vnet_classify.c.
|
static |
|
static |
Definition at line 286 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 337 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2488 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| uword unformat_acl_next_index | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1424 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2356 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_classify_mask | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1205 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_classify_match | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 2073 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_ip4_mask | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 939 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_ip4_match | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1737 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_ip6_mask | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1008 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_ip6_match | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1833 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_ip_next_index | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1384 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2329 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_l2_input_next_index | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1303 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2383 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_l2_mask | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1096 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_l2_match | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1956 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_l2_output_next_index | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1343 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2403 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_l3_mask | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1079 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_l3_match | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1922 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_l4_mask | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 903 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_l4_match | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1706 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 2314 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_policer_next_index | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1466 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_tcp_mask | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 816 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_udp_mask | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 857 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| uword unformat_vlan_tag | ( | unformat_input_t * | input, |
| va_list * | args | ||
| ) |
Definition at line 1940 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_classify_add_del | ( | vnet_classify_table_t * | t, |
| vnet_classify_entry_t * | add_v, | ||
| int | is_add | ||
| ) |
Definition at line 418 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_classify_add_del_session | ( | vnet_classify_main_t * | cm, |
| u32 | table_index, | ||
| u8 * | match, | ||
| u32 | hit_next_index, | ||
| u32 | opaque_index, | ||
| i32 | advance, | ||
| u8 | action, | ||
| u32 | metadata, | ||
| int | is_add | ||
| ) |
Definition at line 2151 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int vnet_classify_add_del_table | ( | vnet_classify_main_t * | cm, |
| 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 | ||
| ) |
Definition at line 750 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_classify_delete_table_index | ( | vnet_classify_main_t * | cm, |
| u32 | table_index, | ||
| int | del_chain | ||
| ) |
Definition at line 161 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 187 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 386 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 219 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 402 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| vnet_classify_entry_t* vnet_classify_find_entry | ( | vnet_classify_table_t * | t, |
| u8 * | h, | ||
| u64 | hash, | ||
| f64 | now | ||
| ) |
Definition at line 660 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| vnet_classify_table_t* vnet_classify_new_table | ( | vnet_classify_main_t * | cm, |
| u8 * | mask, | ||
| u32 | nbuckets, | ||
| u32 | memory_size, | ||
| u32 | skip_n_vectors, | ||
| u32 | match_n_vectors | ||
| ) |
Definition at line 121 of file vnet_classify.c.
Here is the call graph for this function:
Here is the caller graph for this function:| void vnet_classify_register_unformat_acl_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_l2_next_index_fn | ( | unformat_function_t * | fn | ) |
| void vnet_classify_register_unformat_opaque_index_fn | ( | unformat_function_t * | fn | ) |
| void vnet_classify_register_unformat_policer_next_index_fn | ( | unformat_function_t * | fn | ) |
|
static |
(constructor) VLIB_CLI_COMMAND (classify_session_command)
Definition at line 2302 of file vnet_classify.c.
|
static |
(constructor) VLIB_CLI_COMMAND (classify_table)
Definition at line 1601 of file vnet_classify.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_classify_table_command)
Definition at line 1698 of file vnet_classify.c.
|
static |
(constructor) VLIB_CLI_COMMAND (test_classify_command)
Definition at line 2716 of file vnet_classify.c.
|
static |
Definition at line 2485 of file vnet_classify.c.
| vnet_classify_main_t vnet_classify_main |
Definition at line 22 of file vnet_classify.c.