FD.io VPP
v21.06-3-gbb25fbf28
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 1367 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 1039 of file ip4_sv_reass.c.
Enumerator | |
---|---|
IP4_SV_REASSEMBLY_HANDOFF_N_ERROR |
Definition at line 1371 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 1268 of file ip4_sv_reass.c.
Definition at line 1391 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 1537 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 1359 of file ip4_sv_reass.c.
int ip4_sv_reass_enable_disable_with_refcnt | ( | u32 | sw_if_index, |
int | is_enable | ||
) |
Definition at line 1509 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 310 of file ip4_sv_reass.c.
|
inlinestatic |
Definition at line 267 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 1113 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 1406 of file ip4_sv_reass.c.
|
inlinestatic |
|
static |
|
inlinestatic |
Definition at line 432 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 | ||
) |
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 1075 of file ip4_sv_reass.c.
|
inlinestatic |
Definition at line 381 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 994 of file ip4_sv_reass.c.
|
static |
Definition at line 889 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 1244 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 1492 of file ip4_sv_reass.c.
|
static |
Definition at line 1379 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 1463 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 905 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 932 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 968 of file ip4_sv_reass.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_ip4_sv_reass_cmd)
Definition at line 1350 of file ip4_sv_reass.c.