|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
38 s =
format (s,
"EXPORT: flow_label %d, next index %d",
46 #define foreach_export_error \
47 _(RECORDED, "Packets recorded for export")
51 #define _(sym,str) EXPORT_ERROR_##sym,
58 #define _(sym,string) string,
88 u64 *copy_dst, *copy_src;
94 for (
i = 0;
i < n / 64;
i++)
96 copy_dst[0] = copy_src[0];
97 copy_dst[1] = copy_src[1];
98 copy_dst[2] = copy_src[2];
99 copy_dst[3] = copy_src[3];
100 copy_dst[4] = copy_src[4];
101 copy_dst[5] = copy_src[5];
102 copy_dst[6] = copy_src[6];
103 copy_dst[7] = copy_src[7];
109 for (
i = 0;
i < 3;
i++)
111 copy_dst[0] = copy_src[0];
112 copy_dst[1] = copy_src[1];
113 copy_dst[2] = copy_src[2];
114 copy_dst[3] = copy_src[3];
115 copy_dst[4] = copy_src[4];
116 copy_dst[5] = copy_src[5];
117 copy_dst[6] = copy_src[6];
118 copy_dst[7] = copy_src[7];
130 u32 flow_label_temp =
136 clib_host_to_net_u32(flow_label_temp);
145 ip_version_traffic_class_and_flow_label,
147 return frame->n_vectors;
156 .name =
"ip6-export",
157 .vector_size =
sizeof (
u32),
vlib_main_t vlib_node_runtime_t vlib_frame_t * frame
@ VLIB_NODE_TYPE_INTERNAL
vlib_node_registration_t export_node
(constructor) VLIB_REGISTER_NODE (export_node)
vlib_main_t vlib_node_runtime_t * node
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
static uword ip6_export_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
#define IOAM_MASK_DECAP_BIT(x)
ioam_export_main_t ioam_export_main
#define ioam_export_node_common(EM, VM, N, F, HTYPE, L, V, NEXT, FIXUP_FUNC)
static u8 * format_export_trace(u8 *s, va_list *args)
#define DEFAULT_EXPORT_SIZE
sll srl srl sll sra u16x4 i
struct _vlib_node_registration vlib_node_registration_t
u16 current_length
Nbytes between current data and the end of this buffer.
static void ip6_export_fixup_func(vlib_buffer_t *export_buf, vlib_buffer_t *pak_buf)
static void copy3cachelines(void *dst, const void *src, size_t n)
description fragment has unexpected format
static char * export_error_strings[]
static void clib_mov64(u8 *dst, const u8 *src)
#define foreach_export_error
vl_api_fib_path_type_t type
VLIB buffer representation.
#define VLIB_REGISTER_NODE(x,...)