![]() |
FD.io VPP
v20.09-64-g4f7b92f0a
Vector Packet Processing
|
IPv4 Full Reassembly. More...
Include dependency graph for ip4_full_reass.c:Go to the source code of this file.
Data Structures | |
| struct | ip4_full_reass_key_t |
| union | ip4_full_reass_val_t |
| union | ip4_full_reass_kv_t |
| struct | ip4_full_reass_t |
| struct | ip4_full_reass_per_thread_t |
| struct | ip4_full_reass_main_t |
| struct | ip4_full_reass_range_trace_t |
| struct | ip4_full_reass_trace_t |
| struct | ip4_rehash_cb_ctx |
| struct | ip4_full_reass_handoff_trace_t |
Macros | |
| #define | MSEC_PER_SEC 1000 |
| #define | IP4_REASS_TIMEOUT_DEFAULT_MS 100 |
| #define | IP4_REASS_EXPIRE_WALK_INTERVAL_DEFAULT_MS 10000 |
| #define | IP4_REASS_MAX_REASSEMBLIES_DEFAULT 1024 |
| #define | IP4_REASS_MAX_REASSEMBLY_LENGTH_DEFAULT 3 |
| #define | IP4_REASS_HT_LOAD_FACTOR (0.75) |
| #define | IP4_REASS_DEBUG_BUFFERS 0 |
| #define | IP4_REASS_DEBUG_BUFFER(...) |
| #define | foreach_ip4_full_reass_handoff_error _(CONGESTION_DROP, "congestion drop") |
Variables | |
| ip4_full_reass_main_t | ip4_full_reass_main |
| vlib_node_registration_t | ip4_full_reass_node |
| (constructor) VLIB_REGISTER_NODE (ip4_full_reass_node) More... | |
| vlib_node_registration_t | ip4_full_reass_node_feature |
| (constructor) VLIB_REGISTER_NODE (ip4_full_reass_node_feature) More... | |
| static char * | ip4_full_reass_error_strings [] |
| vlib_node_registration_t | ip4_full_reass_expire_node |
| (constructor) VLIB_REGISTER_NODE (ip4_full_reass_expire_node) More... | |
| static vlib_cli_command_t | show_ip4_full_reass_cmd |
| (constructor) VLIB_CLI_COMMAND (show_ip4_full_reass_cmd) More... | |
| static char * | ip4_full_reass_handoff_error_strings [] |
| vlib_node_registration_t | ip4_full_reass_handoff_node |
| (constructor) VLIB_REGISTER_NODE (ip4_full_reass_handoff_node) More... | |
| vlib_node_registration_t | ip4_full_reass_feature_handoff_node |
| (constructor) VLIB_REGISTER_NODE (ip4_full_reass_feature_handoff_node) More... | |
IPv4 Full Reassembly.
This file contains the source code for IPv4 full reassembly.
Definition in file ip4_full_reass.c.
| #define foreach_ip4_full_reass_handoff_error _(CONGESTION_DROP, "congestion drop") |
Definition at line 1691 of file ip4_full_reass.c.
| #define IP4_REASS_DEBUG_BUFFER | ( | ... | ) |
Definition at line 57 of file ip4_full_reass.c.
| #define IP4_REASS_DEBUG_BUFFERS 0 |
Definition at line 38 of file ip4_full_reass.c.
| #define IP4_REASS_EXPIRE_WALK_INTERVAL_DEFAULT_MS 10000 |
Definition at line 33 of file ip4_full_reass.c.
| #define IP4_REASS_HT_LOAD_FACTOR (0.75) |
Definition at line 36 of file ip4_full_reass.c.
| #define IP4_REASS_MAX_REASSEMBLIES_DEFAULT 1024 |
Definition at line 34 of file ip4_full_reass.c.
| #define IP4_REASS_MAX_REASSEMBLY_LENGTH_DEFAULT 3 |
Definition at line 35 of file ip4_full_reass.c.
| #define IP4_REASS_TIMEOUT_DEFAULT_MS 100 |
Definition at line 32 of file ip4_full_reass.c.
| #define MSEC_PER_SEC 1000 |
Definition at line 31 of file ip4_full_reass.c.
| Enumerator | |
|---|---|
| IP4_EVENT_CONFIG_CHANGED | |
Definition at line 1357 of file ip4_full_reass.c.
| Enumerator | |
|---|---|
| IP4_FULL_REASS_HANDOFF_N_ERROR | |
Definition at line 1695 of file ip4_full_reass.c.
| Enumerator | |
|---|---|
| IP4_FULL_REASS_NEXT_INPUT | |
| IP4_FULL_REASS_NEXT_DROP | |
| IP4_FULL_REASS_NEXT_HANDOFF | |
| IP4_FULL_REASS_N_NEXT | |
Definition at line 198 of file ip4_full_reass.c.
| enum ip4_full_reass_rc_t |
| Enumerator | |
|---|---|
| IP4_REASS_RC_OK | |
| IP4_REASS_RC_TOO_MANY_FRAGMENTS | |
| IP4_REASS_RC_INTERNAL_ERROR | |
| IP4_REASS_RC_NO_BUF | |
| IP4_REASS_RC_HANDOFF | |
Definition at line 60 of file ip4_full_reass.c.
| Enumerator | |
|---|---|
| RANGE_NEW | |
| RANGE_SHRINK | |
| RANGE_DISCARD | |
| RANGE_OVERLAP | |
| FINALIZE | |
| HANDOFF | |
Definition at line 206 of file ip4_full_reass.c.
Definition at line 1573 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 259 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 271 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 328 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 114 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
inlinestatic |
Definition at line 400 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:| vnet_api_error_t ip4_full_reass_enable_disable | ( | u32 | sw_if_index, |
| u8 | enable_disable | ||
| ) |
Definition at line 1682 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:| int ip4_full_reass_enable_disable_with_refcnt | ( | u32 | sw_if_index, |
| int | is_enable | ||
| ) |
| VLIB_NODE_FN() ip4_full_reass_feature_handoff_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
|
inlinestatic |
Definition at line 545 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 471 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 388 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| vnet_api_error_t ip4_full_reass_get | ( | u32 * | timeout_ms, |
| u32 * | max_reassemblies, | ||
| u32 * | max_reassembly_length, | ||
| u32 * | expire_walk_interval_ms | ||
| ) |
get ip4 reassembly configuration
Definition at line 1431 of file ip4_full_reass.c.
Here is the caller graph for this function:
|
inlinestatic |
| VLIB_NODE_FN() ip4_full_reass_handoff_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
|
inlinestatic |
Definition at line 1730 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
static |
|
inlinestatic |
Definition at line 1095 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 749 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VLIB_NODE_FN() ip4_full_reass_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
| VLIB_NODE_FN() ip4_full_reass_node_feature | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
|
inlinestatic |
Definition at line 783 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:| vnet_api_error_t ip4_full_reass_set | ( | u32 | timeout_ms, |
| u32 | max_reassemblies, | ||
| u32 | max_reassembly_length, | ||
| u32 | expire_walk_interval_ms | ||
| ) |
set ip4 reassembly configuration
Definition at line 1393 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 246 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 839 of file ip4_full_reass.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
static |
| VNET_FEATURE_INIT | ( | ip4_full_reass_feature | , |
| static | |||
| ) |
|
static |
Definition at line 1271 of file ip4_full_reass.c.
| vlib_node_registration_t ip4_full_reass_expire_node |
(constructor) VLIB_REGISTER_NODE (ip4_full_reass_expire_node)
Definition at line 1561 of file ip4_full_reass.c.
| vlib_node_registration_t ip4_full_reass_feature_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip4_full_reass_feature_handoff_node)
Definition at line 1817 of file ip4_full_reass.c.
|
static |
Definition at line 1703 of file ip4_full_reass.c.
| vlib_node_registration_t ip4_full_reass_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip4_full_reass_handoff_node)
Definition at line 1788 of file ip4_full_reass.c.
| ip4_full_reass_main_t ip4_full_reass_main |
Definition at line 195 of file ip4_full_reass.c.
| vlib_node_registration_t ip4_full_reass_node |
(constructor) VLIB_REGISTER_NODE (ip4_full_reass_node)
Definition at line 1286 of file ip4_full_reass.c.
| vlib_node_registration_t ip4_full_reass_node_feature |
(constructor) VLIB_REGISTER_NODE (ip4_full_reass_node_feature)
Definition at line 1312 of file ip4_full_reass.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_ip4_full_reass_cmd)
Definition at line 1673 of file ip4_full_reass.c.