![]() |
FD.io VPP
v18.10-34-gcce845e
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 |
| 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 |
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(...) |
Enumerations | |
| enum | ip4_reass_next_t { IP4_REASSEMBLY_NEXT_INPUT, IP4_REASSEMBLY_NEXT_DROP, IP4_REASSEMBLY_N_NEXT } |
| enum | ip4_reass_trace_operation_e { RANGE_NEW, RANGE_SHRINK, RANGE_DISCARD, RANGE_OVERLAP, FINALIZE } |
| enum | ip4_reass_event_t { IP4_EVENT_CONFIG_CHANGED = 1 } |
Variables | |
| static vlib_node_registration_t | ip4_reass_node |
| (constructor) VLIB_REGISTER_NODE (ip4_reass_node) More... | |
| ip4_reass_main_t | ip4_reass_main |
| static char * | ip4_reassembly_error_strings [] |
| static vlib_node_registration_t | ip4_reass_node_feature |
| (constructor) VLIB_REGISTER_NODE (ip4_reass_node_feature) More... | |
| 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... | |
IPv4 Reassembly.
This file contains the source code for IPv4 reassembly.
Definition in 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 1067 of file ip4_reassembly.c.
| enum ip4_reass_next_t |
| Enumerator | |
|---|---|
| IP4_REASSEMBLY_NEXT_INPUT | |
| IP4_REASSEMBLY_NEXT_DROP | |
| IP4_REASSEMBLY_N_NEXT | |
Definition at line 162 of file ip4_reassembly.c.
| Enumerator | |
|---|---|
| RANGE_NEW | |
| RANGE_SHRINK | |
| RANGE_DISCARD | |
| RANGE_OVERLAP | |
| FINALIZE | |
Definition at line 169 of file ip4_reassembly.c.
Definition at line 1320 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 214 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 224 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 261 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 100 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 92 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 84 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 1421 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 396 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:| ip4_reass_t* ip4_reass_find_or_create | ( | vlib_main_t * | vm, |
| ip4_reass_main_t * | rm, | ||
| ip4_reass_per_thread_t * | rt, | ||
| ip4_reass_key_t * | k, | ||
| u32 ** | vec_drop_timeout | ||
| ) |
Definition at line 336 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 1136 of file ip4_reassembly.c.
Here is the caller graph for this function:
|
inlinestatic |
Definition at line 554 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
inlinestatic |
|
static |
|
inlinestatic |
Definition at line 573 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 306 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 602 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 1099 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 201 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 645 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
static |
|
inlinestatic |
Definition at line 837 of file ip4_reassembly.c.
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
| VLIB_NODE_FUNCTION_MULTIARCH | ( | ip4_reass_node | , |
| ip4_reassembly | |||
| ) |
Here is the caller graph for this function:| VLIB_NODE_FUNCTION_MULTIARCH | ( | ip4_reass_node_feature | , |
| ip4_reassembly_feature | |||
| ) |
| VNET_FEATURE_INIT | ( | ip4_reassembly_feature | , |
| static | |||
| ) |
|
static |
(constructor) VLIB_REGISTER_NODE (ip4_reass_expire_node)
Definition at line 1305 of file ip4_reassembly.c.
| ip4_reass_main_t ip4_reass_main |
Definition at line 160 of file ip4_reassembly.c.
|
static |
(constructor) VLIB_REGISTER_NODE (ip4_reass_node)
Definition at line 57 of file ip4_reassembly.c.
|
static |
(constructor) VLIB_REGISTER_NODE (ip4_reass_node_feature)
Definition at line 1023 of file ip4_reassembly.c.
|
static |
Definition at line 983 of file ip4_reassembly.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_ip4_reassembly_cmd)
Definition at line 1413 of file ip4_reassembly.c.