ReactOS 0.4.16-dev-258-g81860b4
test_ip4.h File Reference
#include "../lwip_check.h"
Include dependency graph for test_ip4.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

Suite * ip4_suite (void)
 

Function Documentation

◆ ip4_suite()

Suite * ip4_suite ( void  )

Create the suite including all tests for this module

Definition at line 331 of file test_ip4.c.

332{
333 testfunc tests[] = {
334 TESTFUNC(test_ip4_frag),
335 TESTFUNC(test_ip4_reass),
336 TESTFUNC(test_127_0_0_1),
337 TESTFUNC(test_ip4addr_aton),
338 TESTFUNC(test_ip4_icmp_replylen_short),
339 TESTFUNC(test_ip4_icmp_replylen_first_8),
340 };
341 return create_suite("IPv4", tests, sizeof(tests)/sizeof(testfunc), ip4_setup, ip4_teardown);
342}
Suite * create_suite(const char *name, testfunc *tests, size_t num_tests, SFun setup, SFun teardown)
#define TESTFUNC(x)
Definition: lwip_check.h:22
static struct test_info tests[]
static void ip4_setup(void)
Definition: test_ip4.c:121
static void ip4_teardown(void)
Definition: test_ip4.c:127

Referenced by main().