Unit test for the TCP Forward Acknowledgment (FACK) implementation. More...
#include "tcp-error-model.h"#include "tcp-general-test.h"#include "ns3/assert.h"#include "ns3/log.h"#include "ns3/node.h"#include "ns3/simple-channel.h"#include "ns3/tcp-header.h"#include "ns3/tcp-tx-buffer.h"#include "ns3/test.h"Go to the source code of this file.
Classes | |
| class | TcpFackTest |
| Test case for Forward Acknowledgment(FACK). More... | |
| class | TcpFackTestSuite |
| Test suite for verifying the behavior of the TCP FACK implementation under controlled packet loss scenarios. More... | |
Variables | |
| static TcpFackTestSuite | g_tcpFackTestSuite |
| Static variable for test initialization. | |
Unit test for the TCP Forward Acknowledgment (FACK) implementation.
This unit test creates a short packet flow and forces four consecutive lost segments, and verifies that the snd.fack variable is updated to the highest sequence number present in the incoming SACK blocks, and that its external calculation of awnd matches the internal state variable.
Definition in file tcp-fack-test.cc.
|
static |
Static variable for test initialization.
Definition at line 193 of file tcp-fack-test.cc.