FD.io VPP  v20.05.1-6-gf53edbc3b
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

◆ foreach_test_case

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

Definition at line 188 of file test.c.

Function Documentation

◆ get_domain()

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:

◆ main()

int main ( )

Definition at line 202 of file test.c.

+ Here is the call graph for this function:

◆ run_tests()

static void run_tests ( void  )
static

Definition at line 193 of file test.c.

+ Here is the caller graph for this function:

◆ test_map_eabits()

static void test_map_eabits ( void  )
static

Definition at line 115 of file test.c.

+ Here is the call graph for this function:

◆ test_map_t_destaddr()

static void test_map_t_destaddr ( void  )
static

Definition at line 86 of file test.c.

+ Here is the call graph for this function: