cloudFPGA (cF) API  1.0
The documentation of the source code of cloudFPGA (cF)
RxSarEntry Class Reference

#include <rx_sar_table.hpp>

Public Member Functions

 RxSarEntry ()
 

Public Attributes

RxBufPtr appd
 
RxSeqNum rcvd
 
FlagBool ooo
 
RxSeqNum oooHead
 
RxSeqNum oooTail
 

Detailed Description

Rx SAR Table (RSt) Structure to manage the received data stream in the TCP Rx buffer memory. Every session is allocated with a static Rx buffer of 64KB to store the stream of bytes received from the network layer, until the application layer consumes (.i.e read) them out. The Rx buffer is managed as a circular buffer with an insertion and an extraction pointer.

  • 'rcvd' holds the sequence number of the last received and acknowledged byte from the network layer,
  • 'appd' holds a pointer to the next byte ready to be read (.i.e, consumed) by the application layer.

    appd rcvd oooTail oooHead | | | | |/ |/ |/ |/ –+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+– |269|270|271|272|273|274|275|276|277|278|279|280|281|282|283|284| –+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+—+–

Definition at line 83 of file rx_sar_table.hpp.

Constructor & Destructor Documentation

◆ RxSarEntry()

RxSarEntry::RxSarEntry ( )
inline

Definition at line 90 of file rx_sar_table.hpp.

90 {}

Member Data Documentation

◆ appd

RxBufPtr RxSarEntry::appd

Definition at line 85 of file rx_sar_table.hpp.

◆ ooo

FlagBool RxSarEntry::ooo

Definition at line 87 of file rx_sar_table.hpp.

◆ oooHead

RxSeqNum RxSarEntry::oooHead

Definition at line 88 of file rx_sar_table.hpp.

◆ oooTail

RxSeqNum RxSarEntry::oooTail

Definition at line 89 of file rx_sar_table.hpp.

◆ rcvd

RxSeqNum RxSarEntry::rcvd

Definition at line 86 of file rx_sar_table.hpp.


The documentation for this class was generated from the following file: