FD.io VPP
v20.01-48-g3e0dafb74
Vector Packet Processing
|
IPv4 Shallow Virtual Reassembly. More...
Go to the source code of this file.
Data Structures | |
struct | ip4_sv_reass_key_t |
union | ip4_sv_reass_val_t |
union | ip4_sv_reass_kv_t |
struct | ip4_sv_reass_t |
struct | ip4_sv_reass_per_thread_t |
struct | ip4_sv_reass_main_t |
struct | ip4_sv_reass_trace_t |
struct | ip4_rehash_cb_ctx |
struct | ip4_sv_reass_handoff_trace_t |
Macros | |
#define | MSEC_PER_SEC 1000 |
#define | IP4_SV_REASS_TIMEOUT_DEFAULT_MS 100 |
#define | IP4_SV_REASS_EXPIRE_WALK_INTERVAL_DEFAULT_MS 10000 |
#define | IP4_SV_REASS_MAX_REASSEMBLIES_DEFAULT 1024 |
#define | IP4_SV_REASS_MAX_REASSEMBLY_LENGTH_DEFAULT 3 |
#define | IP4_SV_REASS_HT_LOAD_FACTOR (0.75) |
#define | foreach_ip4_sv_reass_handoff_error _(CONGESTION_DROP, "congestion drop") |
Variables | |
ip4_sv_reass_main_t | ip4_sv_reass_main |
vlib_node_registration_t | ip4_sv_reass_node |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_node) More... | |
vlib_node_registration_t | ip4_sv_reass_node_feature |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_node_feature) More... | |
static char * | ip4_sv_reass_error_strings [] |
vlib_node_registration_t | ip4_sv_reass_node_output_feature |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_node_output_feature) More... | |
vlib_node_registration_t | ip4_sv_reass_custom_node |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_custom_node) More... | |
vlib_node_registration_t | ip4_sv_reass_expire_node |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_expire_node) More... | |
static vlib_cli_command_t | show_ip4_sv_reass_cmd |
(constructor) VLIB_CLI_COMMAND (show_ip4_sv_reass_cmd) More... | |
static char * | ip4_sv_reass_handoff_error_strings [] |
vlib_node_registration_t | ip4_sv_reass_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_handoff_node) More... | |
vlib_node_registration_t | ip4_sv_reass_feature_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_feature_handoff_node) More... | |
IPv4 Shallow Virtual Reassembly.
This file contains the source code for IPv4 Shallow Virtual reassembly.
Definition in file ip4_sv_reass.c.
#define foreach_ip4_sv_reass_handoff_error _(CONGESTION_DROP, "congestion drop") |
Definition at line 1148 of file ip4_sv_reass.c.
#define IP4_SV_REASS_EXPIRE_WALK_INTERVAL_DEFAULT_MS 10000 |
Definition at line 33 of file ip4_sv_reass.c.
#define IP4_SV_REASS_HT_LOAD_FACTOR (0.75) |
Definition at line 36 of file ip4_sv_reass.c.
#define IP4_SV_REASS_MAX_REASSEMBLIES_DEFAULT 1024 |
Definition at line 34 of file ip4_sv_reass.c.
#define IP4_SV_REASS_MAX_REASSEMBLY_LENGTH_DEFAULT 3 |
Definition at line 35 of file ip4_sv_reass.c.
#define IP4_SV_REASS_TIMEOUT_DEFAULT_MS 100 |
Definition at line 32 of file ip4_sv_reass.c.
#define MSEC_PER_SEC 1000 |
Definition at line 31 of file ip4_sv_reass.c.
enum ip4_sv_reass_event_t |
Enumerator | |
---|---|
IP4_EVENT_CONFIG_CHANGED |
Definition at line 830 of file ip4_sv_reass.c.
Enumerator | |
---|---|
IP4_SV_REASSEMBLY_HANDOFF_N_ERROR |
Definition at line 1152 of file ip4_sv_reass.c.
enum ip4_sv_reass_next_t |
Enumerator | |
---|---|
IP4_SV_REASSEMBLY_NEXT_INPUT | |
IP4_SV_REASSEMBLY_NEXT_DROP | |
IP4_SV_REASSEMBLY_NEXT_HANDOFF | |
IP4_SV_REASSEMBLY_N_NEXT |
Definition at line 168 of file ip4_sv_reass.c.
enum ip4_sv_reass_rc_t |
Enumerator | |
---|---|
IP4_SV_REASS_RC_OK | |
IP4_SV_REASS_RC_TOO_MANY_FRAGMENTS | |
IP4_SV_REASS_RC_UNSUPP_IP_PROTO |
Definition at line 38 of file ip4_sv_reass.c.
Enumerator | |
---|---|
REASS_FRAGMENT_CACHE | |
REASS_FINISH | |
REASS_FRAGMENT_FORWARD | |
REASS_PASSTHROUGH |
Definition at line 176 of file ip4_sv_reass.c.
Definition at line 1047 of file ip4_sv_reass.c.
Definition at line 198 of file ip4_sv_reass.c.
|
static |
|
static |
Definition at line 232 of file ip4_sv_reass.c.
VLIB_NODE_FN() ip4_sv_reass_custom_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
Definition at line 1319 of file ip4_sv_reass.c.
vnet_api_error_t ip4_sv_reass_enable_disable | ( | u32 | sw_if_index, |
u8 | enable_disable | ||
) |
Definition at line 1140 of file ip4_sv_reass.c.
int ip4_sv_reass_enable_disable_with_refcnt | ( | u32 | sw_if_index, |
int | is_enable | ||
) |
Definition at line 1291 of file ip4_sv_reass.c.
VLIB_NODE_FN() ip4_sv_reass_feature_handoff_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
inlinestatic |
Definition at line 303 of file ip4_sv_reass.c.
|
inlinestatic |
Definition at line 260 of file ip4_sv_reass.c.
vnet_api_error_t ip4_sv_reass_get | ( | u32 * | timeout_ms, |
u32 * | max_reassemblies, | ||
u32 * | max_reassembly_length, | ||
u32 * | expire_walk_interval_ms | ||
) |
get ip4 reassembly configuration
Definition at line 904 of file ip4_sv_reass.c.
|
inlinestatic |
VLIB_NODE_FN() ip4_sv_reass_handoff_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
inlinestatic |
Definition at line 1187 of file ip4_sv_reass.c.
|
inlinestatic |
|
static |
|
inlinestatic |
Definition at line 426 of file ip4_sv_reass.c.
VLIB_NODE_FN() ip4_sv_reass_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ip4_sv_reass_node_feature | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ip4_sv_reass_node_output_feature | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
int ip4_sv_reass_output_enable_disable_with_refcnt | ( | u32 | sw_if_index, |
int | is_enable | ||
) |
Definition at line 1326 of file ip4_sv_reass.c.
vnet_api_error_t ip4_sv_reass_set | ( | u32 | timeout_ms, |
u32 | max_reassemblies, | ||
u32 | max_reassembly_length, | ||
u32 | expire_walk_interval_ms | ||
) |
set ip4 reassembly configuration
Definition at line 866 of file ip4_sv_reass.c.
|
inlinestatic |
Definition at line 375 of file ip4_sv_reass.c.
|
static |
|
static |
VNET_FEATURE_INIT | ( | ip4_sv_reass_feature | ) |
VNET_FEATURE_INIT | ( | ip4_sv_reass_output_feature | ) |
vlib_node_registration_t ip4_sv_reass_custom_node |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_custom_node)
Definition at line 785 of file ip4_sv_reass.c.
|
static |
Definition at line 680 of file ip4_sv_reass.c.
vlib_node_registration_t ip4_sv_reass_expire_node |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_expire_node)
Definition at line 1035 of file ip4_sv_reass.c.
vlib_node_registration_t ip4_sv_reass_feature_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_feature_handoff_node)
Definition at line 1274 of file ip4_sv_reass.c.
|
static |
Definition at line 1160 of file ip4_sv_reass.c.
vlib_node_registration_t ip4_sv_reass_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_handoff_node)
Definition at line 1245 of file ip4_sv_reass.c.
ip4_sv_reass_main_t ip4_sv_reass_main |
Definition at line 165 of file ip4_sv_reass.c.
vlib_node_registration_t ip4_sv_reass_node |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_node)
Definition at line 696 of file ip4_sv_reass.c.
vlib_node_registration_t ip4_sv_reass_node_feature |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_node_feature)
Definition at line 723 of file ip4_sv_reass.c.
vlib_node_registration_t ip4_sv_reass_node_output_feature |
(constructor) VLIB_REGISTER_NODE (ip4_sv_reass_node_output_feature)
Definition at line 759 of file ip4_sv_reass.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_ip4_sv_reass_cmd)
Definition at line 1131 of file ip4_sv_reass.c.