FD.io VPP  v20.05.1-6-gf53edbc3b
Vector Packet Processing
ip6_full_reass.c File Reference

IPv6 Full Reassembly. More...

+ Include dependency graph for ip6_full_reass.c:

Go to the source code of this file.

Data Structures

struct  ip6_full_reass_key_t
 
union  ip6_full_reass_val_t
 
union  ip6_full_reass_kv_t
 
struct  ip6_full_reass_t
 
struct  ip6_full_reass_per_thread_t
 
struct  ip6_full_reass_main_t
 
struct  ip6_full_reass_range_trace_t
 
struct  ip6_full_reass_trace_t
 
struct  ip6_rehash_cb_ctx
 
struct  ip6_full_reassembly_handoff_trace_t
 

Macros

#define MSEC_PER_SEC   1000
 
#define IP6_FULL_REASS_TIMEOUT_DEFAULT_MS   100
 
#define IP6_FULL_REASS_EXPIRE_WALK_INTERVAL_DEFAULT_MS   10000
 
#define IP6_FULL_REASS_MAX_REASSEMBLIES_DEFAULT   1024
 
#define IP6_FULL_REASS_MAX_REASSEMBLY_LENGTH_DEFAULT   3
 
#define IP6_FULL_REASS_HT_LOAD_FACTOR   (0.75)
 
#define foreach_ip6_full_reassembly_handoff_error   _(CONGESTION_DROP, "congestion drop")
 

Enumerations

enum  ip6_full_reass_rc_t {
  IP6_FULL_REASS_RC_OK, IP6_FULL_REASS_RC_INTERNAL_ERROR, IP6_FULL_REASS_RC_TOO_MANY_FRAGMENTS, IP6_FULL_REASS_RC_NO_BUF,
  IP6_FULL_REASS_RC_HANDOFF
}
 
enum  ip6_full_reass_next_t {
  IP6_FULL_REASSEMBLY_NEXT_INPUT, IP6_FULL_REASSEMBLY_NEXT_DROP, IP6_FULL_REASSEMBLY_NEXT_ICMP_ERROR, IP6_FULL_REASSEMBLY_NEXT_HANDOFF,
  IP6_FULL_REASSEMBLY_N_NEXT
}
 
enum  ip6_full_reass_trace_operation_e {
  RANGE_NEW, RANGE_OVERLAP, ICMP_ERROR_RT_EXCEEDED, ICMP_ERROR_FL_TOO_BIG,
  ICMP_ERROR_FL_NOT_MULT_8, FINALIZE, HANDOFF
}
 
enum  ip6_full_reass_event_t { IP6_EVENT_CONFIG_CHANGED = 1 }
 
enum  ip6_full_reassembly_handoff_error_t { IP6_FULL_REASSEMBLY_HANDOFF_N_ERROR }
 

Functions

static u32 ip6_full_reass_buffer_get_data_offset (vlib_buffer_t *b)
 
static u16 ip6_full_reass_buffer_get_data_len (vlib_buffer_t *b)
 
static void ip6_full_reass_trace_details (vlib_main_t *vm, u32 bi, ip6_full_reass_range_trace_t *trace)
 
static u8format_ip6_full_reass_range_trace (u8 *s, va_list *args)
 
static u8format_ip6_full_reass_trace (u8 *s, va_list *args)
 
static void ip6_full_reass_add_trace (vlib_main_t *vm, vlib_node_runtime_t *node, ip6_full_reass_main_t *rm, ip6_full_reass_t *reass, u32 bi, ip6_frag_hdr_t *ip6_frag_header, ip6_full_reass_trace_operation_e action, u32 thread_id_to)
 
static void ip6_full_reass_free_ctx (ip6_full_reass_per_thread_t *rt, ip6_full_reass_t *reass)
 
static void ip6_full_reass_free (ip6_full_reass_main_t *rm, ip6_full_reass_per_thread_t *rt, ip6_full_reass_t *reass)
 
