FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
node.c File Reference
+ Include dependency graph for node.c:

Go to the source code of this file.

Data Structures

struct  export_trace_t
 

Macros

#define foreach_export_error   _(RECORDED, "Packets recorded for export")
 

Enumerations

enum  export_error_t { EXPORT_N_ERROR, EXPORT_N_ERROR, EXPORT_N_ERROR }
 
enum  export_next_t {
  EXPORT_NEXT_POP_HBYH, EXPORT_N_NEXT, EXPORT_NEXT_VXLAN_GPE_INPUT, EXPORT_N_NEXT,
  EXPORT_NEXT_NSH_MD2_IOAM_INPUT, EXPORT_N_NEXT
}
 

Functions

static u8format_export_trace (u8 *s, va_list *args)
 
static void copy3cachelines (void *dst, const void *src, size_t n)
 
static void ip6_export_fixup_func (vlib_buffer_t *export_buf, vlib_buffer_t *pak_buf)
 
static uword ip6_export_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

vlib_node_registration_t export_node
 (constructor) VLIB_REGISTER_NODE (export_node) More...
 
ioam_export_main_t ioam_export_main
 
static char * export_error_strings []
 

Macro Definition Documentation

◆ foreach_export_error

#define foreach_export_error   _(RECORDED, "Packets recorded for export")

Definition at line 46 of file node.c.

Enumeration Type Documentation

◆ export_error_t

Enumerator
EXPORT_N_ERROR 
EXPORT_N_ERROR 
EXPORT_N_ERROR 

Definition at line 49 of file node.c.

◆ export_next_t

Enumerator
EXPORT_NEXT_POP_HBYH 
EXPORT_N_NEXT 
EXPORT_NEXT_VXLAN_GPE_INPUT 
EXPORT_N_NEXT 
EXPORT_NEXT_NSH_MD2_IOAM_INPUT 
EXPORT_N_NEXT 

Definition at line 63 of file node.c.

Function Documentation

◆ copy3cachelines()

static void copy3cachelines ( void *  dst,
const void *  src,
size_t  n 
)
inlinestatic

Definition at line 70 of file node.c.

+ Here is the call graph for this function:

◆ format_export_trace()

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

Definition at line 32 of file node.c.

◆ ip6_export_fixup_func()

static void ip6_export_fixup_func ( vlib_buffer_t export_buf,
vlib_buffer_t pak_buf 
)
static

Definition at line 126 of file node.c.

+ Here is the caller graph for this function:

◆ ip6_export_node_fn()

static uword ip6_export_node_fn ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame 
)
static

Definition at line 140 of file node.c.

+ Here is the call graph for this function:

Variable Documentation

◆ export_error_strings

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

Definition at line 57 of file node.c.

◆ export_node

Initial value:
=
{
.function = ip6_export_node_fn,
.name = "ip6-export",
.vector_size = sizeof (u32),
.format_trace = format_export_trace,
.error_strings = export_error_strings,
.n_next_nodes = EXPORT_N_NEXT,
.next_nodes =
{
[EXPORT_NEXT_POP_HBYH] = "ip6-pop-hop-by-hop"
},
}

(constructor) VLIB_REGISTER_NODE (export_node)

Definition at line 43 of file node.c.

◆ ioam_export_main

ioam_export_main_t ioam_export_main

Definition at line 37 of file ioam_export.c.

EXPORT_N_NEXT
@ EXPORT_N_NEXT
Definition: node.c:66
VLIB_NODE_TYPE_INTERNAL
@ VLIB_NODE_TYPE_INTERNAL
Definition: node.h:72
ip6_export_node_fn
static uword ip6_export_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
Definition: node.c:140
ARRAY_LEN
#define ARRAY_LEN(x)
Definition: clib.h:70
format_export_trace
static u8 * format_export_trace(u8 *s, va_list *args)
Definition: node.c:32
EXPORT_NEXT_POP_HBYH
@ EXPORT_NEXT_POP_HBYH
Definition: node.c:65
u32
unsigned int u32
Definition: types.h:88
export_error_strings
static char * export_error_strings[]
Definition: node.c:57
foreach_export_error
#define foreach_export_error
Definition: node.c:46
type
vl_api_fib_path_type_t type
Definition: fib_types.api:123