35 .SetGroupName (
"Internet")
58 return CopyObject<TcpRfc793> (
this);
69 NS_LOG_WARN (
"DoD TCP does not perform slow start");
75 NS_LOG_WARN (
"DoD TCP does not perform slow start");
82 NS_LOG_WARN (
"DoD TCP does not have congestion window");
88 NS_LOG_WARN (
"DoD TCP does not have congestion window");
102 NS_LOG_WARN (
"DoD TCP does not perform slow start");
Smart pointer class similar to boost::intrusive_ptr.
#define NS_LOG_FUNCTION(parameters)
If log level LOG_FUNCTION is enabled, this macro will output all input parameters separated by "...
#define NS_OBJECT_ENSURE_REGISTERED(type)
Register an Object subclass with the TypeId system.
virtual void SetInitialSSThresh(uint32_t threshold)
Set the initial Slow Start Threshold.
#define NS_LOG_COMPONENT_DEFINE(name)
Define a Log component with a specific name.
static TypeId GetTypeId(void)
Get the type ID.
virtual uint32_t GetInitialCwnd(void) const
Get the initial Congestion Window.
An implementation of a stream socket using TCP.
virtual uint32_t Window(void)
Return the max possible number of unacked bytes.
virtual void DupAck(const TcpHeader &t, uint32_t count)
Received dupack (duplicate ACK)
A base class for implementation of a stream socket using TCP.
virtual void ScaleSsThresh(uint8_t scaleFactor)
Scale the initial SsThresh value to the correct one.
virtual void SetDelAckMaxCount(uint32_t count)
Set the number of packet to fire an ACK before delay timeout.
Every class exported by the ns3 library is enclosed in the ns3 namespace.
virtual Ptr< TcpSocketBase > Fork()
Call CopyObject<> to clone me.
virtual void SetInitialCwnd(uint32_t cwnd)
Set the initial Congestion Window.
#define NS_LOG_WARN(msg)
Use NS_LOG to output a message of level LOG_WARN.
a unique identifier for an interface.
TypeId SetParent(TypeId tid)
Set the parent TypeId.
TracedValue< uint32_t > m_rWnd
Receiver window (RCV.WND in RFC793)
virtual uint32_t GetInitialSSThresh(void) const
Get the initial Slow Start Threshold.
TcpRfc793(void)
Create an unbound tcp socket.