38 s =
format (s,
"EXPORT: flow_label %d, next index %d",
45 #define foreach_export_error \ 46 _(RECORDED, "Packets recorded for export") 50 #define _(sym,str) EXPORT_ERROR_##sym, 57 #define _(sym,string) string, 87 u64 *copy_dst, *copy_src;
89 copy_dst = (
u64 *) dst;
90 copy_src = (
u64 *) src;
93 for (i = 0; i < n / 64; i++)
95 copy_dst[0] = copy_src[0];
96 copy_dst[1] = copy_src[1];
97 copy_dst[2] = copy_src[2];
98 copy_dst[3] = copy_src[3];
99 copy_dst[4] = copy_src[4];
100 copy_dst[5] = copy_src[5];
101 copy_dst[6] = copy_src[6];
102 copy_dst[7] = copy_src[7];
108 for (i = 0; i < 3; i++)
110 copy_dst[0] = copy_src[0];
111 copy_dst[1] = copy_src[1];
112 copy_dst[2] = copy_src[2];
113 copy_dst[3] = copy_src[3];
114 copy_dst[4] = copy_src[4];
115 copy_dst[5] = copy_src[5];
116 copy_dst[6] = copy_src[6];
117 copy_dst[7] = copy_src[7];
131 ip_version_and_header_length,
143 .name =
"vxlan-gpe-ioam-export",
144 .vector_size =
sizeof (
u32),
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 uword vxlan_gpe_export_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
struct _vlib_node_registration vlib_node_registration_t
ioam_export_main_t vxlan_gpe_ioam_export_main
#define foreach_export_error
VXLAN GPE packet header structure.
#define ioam_export_node_common(EM, VM, N, F, HTYPE, L, V, NEXT)
static void copy3cachelines(void *dst, const void *src, size_t n)
vlib_node_registration_t vxlan_export_node
(constructor) VLIB_REGISTER_NODE (vxlan_export_node)
static char * export_error_strings[]
#define DEFAULT_EXPORT_SIZE
#define VLIB_REGISTER_NODE(x,...)
static u8 * format_export_trace(u8 *s, va_list *args)