|
FD.io VPP
v21.10.1-2-g0a485f517
Vector Packet Processing
|
Go to the documentation of this file.
93 u32 n_data_bytes = va_arg (*args,
u32);
97 for (
i = 0;
i < n_data_bytes && is_printable;
i++)
118 int *result = va_arg (*args,
int *);
136 int *result = va_arg (*args,
int *);
150 int *result = va_arg (*args,
int *);
152 return (
unformat (input,
"0x%x", result) ||
unformat (input,
"%d", result));
160 int *result = va_arg (*args,
int *);
179 if (token[
i] >=
'a' && token[
i] <=
'z')
180 token[
i] =
'A' + token[
i] -
'a';
194 u8 **chroot_filename = va_arg (*args,
u8 **);
197 if (!
unformat (input,
"%s", &filename))
201 if (strstr ((
char *) filename,
"..") ||
index ((
char *) filename,
'/'))
207 *chroot_filename =
format (0,
"/tmp/%s%c", filename, 0);
219 return format (s,
"main");
#define vec_add(V, E, N)
Add N elements to end of vector V (no header, unspecified alignment)
vnet_hw_if_output_node_runtime_t * r
vlib_worker_thread_t * vlib_worker_threads
#define vec_len(v)
Number of elements in vector (rvalue-only, NULL tolerant)
#define vec_add1(V, E)
Add 1 element to end of vector (unspecified alignment).
#define hash_get_mem(h, key)
#define vec_free(V)
Free vector's memory (no header).