FD.io VPP  v21.06-1-gbb7418cf9
Vector Packet Processing
test_vector_funcs.h File Reference
+ Include dependency graph for test_vector_funcs.h:

Go to the source code of this file.

Data Structures

struct  test_registration_
 

Macros

#define REGISTER_TEST(x)
 

Typedefs

typedef clib_error_t *() test_fn_t(clib_error_t *)
 
typedef struct test_registration_ test_registration_t
 

Variables

test_registration_ttest_registrations [CLIB_MARCH_TYPE_N_VARIANTS]
 

Macro Definition Documentation

◆ REGISTER_TEST

#define REGISTER_TEST (   x)
Value:
static void __clib_constructor CLIB_MARCH_SFX (__test_registration_##x) ( \
void) \
{ \
test_registration_t *r = &CLIB_MARCH_SFX (__test_##x); \
test_registrations[CLIB_MARCH_SFX (CLIB_MARCH_VARIANT_TYPE)] = r; \
} \
test_registration_t CLIB_MARCH_SFX (__test_##x)
vnet_hw_if_output_node_runtime_t * r
#define CLIB_MARCH_SFX
Definition: cpu.h:56
test_registration_t * test_registrations[CLIB_MARCH_TYPE_N_VARIANTS]

Definition at line 24 of file test_vector_funcs.h.

Typedef Documentation

◆ test_fn_t

typedef clib_error_t*() test_fn_t(clib_error_t *)

Definition at line 10 of file test_vector_funcs.h.

◆ test_registration_t

Variable Documentation

◆ test_registrations