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

Go to the source code of this file.

Functions

Suite * tcp_suite (void)
 

Function Documentation

◆ tcp_suite()

Suite * tcp_suite ( void  )

Create the suite including all tests for this module

Definition at line 1674 of file test_tcp.c.

1675{
1676 testfunc tests[] = {
1677 TESTFUNC(test_tcp_new_abort),
1678 TESTFUNC(test_tcp_listen_passive_open),
1679 TESTFUNC(test_tcp_recv_inseq),
1680 TESTFUNC(test_tcp_recv_inseq_trim),
1681 TESTFUNC(test_tcp_passive_close),
1682 TESTFUNC(test_tcp_active_abort),
1683 TESTFUNC(test_tcp_malformed_header),
1684 TESTFUNC(test_tcp_fast_retx_recover),
1685 TESTFUNC(test_tcp_fast_rexmit_wraparound),
1686 TESTFUNC(test_tcp_rto_rexmit_wraparound),
1687 TESTFUNC(test_tcp_tx_full_window_lost_from_unacked),
1688 TESTFUNC(test_tcp_tx_full_window_lost_from_unsent),
1689 TESTFUNC(test_tcp_retx_add_to_sent),
1690 TESTFUNC(test_tcp_rto_tracking),
1691 TESTFUNC(test_tcp_rto_timeout),
1692 TESTFUNC(test_tcp_rto_timeout_link_down),
1693 TESTFUNC(test_tcp_rto_timeout_syn_sent),
1694 TESTFUNC(test_tcp_rto_timeout_syn_sent_link_down),
1695 TESTFUNC(test_tcp_zwp_timeout),
1696 TESTFUNC(test_tcp_zwp_timeout_link_down),
1697 TESTFUNC(test_tcp_persist_split)
1698 };
1699 return create_suite("TCP", tests, sizeof(tests)/sizeof(testfunc), tcp_setup, tcp_teardown);
1700}
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 tcp_teardown(void)
Definition: test_tcp.c:68
static void tcp_setup(void)
Definition: test_tcp.c:48

Referenced by main().