|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
56 tmp_t empty = {.next_node = ~0,.prev_node = ~0 };
59 return format (s,
"%=26s%=26s%=26s",
"Name",
"Next",
"Previous");
71 tmps[j].next_slot =
i;
79 tmps[j].prev_node =
i;
89 if (tmps[
i].next_node != ~0)
95 t =
format (t,
"%v [%d]", x->
name, tmps[
i].next_slot);
96 s =
format (s,
"%=26v", t);
100 s =
format (s,
"%26s",
"");
102 if (tmps[
i].prev_node != ~0)
154 u32 *result = va_arg (*args,
u32 *);
164 f64 time = va_arg (*va,
f64);
165 return format (s,
"%12.4f", time);
172 u64 cpu_time = va_arg (*va,
u64);
185 u32 *march_variant = va_arg (*args,
u32 *);
189 if (
unformat (input,
"%s", &str) == 0)
197 *march_variant = p[0];
nat44_ei_hairpin_src_next_t next_index
#define VLIB_INVALID_NODE_INDEX
vlib_node_main_t node_main
vlib_main_t * vm
X-connect all packets from the HOST to the PHY.
#define vec_elt(v, i)
Get vector value at index i.
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)
#define vec_elt_at_index(v, i)
Get vector value at index i checking that i is in bounds.
static vlib_node_t * vlib_get_node(vlib_main_t *vm, u32 i)
Get vlib node by index.
sll srl srl sll sra u16x4 i
uword * node_fn_march_variant_by_suffix
static vlib_node_t * vlib_get_next_node(vlib_main_t *vm, u32 node_index, u32 next_index)
Get vlib node by graph arc (next) index.
#define vec_free(V)
Free vector's memory (no header).
description fragment has unexpected format
#define vec_validate_init_empty(V, I, INIT)
Make sure vector is long enough for given index and initialize empty space (no header,...
static vlib_main_t * vlib_get_main(void)
unformat_function_t unformat_hash_vec_string
#define clib_bitmap_foreach(i, ai)
Macro to iterate across set bits in a bitmap.