![]() |
FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
IPv4 Reassembly. More...
Include dependency graph for ip4_reassembly.c:Go to the source code of this file.
Data Structures | |
| struct | ip4_reass_key_t |
| union | ip4_reass_val_t |
| union | ip4_reass_kv_t |
| struct | ip4_reass_t |
| struct | ip4_reass_per_thread_t |
| struct | ip4_reass_main_t |
| struct | ip4_reass_range_trace_t |
| struct | ip4_reass_trace_t |
| struct | ip4_rehash_cb_ctx |
| struct | ip4_reassembly_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_HT_LOAD_FACTOR (0.75) |
| #define | IP4_REASS_DEBUG_BUFFERS 0 |
| #define | IP4_REASS_DEBUG_BUFFER(...) |
| #define | foreach_ip4_reassembly_handoff_error _(CONGESTION_DROP, "congestion drop") |
Variables | |
| ip4_reass_main_t | ip4_reass_main |
| vlib_node_registration_t | ip4_reass_node |
| (constructor) VLIB_REGISTER_NODE (ip4_reass_node) More... | |
| vlib_node_registration_t | ip4_reass_node_feature |
| (constructor) VLIB_REGISTER_NODE (ip4_reass_node_feature) More... | |
| static char * | ip4_reassembly_error_strings [] |
| static vlib_node_registration_t | ip4_reass_expire_node |
| (constructor) VLIB_REGISTER_NODE (ip4_reass_expire_node) More... | |
| static vlib_cli_command_t | show_ip4_reassembly_cmd |
| (constructor) VLIB_CLI_COMMAND (show_ip4_reassembly_cmd) More... | |
| static char * | ip4_reassembly_handoff_error_strings [] |
| vlib_node_registration_t | ip4_reassembly_handoff_node |
| (constructor) VLIB_REGISTER_NODE (ip4_reassembly_handoff_node) More... | |
| vlib_node_registration_t | ip4_reassembly_feature_handoff_node |
| (constructor) VLIB_REGISTER_NODE (ip4_reassembly_feature_handoff_node) More... | |
IPv4 Reassembly.
This file contains the source code for IPv4 reassembly.
Definition in file ip4_reassembly.c.
| #define foreach_ip4_reassembly_handoff_error _(CONGESTION_DROP, "congestion drop") |
Definition at line 1458 of file ip4_reassembly.c.
| #define IP4_REASS_DEBUG_BUFFER | ( | ... | ) |
Definition at line 54 of file ip4_reassembly.c.
| #define IP4_REASS_DEBUG_BUFFERS 0 |
Definition at line 35 of file ip4_reassembly.c.
| #define IP4_REASS_EXPIRE_WALK_INTERVAL_DEFAULT_MS 10000 |
Definition at line 31 of file ip4_reassembly.c.
| #define IP4_REASS_HT_LOAD_FACTOR (0.75) |
Definition at line 33 of file ip4_reassembly.c.
| #define IP4_REASS_MAX_REASSEMBLIES_DEFAULT 1024 |
Definition at line 32 of file ip4_reassembly.c.
| #define IP4_REASS_TIMEOUT_DEFAULT_MS 100 |
Definition at line 30 of file ip4_reassembly.c.
| #define MSEC_PER_SEC 1000 |
Definition at line 29 of file ip4_reassembly.c.
| enum ip4_reass_event_t |
| Enumerator | |
|---|---|
| IP4_EVENT_CONFIG_CHANGED | |
Definition at line 1141 of file ip4_reassembly.c.
| enum ip4_reass_next_t |
| Enumerator | |
|---|---|
| IP4_REASSEMBLY_NEXT_INPUT | |
| IP4_REASSEMBLY_NEXT_DROP | |
| IP4_REASSEMBLY_NEXT_HANDOFF | |
| IP4_REASSEMBLY_N_NEXT | |
Definition at line 180 of file ip4_reassembly.c.
| enum ip4_reass_rc_t |
| Enumerator | |
|---|---|
| IP4_REASS_RC_OK | |
| IP4_REASS_RC_INTERNAL_ERROR | |
| IP4_REASS_RC_NO_BUF | |
Definition at line 57 of file ip4_reassembly.c.
| Enumerator | |
|---|---|
| RANGE_NEW | |
| RANGE_SHRINK | |
| RANGE_DISCARD | |
| RANGE_OVERLAP | |
| FINALIZE | |
Definition at line 188 of file ip4_reassembly.c.
| Enumerator | |
|---|---|
| IP4_REASSEMBLY_HANDOFF_N_ERROR | |
Definition at line 1462 of file ip4_reassembly.c.
Definition at line 1350 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 236 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 246 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 283 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 109 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| vnet_api_error_t ip4_reass_enable_disable | ( | u32 | sw_if_index, |
| u8 | enable_disable | ||
| ) |
Definition at line 1449 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 426 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 362 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
| vnet_api_error_t ip4_reass_get | ( | u32 * | timeout_ms, |
| u32 * | max_reassemblies, | ||
| u32 * | expire_walk_interval_ms | ||
| ) |
get ip4 reassembly configuration
Definition at line 1211 of file ip4_reassembly.c.
Here is the caller graph for this function:
|
inlinestatic |
|
static |
|
inlinestatic |
Definition at line 610 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:| VLIB_NODE_FN() ip4_reass_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
| VLIB_NODE_FN() ip4_reass_node_feature | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
|
inlinestatic |
Definition at line 329 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 644 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:| vnet_api_error_t ip4_reass_set | ( | u32 | timeout_ms, |
| u32 | max_reassemblies, | ||
| u32 | expire_walk_interval_ms | ||
| ) |
set ip4 reassembly configuration
Definition at line 1174 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
Definition at line 223 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 696 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
| VLIB_NODE_FN() ip4_reassembly_feature_handoff_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
| VLIB_NODE_FN() ip4_reassembly_handoff_node | ( | vlib_main_t * | vm, |
| vlib_node_runtime_t * | node, | ||
| vlib_frame_t * | frame | ||
| ) |
|
inlinestatic |
Definition at line 1497 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 925 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
| VNET_FEATURE_INIT | ( | ip4_reassembly_feature | , |
| static | |||
| ) |
|
static |
(constructor) VLIB_REGISTER_NODE (ip4_reass_expire_node)
Definition at line 1338 of file ip4_reassembly.c.
| ip4_reass_main_t ip4_reass_main |
Definition at line 177 of file ip4_reassembly.c.
| vlib_node_registration_t ip4_reass_node |
(constructor) VLIB_REGISTER_NODE (ip4_reass_node)
Definition at line 1072 of file ip4_reassembly.c.
| vlib_node_registration_t ip4_reass_node_feature |
(constructor) VLIB_REGISTER_NODE (ip4_reass_node_feature)
Definition at line 1097 of file ip4_reassembly.c.
|
static |
Definition at line 1059 of file ip4_reassembly.c.
| vlib_node_registration_t ip4_reassembly_feature_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip4_reassembly_feature_handoff_node)
Definition at line 1587 of file ip4_reassembly.c.
|
static |
Definition at line 1470 of file ip4_reassembly.c.
| vlib_node_registration_t ip4_reassembly_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip4_reassembly_handoff_node)
Definition at line 1558 of file ip4_reassembly.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_ip4_reassembly_cmd)
Definition at line 1440 of file ip4_reassembly.c.