static void ip6_full_reass_drop_all (vlib_main_t *vm, vlib_node_runtime_t *node, ip6_full_reass_main_t *rm, ip6_full_reass_t *reass)
 
static void ip6_full_reass_on_timeout (vlib_main_t *vm, vlib_node_runtime_t *node, ip6_full_reass_main_t *rm, ip6_full_reass_t *reass, u32 *icmp_bi)
 
static ip6_full_reass_tip6_full_reass_find_or_create (vlib_main_t *vm, vlib_node_runtime_t *node, ip6_full_reass_main_t *rm, ip6_full_reass_per_thread_t *rt, ip6_full_reass_kv_t *kv, u32 *icmp_bi, u8 *do_handoff)
 
static ip6_full_reass_rc_t ip6_full_reass_finalize (vlib_main_t *vm, vlib_node_runtime_t *node, ip6_full_reass_main_t *rm, ip6_full_reass_per_thread_t *rt, ip6_full_reass_t *reass, u32 *bi0, u32 *next0, u32 *error0, bool is_custom_app)
 
static void ip6_full_reass_insert_range_in_chain (vlib_main_t *vm, ip6_full_reass_main_t *rm, ip6_full_reass_per_thread_t *rt, ip6_full_reass_t *reass, u32 prev_range_bi, u32 new_next_bi)
 
static ip6_full_reass_rc_t ip6_full_reass_update (vlib_main_t *vm, vlib_node_runtime_t *node, ip6_full_reass_main_t *rm, ip6_full_reass_per_thread_t *rt, ip6_full_reass_t *reass, u32 *bi0, u32 *next0, u32 *error0, ip6_frag_hdr_t *frag_hdr, bool is_custom_app, u32 *handoff_thread_idx)
 
static bool ip6_full_reass_verify_upper_layer_present (vlib_node_runtime_t *node, vlib_buffer_t *b, ip6_frag_hdr_t *frag_hdr)
 
static bool ip6_full_reass_verify_fragment_multiple_8 (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b, ip6_frag_hdr_t *frag_hdr)
 
static bool ip6_full_reass_verify_packet_size_lt_64k (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_buffer_t *b, ip6_frag_hdr_t *frag_hdr)
 
static uword ip6_full_reassembly_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, bool is_feature, bool is_custom_app)
 
VLIB_NODE_FN() ip6_full_reass_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
VLIB_NODE_FN() ip6_full_reass_node_feature (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
 VNET_FEATURE_INIT (ip6_full_reassembly_feature, static)
 
static u32 ip6_full_reass_get_nbuckets ()
 
static int ip6_rehash_cb (clib_bihash_kv_48_8_t *kv, void *_ctx)
 
static void ip6_full_reass_set_params (u32 timeout_ms, u32 max_reassemblies, u32 max_reassembly_length, u32 expire_walk_interval_ms)
 
vnet_api_error_t ip6_full_reass_set (u32 timeout_ms, u32 max_reassemblies, u32 max_reassembly_length, u32 expire_walk_interval_ms)
 set ip6 reassembly configuration More...
 
vnet_api_error_t ip6_full_reass_get (u32 *timeout_ms, u32 *max_reassemblies, u32 *max_reassembly_length, u32 *expire_walk_interval_ms)
 get ip6 reassembly configuration More...
 
static clib_error_tip6_full_reass_init_function (vlib_main_t *vm)
 
static uword ip6_full_reass_walk_expired (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f)
 
static u8format_ip6_full_reass_key (u8 *s, va_list *args)
 
static u8format_ip6_full_reass (u8 *s, va_list *args)
 
static clib_error_tshow_ip6_full_reass (vlib_main_t *vm, unformat_input_t *input, CLIB_UNUSED(vlib_cli_command_t *lmd))
 
vnet_api_error_t ip6_full_reass_enable_disable (u32 sw_if_index, u8 enable_disable)
 
static u8format_ip6_full_reassembly_handoff_trace (u8 *s, va_list *args)
 
static uword ip6_full_reassembly_handoff_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, bool is_feature)
 
