41 s =
format (s,
"EXPORT: flow_label %d, next index %d",
48 #define foreach_export_error \ 49 _(RECORDED, "Packets recorded for export") 53 #define _(sym,str) EXPORT_ERROR_##sym, 60 #define _(sym,string) string, 75 u64 *copy_dst, *copy_src;
77 copy_dst = (
u64 *) dst;
78 copy_src = (
u64 *) src;
81 for (i = 0; i < n / 64; i++)
83 copy_dst[0] = copy_src[0];
84 copy_dst[1] = copy_src[1];
85 copy_dst[2] = copy_src[2];
86 copy_dst[3] = copy_src[3];
87 copy_dst[4] = copy_src[4];
88 copy_dst[5] = copy_src[5];
89 copy_dst[6] = copy_src[6];
90 copy_dst[7] = copy_src[7];
96 for (i = 0; i < 3; i++)
98 copy_dst[0] = copy_src[0];
99 copy_dst[1] = copy_src[1];
100 copy_dst[2] = copy_src[2];
101 copy_dst[3] = copy_src[3];
102 copy_dst[4] = copy_src[4];
103 copy_dst[5] = copy_src[5];
104 copy_dst[6] = copy_src[6];
105 copy_dst[7] = copy_src[7];
124 ip_version_and_header_length,
137 .name =
"nsh-md2-ioam-export",
138 .vector_size =
sizeof (
u32),
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[]
#define foreach_export_error
vl_api_fib_path_type_t type
static void nsh_md2_ioam_export_fixup_func(vlib_buffer_t *export_buf, vlib_buffer_t *pak_buf)
ioam_export_main_t nsh_md2_ioam_export_main
#define VLIB_REGISTER_NODE(x,...)
sll srl srl sll sra u16x4 i
vlib_main_t vlib_node_runtime_t * node
vlib_node_registration_t nsh_md2_ioam_export_node
(constructor) VLIB_REGISTER_NODE (nsh_md2_ioam_export_node)
static void copy3cachelines(void *dst, const void *src, size_t n)
struct _vlib_node_registration vlib_node_registration_t
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
VLIB buffer representation.
#define ioam_export_node_common(EM, VM, N, F, HTYPE, L, V, NEXT, FIXUP_FUNC)
#define DEFAULT_EXPORT_SIZE
vlib_node_registration_t export_node
(constructor) VLIB_REGISTER_NODE (export_node)
static u8 * format_export_trace(u8 *s, va_list *args)