|
static u32 | ip4_full_reass_buffer_get_data_offset (vlib_buffer_t *b) |
|
static u16 | ip4_full_reass_buffer_get_data_len (vlib_buffer_t *b) |
|
static void | ip4_full_reass_trace_details (vlib_main_t *vm, u32 bi, ip4_full_reass_range_trace_t *trace) |
|
static u8 * | format_ip4_full_reass_range_trace (u8 *s, va_list *args) |
|
static u8 * | format_ip4_full_reass_trace (u8 *s, va_list *args) |
|
static void | ip4_full_reass_add_trace (vlib_main_t *vm, vlib_node_runtime_t *node, ip4_full_reass_main_t *rm, ip4_full_reass_t *reass, u32 bi, ip4_full_reass_trace_operation_e action, u32 size_diff, u32 thread_id_to) |
|
static void | ip4_full_reass_free_ctx (ip4_full_reass_per_thread_t *rt, ip4_full_reass_t *reass) |
|
static void | ip4_full_reass_free (ip4_full_reass_main_t *rm, ip4_full_reass_per_thread_t *rt, ip4_full_reass_t *reass) |
|
static void | ip4_full_reass_drop_all (vlib_main_t *vm, vlib_node_runtime_t *node, ip4_full_reass_main_t *rm, ip4_full_reass_t *reass) |
|
static void | ip4_full_reass_init (ip4_full_reass_t *reass) |
|
static ip4_full_reass_t * | ip4_full_reass_find_or_create (vlib_main_t *vm, vlib_node_runtime_t *node, ip4_full_reass_main_t *rm, ip4_full_reass_per_thread_t *rt, ip4_full_reass_kv_t *kv, u8 *do_handoff) |
|
static ip4_full_reass_rc_t | ip4_full_reass_finalize (vlib_main_t *vm, vlib_node_runtime_t *node, ip4_full_reass_main_t *rm, ip4_full_reass_per_thread_t *rt, ip4_full_reass_t *reass, u32 *bi0, u32 *next0, u32 *error0, bool is_custom) |
|
static ip4_full_reass_rc_t | ip4_full_reass_insert_range_in_chain (vlib_main_t *vm, ip4_full_reass_main_t *rm, ip4_full_reass_per_thread_t *rt, ip4_full_reass_t *reass, u32 prev_range_bi, u32 new_next_bi) |
|
static ip4_full_reass_rc_t | ip4_full_reass_remove_range_from_chain (vlib_main_t *vm, vlib_node_runtime_t *node, ip4_full_reass_main_t *rm, ip4_full_reass_t *reass, u32 prev_range_bi, u32 discard_bi) |
|
static ip4_full_reass_rc_t | ip4_full_reass_update (vlib_main_t *vm, vlib_node_runtime_t *node, ip4_full_reass_main_t *rm, ip4_full_reass_per_thread_t *rt, ip4_full_reass_t *reass, u32 *bi0, u32 *next0, u32 *error0, bool is_custom, u32 *handoff_thread_idx) |
|
static uword | ip4_full_reass_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, ip4_full_reass_node_type_t type) |
|
VLIB_NODE_FN() | ip4_full_reass_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip4_full_reass_node_feature (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip4_full_reass_feature, static) |
|
VLIB_NODE_FN() | ip4_full_reass_node_custom (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
| VNET_FEATURE_INIT (ip4_full_reass_custom, static) |
|
uword | ip4_full_reass_custom_register_next_node (uword node_index) |
|
static u32 | ip4_full_reass_get_nbuckets () |
|
static int | ip4_rehash_cb (clib_bihash_kv_16_8_t *kv, void *_ctx) |
|
static void | ip4_full_reass_set_params (u32 timeout_ms, u32 max_reassemblies, u32 max_reassembly_length, u32 expire_walk_interval_ms) |
|
vnet_api_error_t | ip4_full_reass_set (u32 timeout_ms, u32 max_reassemblies, u32 max_reassembly_length, u32 expire_walk_interval_ms) |
| set ip4 reassembly configuration More...
|
|
vnet_api_error_t | ip4_full_reass_get (u32 *timeout_ms, u32 *max_reassemblies, u32 *max_reassembly_length, u32 *expire_walk_interval_ms) |
| get ip4 reassembly configuration More...
|
|
static clib_error_t * | ip4_full_reass_init_function (vlib_main_t *vm) |
|
static uword | ip4_full_reass_walk_expired (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f) |
|
static u8 * | format_ip4_full_reass_key (u8 *s, va_list *args) |
|
static u8 * | format_ip4_reass (u8 *s, va_list *args) |
|
static clib_error_t * | show_ip4_reass (vlib_main_t *vm, unformat_input_t *input, CLIB_UNUSED(vlib_cli_command_t *lmd)) |
|
vnet_api_error_t | ip4_full_reass_enable_disable (u32 sw_if_index, u8 enable_disable) |
|
static u8 * | format_ip4_full_reass_handoff_trace (u8 *s, va_list *args) |
|
static uword | ip4_full_reass_handoff_node_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, ip4_full_reass_node_type_t type) |
|
VLIB_NODE_FN() | ip4_full_reass_handoff_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip4_full_reass_feature_handoff_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
VLIB_NODE_FN() | ip4_full_reass_custom_handoff_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame) |
|
int | ip4_full_reass_enable_disable_with_refcnt (u32 sw_if_index, int is_enable) |
|
IPv4 Full Reassembly.
This file contains the source code for IPv4 full reassembly.
Definition in file ip4_full_reass.c.