VLIB_NODE_FN() ip6_full_reassembly_handoff_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
VLIB_NODE_FN() ip6_full_reassembly_feature_handoff_node (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 
int ip6_full_reass_enable_disable_with_refcnt (u32 sw_if_index, int is_enable)
 

Variables

ip6_full_reass_main_t ip6_full_reass_main
 
static char * ip6_full_reassembly_error_strings []
 
vlib_node_registration_t ip6_full_reass_node
 (constructor) VLIB_REGISTER_NODE (ip6_full_reass_node) More...
 
vlib_node_registration_t ip6_full_reass_node_feature
 (constructor) VLIB_REGISTER_NODE (ip6_full_reass_node_feature) More...
 
vlib_node_registration_t ip6_full_reass_expire_node
 (constructor) VLIB_REGISTER_NODE (ip6_full_reass_expire_node) More...
 
static vlib_cli_command_t show_ip6_full_reassembly_cmd
 (constructor) VLIB_CLI_COMMAND (show_ip6_full_reassembly_cmd) More...
 
static char * ip6_full_reassembly_handoff_error_strings []
 
vlib_node_registration_t ip6_full_reassembly_handoff_node
 (constructor) VLIB_REGISTER_NODE (ip6_full_reassembly_handoff_node) More...
 
vlib_node_registration_t ip6_full_reassembly_feature_handoff_node
 (constructor) VLIB_REGISTER_NODE (ip6_full_reassembly_feature_handoff_node) More...
 

Detailed Description

IPv6 Full Reassembly.

This file contains the source code for IPv6 full reassembly.

Definition in file ip6_full_reass.c.

Macro Definition Documentation

◆ foreach_ip6_full_reassembly_handoff_error

#define foreach_ip6_full_reassembly_handoff_error   _(CONGESTION_DROP, "congestion drop")

Definition at line 1711 of file ip6_full_reass.c.

◆ IP6_FULL_REASS_EXPIRE_WALK_INTERVAL_DEFAULT_MS

#define IP6_FULL_REASS_EXPIRE_WALK_INTERVAL_DEFAULT_MS   10000

Definition at line 31 of file ip6_full_reass.c.

◆ IP6_FULL_REASS_HT_LOAD_FACTOR

#define IP6_FULL_REASS_HT_LOAD_FACTOR   (0.75)

Definition at line 34 of file ip6_full_reass.c.

◆ IP6_FULL_REASS_MAX_REASSEMBLIES_DEFAULT

#define IP6_FULL_REASS_MAX_REASSEMBLIES_DEFAULT   1024

Definition at line 32 of file ip6_full_reass.c.

◆ IP6_FULL_REASS_MAX_REASSEMBLY_LENGTH_DEFAULT

#define IP6_FULL_REASS_MAX_REASSEMBLY_LENGTH_DEFAULT   3

Definition at line 33 of file ip6_full_reass.c.

◆ IP6_FULL_REASS_TIMEOUT_DEFAULT_MS

#define IP6_FULL_REASS_TIMEOUT_DEFAULT_MS   100

Definition at line 30 of file ip6_full_reass.c.

◆ MSEC_PER_SEC

#define MSEC_PER_SEC   1000

Definition at line 29 of file ip6_full_reass.c.

Enumeration Type Documentation

◆ ip6_full_reass_event_t

Enumerator
IP6_EVENT_CONFIG_CHANGED 

Definition at line 1342 of file ip6_full_reass.c.

◆ ip6_full_reass_next_t

Enumerator
IP6_FULL_REASSEMBLY_NEXT_INPUT 
IP6_FULL_REASSEMBLY_NEXT_DROP 
IP6_FULL_REASSEMBLY_NEXT_ICMP_ERROR 
IP6_FULL_REASSEMBLY_NEXT_HANDOFF 
IP6_FULL_REASSEMBLY_N_NEXT 

Definition at line 177 of file ip6_full_reass.c.

◆ ip6_full_reass_rc_t

Enumerator
IP6_FULL_REASS_RC_OK 
IP6_FULL_REASS_RC_INTERNAL_ERROR 
IP6_FULL_REASS_RC_TOO_MANY_FRAGMENTS 
IP6_FULL_REASS_RC_NO_BUF 
IP6_FULL_REASS_RC_HANDOFF 

Definition at line 36 of file ip6_full_reass.c.

◆ ip6_full_reass_trace_operation_e

Enumerator
RANGE_NEW 
RANGE_OVERLAP 
ICMP_ERROR_RT_EXCEEDED 
ICMP_ERROR_FL_TOO_BIG 
ICMP_ERROR_FL_NOT_MULT_8 
FINALIZE 
HANDOFF 

Definition at line 186 of file ip6_full_reass.c.

◆ ip6_full_reassembly_handoff_error_t

Enumerator
IP6_FULL_REASSEMBLY_HANDOFF_N_ERROR 

Definition at line 1715 of file ip6_full_reass.c.

Function Documentation

◆ format_ip6_full_reass()

static u8* format_ip6_full_reass ( u8 s,
va_list *  args 
)
static

Definition at line 1606 of file ip6_full_reass.c.

+ Here is the call graph for this function:

◆ format_ip6_full_reass_key()

static u8* format_ip6_full_reass_key ( u8 s,
va_list *  args 
)
static

Definition at line 1596 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_ip6_full_reass_range_trace()

static u8* format_ip6_full_reass_range_trace ( u8 s,
va_list *  args 
)
static

Definition at line 237 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_ip6_full_reass_trace()

static u8* format_ip6_full_reass_trace ( u8 s,
va_list *  args 
)
static

Definition at line 249 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ format_ip6_full_reassembly_handoff_trace()

static u8* format_ip6_full_reassembly_handoff_trace ( u8 s,
va_list *  args 
)
static

Definition at line 1735 of file ip6_full_reass.c.

+ Here is the call graph for this function:

◆ ip6_full_reass_add_trace()

static void ip6_full_reass_add_trace ( vlib_main_t vm,
vlib_node_runtime_t node,
ip6_full_reass_main_t rm,
ip6_full_reass_t reass,
u32  bi,
ip6_frag_hdr_t *  ip6_frag_header,
ip6_full_reass_trace_operation_e  action,
u32  thread_id_to 
)
static

Definition at line 312 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_buffer_get_data_len()

static u16 ip6_full_reass_buffer_get_data_len ( vlib_buffer_t b)
inlinestatic

Definition at line 91 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_buffer_get_data_offset()

static u32 ip6_full_reass_buffer_get_data_offset ( vlib_buffer_t b)
inlinestatic

Definition at line 84 of file ip6_full_reass.c.

+ Here is the caller graph for this function:

◆ ip6_full_reass_drop_all()

static void ip6_full_reass_drop_all ( vlib_main_t vm,
vlib_node_runtime_t node,
ip6_full_reass_main_t rm,
ip6_full_reass_t reass 
)
inlinestatic

Definition at line 394 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_enable_disable()

vnet_api_error_t ip6_full_reass_enable_disable ( u32  sw_if_index,
u8  enable_disable 
)

Definition at line 1703 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_enable_disable_with_refcnt()

int ip6_full_reass_enable_disable_with_refcnt ( u32  sw_if_index,
int  is_enable 
)

Definition at line 1847 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_finalize()

static ip6_full_reass_rc_t ip6_full_reass_finalize ( vlib_main_t vm,
vlib_node_runtime_t node,
ip6_full_reass_main_t rm,
ip6_full_reass_per_thread_t rt,
ip6_full_reass_t reass,
u32 bi0,
u32 next0,
u32 error0,
bool  is_custom_app 
)
inlinestatic

Definition at line 579 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_find_or_create()

static ip6_full_reass_t* ip6_full_reass_find_or_create ( vlib_main_t vm,
vlib_node_runtime_t node,
ip6_full_reass_main_t rm,
ip6_full_reass_per_thread_t rt,
ip6_full_reass_kv_t kv,
u32 icmp_bi,
u8 do_handoff 
)
inlinestatic

Definition at line 495 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_free()

static void ip6_full_reass_free ( ip6_full_reass_main_t rm,
ip6_full_reass_per_thread_t rt,
ip6_full_reass_t reass 
)
inlinestatic

Definition at line 378 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_free_ctx()

static void ip6_full_reass_free_ctx ( ip6_full_reass_per_thread_t rt,
ip6_full_reass_t reass 
)
inlinestatic

Definition at line 370 of file ip6_full_reass.c.

+ Here is the caller graph for this function:

◆ ip6_full_reass_get()

vnet_api_error_t ip6_full_reass_get ( u32 timeout_ms,
u32 max_reassemblies,
u32 max_reassembly_length,
u32 expire_walk_interval_ms 
)

get ip6 reassembly configuration

Definition at line 1416 of file ip6_full_reass.c.

+ Here is the caller graph for this function:

◆ ip6_full_reass_get_nbuckets()

static u32 ip6_full_reass_get_nbuckets ( )
static

Definition at line 1325 of file ip6_full_reass.c.

+ Here is the caller graph for this function:

◆ ip6_full_reass_init_function()

static clib_error_t* ip6_full_reass_init_function ( vlib_main_t vm)
static

Definition at line 1428 of file ip6_full_reass.c.

+ Here is the call graph for this function:

◆ ip6_full_reass_insert_range_in_chain()

static void ip6_full_reass_insert_range_in_chain ( vlib_main_t vm,
ip6_full_reass_main_t rm,
ip6_full_reass_per_thread_t rt,
ip6_full_reass_t reass,
u32  prev_range_bi,
u32  new_next_bi 
)
inlinestatic

Definition at line 806 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_node()

VLIB_NODE_FN() ip6_full_reass_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 1261 of file ip6_full_reass.c.

+ Here is the call graph for this function:

◆ ip6_full_reass_node_feature()

VLIB_NODE_FN() ip6_full_reass_node_feature ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 1287 of file ip6_full_reass.c.

+ Here is the call graph for this function:

◆ ip6_full_reass_on_timeout()

static void ip6_full_reass_on_timeout ( vlib_main_t vm,
vlib_node_runtime_t node,
ip6_full_reass_main_t rm,
ip6_full_reass_t reass,
u32 icmp_bi 
)
inlinestatic

Definition at line 456 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_set()

vnet_api_error_t ip6_full_reass_set ( u32  timeout_ms,
u32  max_reassemblies,
u32  max_reassembly_length,
u32  expire_walk_interval_ms 
)

set ip6 reassembly configuration

Definition at line 1378 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_set_params()

static void ip6_full_reass_set_params ( u32  timeout_ms,
u32  max_reassemblies,
u32  max_reassembly_length,
u32  expire_walk_interval_ms 
)
static

Definition at line 1366 of file ip6_full_reass.c.

+ Here is the caller graph for this function:

◆ ip6_full_reass_trace_details()

static void ip6_full_reass_trace_details ( vlib_main_t vm,
u32  bi,
ip6_full_reass_range_trace_t trace 
)
static

Definition at line 224 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_update()

static ip6_full_reass_rc_t ip6_full_reass_update ( vlib_main_t vm,
vlib_node_runtime_t node,
ip6_full_reass_main_t rm,
ip6_full_reass_per_thread_t rt,
ip6_full_reass_t reass,
u32 bi0,
u32 next0,
u32 error0,
ip6_frag_hdr_t *  frag_hdr,
bool  is_custom_app,
u32 handoff_thread_idx 
)
inlinestatic

Definition at line 834 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_verify_fragment_multiple_8()

static bool ip6_full_reass_verify_fragment_multiple_8 ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_buffer_t b,
ip6_frag_hdr_t *  frag_hdr 
)
inlinestatic

