--- a/src/internet-node/tcp-socket.h Sat May 03 11:11:24 2008 -0700
+++ b/src/internet-node/tcp-socket.h Thu May 08 15:31:44 2008 -0400
@@ -160,7 +160,9 @@
SequenceNumber m_nextRxSequence;
//history data
+ //this is the incoming data buffer which sorts out of sequence data
UnAckData_t m_bufferedData;
+ //this is kind of the tx buffer
PendingData* m_pendingData;
SequenceNumber m_firstPendingSequence;
@@ -182,9 +184,12 @@
// Temporary queue for delivering data to application
std::queue<Ptr<Packet> > m_deliveryQueue;
- uint32_t m_rxAvailable;
+ uint32_t m_rxAvailable;
+
+ // buffer limit for the outgoing queue
+ uint32_t m_maxTxBuffer;
};
}//namespace ns3
-#endif /* UDP_SOCKET_H */
+#endif /* TCP_SOCKET_H */