39 s =
format (s,
"EXPORT: flow_label %d, next index %d",
47 #define foreach_export_error \ 48 _(RECORDED, "Packets recorded for export") 52 #define _(sym,str) EXPORT_ERROR_##sym, 59 #define _(sym,string) string, 89 u64 *copy_dst, *copy_src;
91 copy_dst = (
u64 *) dst;
92 copy_src = (
u64 *) src;
95 for (i = 0; i < n / 64; i++)
97 copy_dst[0] = copy_src[0];
98 copy_dst[1] = copy_src[1];
99 copy_dst[2] = copy_src[2];
100 copy_dst[3] = copy_src[3];
101 copy_dst[4] = copy_src[4];
102 copy_dst[5] = copy_src[5];
103 copy_dst[6] = copy_src[6];
104 copy_dst[7] = copy_src[7];
110 for (i = 0; i < 3; i++)
112 copy_dst[0] = copy_src[0];
113 copy_dst[1] = copy_src[1];
114 copy_dst[2] = copy_src[2];
115 copy_dst[3] = copy_src[3];
116 copy_dst[4] = copy_src[4];
117 copy_dst[5] = copy_src[5];
118 copy_dst[6] = copy_src[6];
119 copy_dst[7] = copy_src[7];
131 u32 flow_label_temp =
137 clib_host_to_net_u32(flow_label_temp);
146 ip_version_traffic_class_and_flow_label,
157 .name =
"ip6-export",
158 .vector_size =
sizeof (
u32),
u16 current_length
Nbytes between current data and the end of this buffer.
static u8 * format_export_trace(u8 *s, va_list *args)
static uword ip6_export_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
vl_api_fib_path_type_t type
static void copy3cachelines(void *dst, const void *src, size_t n)
#define VLIB_REGISTER_NODE(x,...)
struct _vlib_node_registration vlib_node_registration_t
VLIB buffer representation.
vlib_node_registration_t export_node
(constructor) VLIB_REGISTER_NODE (export_node)
#define ioam_export_node_common(EM, VM, N, F, HTYPE, L, V, NEXT, FIXUP_FUNC)
#define foreach_export_error
static char * export_error_strings[]
#define DEFAULT_EXPORT_SIZE
#define IOAM_MASK_DECAP_BIT(x)
static void ip6_export_fixup_func(vlib_buffer_t *export_buf, vlib_buffer_t *pak_buf)
static void clib_mov64(u8 *dst, const u8 *src)
ioam_export_main_t ioam_export_main