cloudFPGA (cF) API
1.0
The documentation of the source code of cloudFPGA (cF)
|
#include <tx_sar_table.hpp>
Public Member Functions | |
TxSarEntry () | |
Public Attributes | |
TxBufPtr | appw |
TxAckNum | unak |
TxAckNum | ackd |
RemotWinSize | recv_window |
LocalWinSize | cong_window |
TcpWindow | slowstart_threshold |
ap_uint< 2 > | count |
bool | fastRetransmitted |
bool | finReady |
bool | finSent |
Tx SAR Table (TSt) Structure to manage the transmitted data stream in the TCP Tx buffer memory. Every session is allocated with a static Tx buffer of 64KB to store the stream of bytes received from the application layer, until the network layer consumes (.i.e read) them out and acknowledge them. The Tx buffer is managed as a circular buffer with three pointers:
ackd unak appw | | | \|/ \|/ \|/–+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+– |269|270|271|272|273|274|275|276|277|278|279|280|281|282|283|284| –+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+–
[TODO - The structure is also used to manage the send window...]
Definition at line 85 of file tx_sar_table.hpp.
|
inline |
Definition at line 97 of file tx_sar_table.hpp.
TxAckNum TxSarEntry::ackd |
Definition at line 89 of file tx_sar_table.hpp.
TxBufPtr TxSarEntry::appw |
Definition at line 87 of file tx_sar_table.hpp.
LocalWinSize TxSarEntry::cong_window |
Definition at line 91 of file tx_sar_table.hpp.
ap_uint<2> TxSarEntry::count |
Definition at line 93 of file tx_sar_table.hpp.
bool TxSarEntry::fastRetransmitted |
Definition at line 94 of file tx_sar_table.hpp.
bool TxSarEntry::finReady |
Definition at line 95 of file tx_sar_table.hpp.
bool TxSarEntry::finSent |
Definition at line 96 of file tx_sar_table.hpp.
RemotWinSize TxSarEntry::recv_window |
Definition at line 90 of file tx_sar_table.hpp.
TcpWindow TxSarEntry::slowstart_threshold |
Definition at line 92 of file tx_sar_table.hpp.
TxAckNum TxSarEntry::unak |
Definition at line 88 of file tx_sar_table.hpp.