36 s =
format (s,
"EXPORT: flow_label %d, next index %d",
43 #define foreach_export_error \ 44 _(RECORDED, "Packets recorded for export") 48 #define _(sym,str) EXPORT_ERROR_##sym, 55 #define _(sym,string) string, 85 u64 *copy_dst, *copy_src;
87 copy_dst = (
u64 *) dst;
88 copy_src = (
u64 *) src;
91 for (i = 0; i < n / 64; i++)
93 copy_dst[0] = copy_src[0];
94 copy_dst[1] = copy_src[1];
95 copy_dst[2] = copy_src[2];
96 copy_dst[3] = copy_src[3];
97 copy_dst[4] = copy_src[4];
98 copy_dst[5] = copy_src[5];
99 copy_dst[6] = copy_src[6];
100 copy_dst[7] = copy_src[7];
106 for (i = 0; i < 3; i++)
108 copy_dst[0] = copy_src[0];
109 copy_dst[1] = copy_src[1];
110 copy_dst[2] = copy_src[2];
111 copy_dst[3] = copy_src[3];
112 copy_dst[4] = copy_src[4];
113 copy_dst[5] = copy_src[5];
114 copy_dst[6] = copy_src[6];
115 copy_dst[7] = copy_src[7];
128 ip_version_traffic_class_and_flow_label,
139 .name =
"ip6-export",
140 .vector_size =
sizeof (
u32),
#define foreach_export_error
sll srl srl sll sra u16x4 i
static void clib_mov64(u8 *dst, const u8 *src)
bad routing header type(not 4)") sr_error (NO_MORE_SEGMENTS
static u8 * format_export_trace(u8 *s, va_list *args)
struct _vlib_node_registration vlib_node_registration_t
static void copy3cachelines(void *dst, const void *src, size_t n)
#define ioam_export_node_common(EM, VM, N, F, HTYPE, L, V, NEXT)
vlib_node_registration_t export_node
(constructor) VLIB_REGISTER_NODE (export_node)
static uword ip6_export_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static char * export_error_strings[]
#define DEFAULT_EXPORT_SIZE
#define VLIB_REGISTER_NODE(x,...)
ioam_export_main_t ioam_export_main