FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
IPv6 Shallow Virtual Reassembly. More...
Go to the source code of this file.
Data Structures | |
struct | ip6_sv_reass_key_t |
union | ip6_sv_reass_val_t |
union | ip6_sv_reass_kv_t |
struct | ip6_sv_reass_t |
struct | ip6_sv_reass_per_thread_t |
struct | ip6_sv_reass_main_t |
struct | ip6_sv_reass_trace_t |
struct | ip6_rehash_cb_ctx |
struct | ip6_sv_reassembly_handoff_trace_t |
Macros | |
#define | MSEC_PER_SEC 1000 |
#define | IP6_SV_REASS_TIMEOUT_DEFAULT_MS 100 |
#define | IP6_SV_REASS_EXPIRE_WALK_INTERVAL_DEFAULT_MS 10000 |
#define | IP6_SV_REASS_MAX_REASSEMBLIES_DEFAULT 1024 |
#define | IP6_SV_REASS_MAX_REASSEMBLY_LENGTH_DEFAULT 3 |
#define | IP6_SV_REASS_HT_LOAD_FACTOR (0.75) |
#define | foreach_ip6_sv_reassembly_handoff_error _(CONGESTION_DROP, "congestion drop") |
Variables | |
ip6_sv_reass_main_t | ip6_sv_reass_main |
static char * | ip6_sv_reassembly_error_strings [] |
vlib_node_registration_t | ip6_sv_reass_node |
(constructor) VLIB_REGISTER_NODE (ip6_sv_reass_node) More... | |
vlib_node_registration_t | ip6_sv_reass_node_feature |
(constructor) VLIB_REGISTER_NODE (ip6_sv_reass_node_feature) More... | |
vlib_node_registration_t | ip6_sv_reass_expire_node |
(constructor) VLIB_REGISTER_NODE (ip6_sv_reass_expire_node) More... | |
static vlib_cli_command_t | show_ip6_sv_reassembly_cmd |
(constructor) VLIB_CLI_COMMAND (show_ip6_sv_reassembly_cmd) More... | |
static char * | ip6_sv_reassembly_handoff_error_strings [] |
vlib_node_registration_t | ip6_sv_reassembly_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip6_sv_reassembly_handoff_node) More... | |
vlib_node_registration_t | ip6_sv_reassembly_feature_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip6_sv_reassembly_feature_handoff_node) More... | |
IPv6 Shallow Virtual Reassembly.
This file contains the source code for IPv6 Shallow Virtual reassembly.
Definition in file ip6_sv_reass.c.
#define foreach_ip6_sv_reassembly_handoff_error _(CONGESTION_DROP, "congestion drop") |
Definition at line 1166 of file ip6_sv_reass.c.
#define IP6_SV_REASS_EXPIRE_WALK_INTERVAL_DEFAULT_MS 10000 |
Definition at line 32 of file ip6_sv_reass.c.
#define IP6_SV_REASS_HT_LOAD_FACTOR (0.75) |
Definition at line 35 of file ip6_sv_reass.c.
#define IP6_SV_REASS_MAX_REASSEMBLIES_DEFAULT 1024 |
Definition at line 33 of file ip6_sv_reass.c.
#define IP6_SV_REASS_MAX_REASSEMBLY_LENGTH_DEFAULT 3 |
Definition at line 34 of file ip6_sv_reass.c.
#define IP6_SV_REASS_TIMEOUT_DEFAULT_MS 100 |
Definition at line 31 of file ip6_sv_reass.c.
#define MSEC_PER_SEC 1000 |
Definition at line 30 of file ip6_sv_reass.c.
enum ip6_sv_reass_event_t |
Enumerator | |
---|---|
IP6_EVENT_CONFIG_CHANGED |
Definition at line 832 of file ip6_sv_reass.c.
enum ip6_sv_reass_next_t |
Enumerator | |
---|---|
IP6_SV_REASSEMBLY_NEXT_INPUT | |
IP6_SV_REASSEMBLY_NEXT_DROP | |
IP6_SV_REASSEMBLY_NEXT_ICMP_ERROR | |
IP6_SV_REASSEMBLY_NEXT_HANDOFF | |
IP6_SV_REASSEMBLY_N_NEXT |
Definition at line 162 of file ip6_sv_reass.c.
enum ip6_sv_reass_rc_t |
Enumerator | |
---|---|
IP6_SV_REASS_RC_OK | |
IP6_SV_REASS_RC_TOO_MANY_FRAGMENTS | |
IP6_SV_REASS_RC_INTERNAL_ERROR | |
IP6_SV_REASS_RC_UNSUPP_IP_PROTO |
Definition at line 37 of file ip6_sv_reass.c.
Enumerator | |
---|---|
REASS_FRAGMENT_CACHE | |
REASS_FINISH | |
REASS_FRAGMENT_FORWARD | |
REASS_PASSTHROUGH |
Definition at line 171 of file ip6_sv_reass.c.
Enumerator | |
---|---|
IP6_SV_REASSEMBLY_HANDOFF_N_ERROR |
Definition at line 1170 of file ip6_sv_reass.c.
Definition at line 1067 of file ip6_sv_reass.c.
Definition at line 1190 of file ip6_sv_reass.c.
|
static |
|
static |
Definition at line 224 of file ip6_sv_reass.c.
vnet_api_error_t ip6_sv_reass_enable_disable | ( | u32 | sw_if_index, |
u8 | enable_disable | ||
) |
Definition at line 1159 of file ip6_sv_reass.c.
int ip6_sv_reass_enable_disable_with_refcnt | ( | u32 | sw_if_index, |
int | is_enable | ||
) |
Definition at line 1301 of file ip6_sv_reass.c.
|
inlinestatic |
Definition at line 305 of file ip6_sv_reass.c.
|
inlinestatic |
Definition at line 258 of file ip6_sv_reass.c.
vnet_api_error_t ip6_sv_reass_get | ( | u32 * | timeout_ms, |
u32 * | max_reassemblies, | ||
u32 * | max_reassembly_length, | ||
u32 * | expire_walk_interval_ms | ||
) |
get ip6 reassembly configuration
Definition at line 906 of file ip6_sv_reass.c.
|
static |
|
inlinestatic |
|
static |
VLIB_NODE_FN() ip6_sv_reass_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
VLIB_NODE_FN() ip6_sv_reass_node_feature | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
vnet_api_error_t ip6_sv_reass_set | ( | u32 | timeout_ms, |
u32 | max_reassemblies, | ||
u32 | max_reassembly_length, | ||
u32 | expire_walk_interval_ms | ||
) |
set ip6 reassembly configuration
Definition at line 868 of file ip6_sv_reass.c.
|
inlinestatic |
Definition at line 381 of file ip6_sv_reass.c.
|
inlinestatic |
Definition at line 465 of file ip6_sv_reass.c.
|
inlinestatic |
Definition at line 486 of file ip6_sv_reass.c.
|
inlinestatic |
Definition at line 443 of file ip6_sv_reass.c.
|
static |
VLIB_NODE_FN() ip6_sv_reassembly_feature_handoff_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
inlinestatic |
Definition at line 1205 of file ip6_sv_reass.c.
VLIB_NODE_FN() ip6_sv_reassembly_handoff_node | ( | vlib_main_t * | vm, |
vlib_node_runtime_t * | node, | ||
vlib_frame_t * | frame | ||
) |
|
inlinestatic |
Definition at line 508 of file ip6_sv_reass.c.
|
static |
VNET_FEATURE_INIT | ( | ip6_sv_reassembly_feature | ) |
vlib_node_registration_t ip6_sv_reass_expire_node |
(constructor) VLIB_REGISTER_NODE (ip6_sv_reass_expire_node)
Definition at line 1044 of file ip6_sv_reass.c.
ip6_sv_reass_main_t ip6_sv_reass_main |
Definition at line 159 of file ip6_sv_reass.c.
vlib_node_registration_t ip6_sv_reass_node |
(constructor) VLIB_REGISTER_NODE (ip6_sv_reass_node)
Definition at line 762 of file ip6_sv_reass.c.
vlib_node_registration_t ip6_sv_reass_node_feature |
(constructor) VLIB_REGISTER_NODE (ip6_sv_reass_node_feature)
Definition at line 787 of file ip6_sv_reass.c.
|
static |
Definition at line 748 of file ip6_sv_reass.c.
vlib_node_registration_t ip6_sv_reassembly_feature_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip6_sv_reassembly_feature_handoff_node)
Definition at line 1284 of file ip6_sv_reass.c.
|
static |
Definition at line 1178 of file ip6_sv_reass.c.
vlib_node_registration_t ip6_sv_reassembly_handoff_node |
(constructor) VLIB_REGISTER_NODE (ip6_sv_reassembly_handoff_node)
Definition at line 1261 of file ip6_sv_reass.c.
|
static |
(constructor) VLIB_CLI_COMMAND (show_ip6_sv_reassembly_cmd)
Definition at line 1150 of file ip6_sv_reass.c.