Definition at line 1005 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_verify_packet_size_lt_64k()

static bool ip6_full_reass_verify_packet_size_lt_64k ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_buffer_t b,
ip6_frag_hdr_t *  frag_hdr 
)
inlinestatic

Definition at line 1027 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_verify_upper_layer_present()

static bool ip6_full_reass_verify_upper_layer_present ( vlib_node_runtime_t node,
vlib_buffer_t b,
ip6_frag_hdr_t *  frag_hdr 
)
inlinestatic

Definition at line 983 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reass_walk_expired()

static uword ip6_full_reass_walk_expired ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t f 
)
static

Definition at line 1482 of file ip6_full_reass.c.

+ Here is the call graph for this function:

◆ ip6_full_reassembly_feature_handoff_node()

VLIB_NODE_FN() ip6_full_reassembly_feature_handoff_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 1822 of file ip6_full_reass.c.

+ Here is the call graph for this function:

◆ ip6_full_reassembly_handoff_inline()

static uword ip6_full_reassembly_handoff_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
bool  is_feature 
)
inlinestatic

Definition at line 1750 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_full_reassembly_handoff_node()

VLIB_NODE_FN() ip6_full_reassembly_handoff_node ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)

Definition at line 1798 of file ip6_full_reass.c.

+ Here is the call graph for this function:

