FD.io VPP  v18.07-34-g55fbdb9
Vector Packet Processing
test.c File Reference
+ Include dependency graph for test.c:

Go to the source code of this file.

Macros

#define foreach_test_case
 

Functions

static map_domain_tget_domain (ip4_address_t *ip4_prefix, u8 ip4_prefix_len, ip6_address_t *ip6_prefix, u8 ip6_prefix_len, ip6_address_t *ip6_src, u8 ip6_src_len, u8 ea_bits_len, u8 psid_offset, u8 psid_length, u16 mtu, u8 flags)
 
static void test_map_t_destaddr (void)
 
static void test_map_eabits (void)
 
static void run_tests (void)
 
int main ()
 

Macro Definition Documentation

#define foreach_test_case
Value:
_(map_t_destaddr) \
_(map_eabits)

Definition at line 188 of file test.c.

Function Documentation

static map_domain_t* get_domain ( ip4_address_t ip4_prefix,
u8  ip4_prefix_len,
ip6_address_t ip6_prefix,
u8  ip6_prefix_len,
ip6_address_t ip6_src,
u8  ip6_src_len,
u8  ea_bits_len,
u8  psid_offset,
u8  psid_length,
u16  mtu,
u8  flags 
)
static

Definition at line 22 of file test.c.

+ Here is the caller graph for this function:

int main ( )

Definition at line 202 of file test.c.

+ Here is the call graph for this function:

static void run_tests ( void  )
static

Definition at line 193 of file test.c.

+ Here is the caller graph for this function:

static void test_map_eabits ( void  )
static

Definition at line 115 of file test.c.

+ Here is the call graph for this function:

static void test_map_t_destaddr ( void  )
static

Definition at line 86 of file test.c.

+ Here is the call graph for this function: