INET Framework for OMNeT++/OMNEST
|
Receive queue that manages "virtual bytes", that is, byte counts only. More...
#include <TCPVirtualDataRcvQueue.h>
Classes | |
class | Region |
Public Member Functions | |
TCPVirtualDataRcvQueue () | |
Ctor. More... | |
virtual | ~TCPVirtualDataRcvQueue () |
Virtual dtor. More... | |
virtual void | init (uint32 startSeq) override |
Method inherited from TCPReceiveQueue. More... | |
virtual std::string | info () const override |
Method inherited from TCPReceiveQueue. More... | |
virtual uint32 | insertBytesFromSegment (TCPSegment *tcpseg) override |
Method inherited from TCPReceiveQueue. More... | |
virtual cPacket * | extractBytesUpTo (uint32 seq) override |
Method inherited from TCPReceiveQueue. More... | |
virtual uint32 | getAmountOfBufferedBytes () override |
Method inherited from TCPReceiveQueue. More... | |
virtual uint32 | getAmountOfFreeBytes (uint32 maxRcvBuffer) override |
Method inherited from TCPReceiveQueue. More... | |
virtual uint32 | getQueueLength () override |
Method inherited from TCPReceiveQueue. More... | |
virtual void | getQueueStatus () override |
Method inherited from TCPReceiveQueue. More... | |
virtual uint32 | getLE (uint32 fromSeqNum) override |
Method inherited from TCPReceiveQueue. More... | |
virtual uint32 | getRE (uint32 toSeqNum) override |
Method inherited from TCPReceiveQueue. More... | |
virtual uint32 | getFirstSeqNo () override |
Returns the minimum of first byte seq.no. More... | |
Public Member Functions inherited from inet::tcp::TCPReceiveQueue | |
TCPReceiveQueue () | |
Ctor. More... | |
virtual | ~TCPReceiveQueue () |
Virtual dtor. More... | |
virtual void | setConnection (TCPConnection *_conn) |
Set the connection that owns this queue. More... | |
Protected Types | |
typedef std::list< Region * > | RegionList |
Protected Member Functions | |
void | merge (TCPVirtualDataRcvQueue::Region *region) |
Merge segment byte range into regionList, the parameter region must created by 'new' operator. More... | |
TCPVirtualDataRcvQueue::Region * | extractTo (uint32 toSeq) |
virtual TCPVirtualDataRcvQueue::Region * | createRegionFromSegment (TCPSegment *tcpseg) |
Create a new Region from tcpseg. More... | |
Protected Attributes | |
uint32 | rcv_nxt = 0 |
RegionList | regionList |
Protected Attributes inherited from inet::tcp::TCPReceiveQueue | |
TCPConnection * | conn |
Receive queue that manages "virtual bytes", that is, byte counts only.
|
protected |
inet::tcp::TCPVirtualDataRcvQueue::TCPVirtualDataRcvQueue | ( | ) |
Ctor.
|
virtual |
Virtual dtor.
|
protectedvirtual |
Create a new Region from tcpseg.
Called from insertBytesFromSegment()
Reimplemented in inet::tcp::TCPByteStreamRcvQueue.
Referenced by insertBytesFromSegment().
|
overridevirtual |
Method inherited from TCPReceiveQueue.
Implements inet::tcp::TCPReceiveQueue.
Reimplemented in inet::tcp::TCPByteStreamRcvQueue, and inet::tcp::TCPMsgBasedRcvQueue.
|
protected |
Referenced by inet::tcp::TCPMsgBasedRcvQueue::extractBytesUpTo(), inet::tcp::TCPByteStreamRcvQueue::extractBytesUpTo(), and extractBytesUpTo().
|
overridevirtual |
Method inherited from TCPReceiveQueue.
Implements inet::tcp::TCPReceiveQueue.
Referenced by getAmountOfFreeBytes().
|
overridevirtual |
Method inherited from TCPReceiveQueue.
Implements inet::tcp::TCPReceiveQueue.
|
overridevirtual |
Returns the minimum of first byte seq.no.
in queue and rcv_nxt
Implements inet::tcp::TCPReceiveQueue.
Method inherited from TCPReceiveQueue.
Implements inet::tcp::TCPReceiveQueue.
|
overridevirtual |
Method inherited from TCPReceiveQueue.
Implements inet::tcp::TCPReceiveQueue.
|
overridevirtual |
Method inherited from TCPReceiveQueue.
Implements inet::tcp::TCPReceiveQueue.
Method inherited from TCPReceiveQueue.
Implements inet::tcp::TCPReceiveQueue.
|
overridevirtual |
Method inherited from TCPReceiveQueue.
Reimplemented in inet::tcp::TCPByteStreamRcvQueue, and inet::tcp::TCPMsgBasedRcvQueue.
Referenced by getQueueStatus(), and insertBytesFromSegment().
|
overridevirtual |
Method inherited from TCPReceiveQueue.
Implements inet::tcp::TCPReceiveQueue.
Reimplemented in inet::tcp::TCPMsgBasedRcvQueue.
Referenced by inet::tcp::TCPMsgBasedRcvQueue::init().
|
overridevirtual |
Method inherited from TCPReceiveQueue.
Implements inet::tcp::TCPReceiveQueue.
Reimplemented in inet::tcp::TCPMsgBasedRcvQueue.
Referenced by inet::tcp::TCPMsgBasedRcvQueue::insertBytesFromSegment().
|
protected |
Merge segment byte range into regionList, the parameter region must created by 'new' operator.
Referenced by insertBytesFromSegment().
|
protected |
|
protected |