◆ ip6_full_reassembly_inline()

static uword ip6_full_reassembly_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
bool  is_feature,
bool  is_custom_app 
)
inlinestatic

Definition at line 1050 of file ip6_full_reass.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ip6_rehash_cb()

static int ip6_rehash_cb ( clib_bihash_kv_48_8_t kv,
void *  _ctx 
)
static

Definition at line 1355 of file ip6_full_reass.c.

+ Here is the caller graph for this function:

◆ show_ip6_full_reass()

static clib_error_t* show_ip6_full_reass ( vlib_main_t vm,
unformat_input_t input,
CLIB_UNUSED(vlib_cli_command_t *lmd)   
)
static

Definition at line 1642 of file ip6_full_reass.c.

+ Here is the call graph for this function:

◆ VNET_FEATURE_INIT()

VNET_FEATURE_INIT ( ip6_full_reassembly_feature  ,
static   
)

Variable Documentation

◆ ip6_full_reass_expire_node

vlib_node_registration_t ip6_full_reass_expire_node
Initial value:
= {
.format_trace = format_ip6_full_reass_trace,
.name = "ip6-full-reassembly-expire-walk",
}
static u8 * format_ip6_full_reass_trace(u8 *s, va_list *args)
static char * ip6_full_reassembly_error_strings[]
#define ARRAY_LEN(x)
Definition: clib.h:66
static uword ip6_full_reass_walk_expired(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *f)

