26 #include "ns3/socket.h"
27 #include "ns3/traced-callback.h"
28 #include "ns3/callback.h"
30 #include "ns3/object.h"
31 #include "ns3/nstime.h"
virtual void SetSndBufSize(uint32_t size)=0
Set the send buffer size.
keep track of time values and allow control of global simulation resolution
(abstract) base class of all TcpSockets
virtual void SetSSThresh(uint32_t threshold)=0
Set the Slow Start Threshold.
virtual void SetInitialCwnd(uint32_t cwnd)=0
Set the initial Congestion Window.
virtual void SetRcvBufSize(uint32_t size)=0
Set the receive buffer size.
virtual void SetPersistTimeout(Time timeout)=0
Set the timout for persistent connection.
A low-level Socket API based loosely on the BSD Socket API.
static TypeId GetTypeId(void)
Get the type ID.
static const char *const TcpStateName[LAST_STATE]
Literal names of TCP states for use in log messages.
TcpStates_t
Names of the 11 TCP states.
virtual uint32_t GetSndBufSize(void) const =0
Get the send buffer size.
virtual void SetDelAckMaxCount(uint32_t count)=0
Set the number of packet to fire an ACK before delay timeout.
virtual void SetTcpNoDelay(bool noDelay)=0
Enable/Disable Nagle's algorithm.
virtual uint32_t GetSSThresh(void) const =0
Get the Slow Start Threshold.
virtual uint32_t GetRcvBufSize(void) const =0
Get the receive buffer size.
virtual void SetDelAckTimeout(Time timeout)=0
Set the time to delay an ACK.
virtual void SetConnCount(uint32_t count)=0
Set the number of connection retries before giving up.
virtual uint32_t GetSegSize(void) const =0
Get the segment size.
virtual Time GetDelAckTimeout(void) const =0
Get the time to delay an ACK.
virtual bool GetTcpNoDelay(void) const =0
Check if Nagle's algorithm is enabled or not.
virtual void SetConnTimeout(Time timeout)=0
Set the connection timeout.
virtual uint32_t GetDelAckMaxCount(void) const =0
Get the number of packet to fire an ACK before delay timeout.
virtual Time GetConnTimeout(void) const =0
Get the connection timeout.
virtual void SetSegSize(uint32_t size)=0
Set the segment size.
a unique identifier for an interface.
virtual uint32_t GetInitialCwnd(void) const =0
Get the initial Congestion Window.
virtual Time GetPersistTimeout(void) const =0
Get the timout for persistent connection.
virtual uint32_t GetConnCount(void) const =0
Get the number of connection retries before giving up.