FD.io VPP  v18.10-34-gcce845e
Vector Packet Processing
nsh_md2_ioam_node.c File Reference
+ Include dependency graph for nsh_md2_ioam_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 nsh_md2_ioam_export_fixup_func (vlib_buffer_t *export_buf, vlib_buffer_t *pak_buf)
 
static uword nsh_md2_ioam_export_node_fn (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
 

Variables

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

Macro Definition Documentation

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

Definition at line 47 of file nsh_md2_ioam_node.c.

Enumeration Type Documentation

Enumerator
EXPORT_N_ERROR 
EXPORT_N_ERROR 
EXPORT_N_ERROR 

Definition at line 50 of file nsh_md2_ioam_node.c.

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 64 of file nsh_md2_ioam_node.c.

Function Documentation

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

Definition at line 71 of file nsh_md2_ioam_node.c.

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

Definition at line 34 of file nsh_md2_ioam_node.c.

+ Here is the call graph for this function:

static void nsh_md2_ioam_export_fixup_func ( vlib_buffer_t export_buf,
vlib_buffer_t pak_buf 
)
static

Definition at line 111 of file nsh_md2_ioam_node.c.

+ Here is the caller graph for this function:

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

Definition at line 118 of file nsh_md2_ioam_node.c.

+ Here is the call graph for this function:

Variable Documentation

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

Definition at line 58 of file nsh_md2_ioam_node.c.

(constructor) VLIB_REGISTER_NODE (export_node)

Definition at line 31 of file nsh_md2_ioam_node.c.

ioam_export_main_t nsh_md2_ioam_export_main

Definition at line 32 of file nsh_md2_ioam_export.c.

vlib_node_registration_t nsh_md2_ioam_export_node
Initial value:
=
{
.name = "nsh-md2-ioam-export",
.vector_size = sizeof (u32),
.format_trace = format_export_trace,
.error_strings = export_error_strings,
.n_next_nodes = EXPORT_N_NEXT,
.next_nodes =
}
static uword nsh_md2_ioam_export_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * export_error_strings[]
unsigned int u32
Definition: types.h:88
#define ARRAY_LEN(x)
Definition: clib.h:61
static u8 * format_export_trace(u8 *s, va_list *args)

(constructor) VLIB_REGISTER_NODE (nsh_md2_ioam_export_node)

Definition at line 45 of file nsh_md2_ioam_node.c.