(constructor) VLIB_REGISTER_NODE (ip6_full_reass_expire_node)

Definition at line 1583 of file ip6_full_reass.c.

◆ ip6_full_reass_main

ip6_full_reass_main_t ip6_full_reass_main

Definition at line 174 of file ip6_full_reass.c.

◆ ip6_full_reass_node

vlib_node_registration_t ip6_full_reass_node
Initial value:
= {
.name = "ip6-full-reassembly",
.vector_size = sizeof (u32),
.format_trace = format_ip6_full_reass_trace,
.n_next_nodes = IP6_FULL_REASSEMBLY_N_NEXT,
.next_nodes =
{
[IP6_FULL_REASSEMBLY_NEXT_HANDOFF] = "ip6-full-reassembly-handoff",
},
}
static u8 * format_ip6_full_reass_trace(u8 *s, va_list *args)
static char * ip6_full_reassembly_error_strings[]
unsigned int u32
Definition: types.h:88
#define ARRAY_LEN(x)
Definition: clib.h:66

(constructor) VLIB_REGISTER_NODE (ip6_full_reass_node)

Definition at line 1270 of file ip6_full_reass.c.

◆ ip6_full_reass_node_feature

vlib_node_registration_t ip6_full_reass_node_feature
Initial value:
= {
.name = "ip6-full-reassembly-feature",
.vector_size = sizeof (u32),
.format_trace = format_ip6_full_reass_trace,
.n_next_nodes = IP6_FULL_REASSEMBLY_N_NEXT,
.next_nodes =
{
[IP6_FULL_REASSEMBLY_NEXT_HANDOFF] = "ip6-full-reass-feature-hoff",
},
}
static u8 * format_ip6_full_reass_trace(u8 *s, va_list *args)
static char * ip6_full_reassembly_error_strings[]
unsigned int u32
Definition: types.h:88
#define ARRAY_LEN(x)
Definition: clib.h:66

