ReactOS 0.4.16-dev-41-ge8c7597
|
Go to the source code of this file.
Macros | |
#define | SEQNO1 (0xFFFFFF00 - TCP_MSS) |
#define | ISS 6510 |
#define | SEQNO1 (0xFFFFFF00 - TCP_MSS) |
#define | ISS 6510 |
Functions | |
static void | test_tcp_tmr (void) |
static void | tcp_setup (void) |
static void | tcp_teardown (void) |
START_TEST (test_tcp_new_abort) | |
END_TEST | START_TEST (test_tcp_recv_inseq) |
END_TEST | START_TEST (test_tcp_fast_retx_recover) |
static void | check_seqnos (struct tcp_seg *segs, int num_expected, u32_t *seqnos_expected) |
START_TEST (test_tcp_fast_rexmit_wraparound) | |
END_TEST | START_TEST (test_tcp_rto_rexmit_wraparound) |
static END_TEST void | test_tcp_tx_full_window_lost (u8_t zero_window_probe_from_unsent) |
START_TEST (test_tcp_tx_full_window_lost_from_unsent) | |
END_TEST | START_TEST (test_tcp_tx_full_window_lost_from_unacked) |
END_TEST Suite * | tcp_suite (void) |
Variables | |
static u8_t | test_tcp_timer |
static END_TEST u8_t | tx_data [TCP_WND *2] |
#define ISS 6510 |
#define ISS 6510 |
|
static |
Definition at line 296 of file test_tcp.c.
Referenced by START_TEST().
END_TEST START_TEST | ( | test_tcp_fast_retx_recover | ) |
Provoke fast retransmission by duplicate ACKs and then recover by ACKing all sent data. At the end, send more data.
Definition at line 123 of file test_tcp.c.
START_TEST | ( | test_tcp_fast_rexmit_wraparound | ) |
Send data with sequence numbers that wrap around the u32_t range. Then, provoke fast retransmission by duplicate ACKs and check that all segment lists are still properly sorted.
Definition at line 310 of file test_tcp.c.
START_TEST | ( | test_tcp_new_abort | ) |
Call tcp_new() and tcp_abort() and test memp stats
Definition at line 56 of file test_tcp.c.
END_TEST START_TEST | ( | test_tcp_recv_inseq | ) |
Create an ESTABLISHED pcb and check if receive callback is called
Definition at line 74 of file test_tcp.c.
END_TEST START_TEST | ( | test_tcp_rto_rexmit_wraparound | ) |
Send data with sequence numbers that wrap around the u32_t range. Then, provoke RTO retransmission and check that all segment lists are still properly sorted.
Definition at line 408 of file test_tcp.c.
END_TEST START_TEST | ( | test_tcp_tx_full_window_lost_from_unacked | ) |
Definition at line 646 of file test_tcp.c.
START_TEST | ( | test_tcp_tx_full_window_lost_from_unsent | ) |
Definition at line 639 of file test_tcp.c.
Definition at line 33 of file test_tcp.c.
Referenced by tcp_suite().
END_TEST Suite * tcp_suite | ( | void | ) |
Create the suite including all tests for this module
Definition at line 655 of file test_tcp.c.
Referenced by main().
Definition at line 22 of file test_tcp.c.
Referenced by START_TEST(), and test_tcp_tx_full_window_lost().
Provoke fast retransmission by duplicate ACKs and then recover by ACKing all sent data. At the end, send more data.
Definition at line 497 of file test_tcp.c.
Referenced by START_TEST().
|
static |
Definition at line 18 of file test_tcp.c.
Referenced by tcp_setup(), and test_tcp_tmr().
Definition at line 293 of file test_tcp.c.
Referenced by START_TEST(), and test_tcp_tx_full_window_lost().