(constructor) VLIB_REGISTER_NODE (ip6_full_reass_node_feature)

Definition at line 1296 of file ip6_full_reass.c.

◆ ip6_full_reassembly_error_strings

char* ip6_full_reassembly_error_strings[]
static
Initial value:
= {
#define _(sym, string)
}
#define foreach_ip6_error
Definition: ip6_error.h:43

Definition at line 1255 of file ip6_full_reass.c.

◆ ip6_full_reassembly_feature_handoff_node

vlib_node_registration_t ip6_full_reassembly_feature_handoff_node
Initial value:
= {
.name = "ip6-full-reass-feature-hoff",
.vector_size = sizeof (u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
unsigned int u32
Definition: types.h:88
static u8 * format_ip6_full_reassembly_handoff_trace(u8 *s, va_list *args)
static char * ip6_full_reassembly_handoff_error_strings[]
#define ARRAY_LEN(x)
Definition: clib.h:66

(constructor) VLIB_REGISTER_NODE (ip6_full_reassembly_feature_handoff_node)

Definition at line 1830 of file ip6_full_reass.c.

◆ ip6_full_reassembly_handoff_error_strings

char* ip6_full_reassembly_handoff_error_strings[]
static
Initial value:
= {
#define _(sym,string)
}
#define foreach_ip6_full_reassembly_handoff_error

Definition at line 1723 of file ip6_full_reass.c.

◆ ip6_full_reassembly_handoff_node

vlib_node_registration_t ip6_full_reassembly_handoff_node
Initial value:
= {
.name = "ip6-full-reassembly-handoff",
.vector_size = sizeof (u32),
.n_next_nodes = 1,
.next_nodes = {
[0] = "error-drop",
},
}
unsigned int u32
Definition: types.h:88
static u8 * format_ip6_full_reassembly_handoff_trace(u8 *s, va_list *args)
static char * ip6_full_reassembly_handoff_error_strings[]
#define ARRAY_LEN(x)
Definition: clib.h:66

(constructor) VLIB_REGISTER_NODE (ip6_full_reassembly_handoff_node)

Definition at line 1807 of file ip6_full_reass.c.

◆ show_ip6_full_reassembly_cmd

vlib_cli_command_t show_ip6_full_reassembly_cmd
static
Initial value:
= {
.path = "show ip6-full-reassembly",
.short_help = "show ip6-full-reassembly [details]",
.function = show_ip6_full_reass,
}
static clib_error_t * show_ip6_full_reass(vlib_main_t *vm, unformat_input_t *input, CLIB_UNUSED(vlib_cli_command_t *lmd))

(constructor) VLIB_CLI_COMMAND (show_ip6_full_reassembly_cmd)

Definition at line 1694 of file ip6_full_reass.c.