diff -r 73bc9e55f9bd -r 1e48ff9185f1 src/internet/model/tcp-newreno.h --- a/src/internet/model/tcp-newreno.h Sun Nov 24 23:48:49 2013 +0100 +++ b/src/internet/model/tcp-newreno.h Wed Nov 20 20:15:02 2013 +0100 @@ -36,11 +36,19 @@ class TcpNewReno : public TcpSocketBase { public: + /** + * \brief Get the type ID. + * \return the object TypeId + */ static TypeId GetTypeId (void); /** * Create an unbound tcp socket. */ TcpNewReno (void); + /** + * \brief Copy constructor + * \param sock the object to copy + */ TcpNewReno (const TcpNewReno& sock); virtual ~TcpNewReno (void); @@ -62,16 +70,19 @@ virtual void SetInitialCwnd (uint32_t cwnd); virtual uint32_t GetInitialCwnd (void) const; private: - void InitializeCwnd (void); // set m_cWnd when connection starts + /** + * \brief Set the congestion window when connection starts + */ + void InitializeCwnd (void); protected: - TracedValue m_cWnd; //< Congestion window - uint32_t m_ssThresh; //< Slow Start Threshold - uint32_t m_initialCWnd; //< Initial cWnd value - SequenceNumber32 m_recover; //< Previous highest Tx seqnum for fast recovery - uint32_t m_retxThresh; //< Fast Retransmit threshold - bool m_inFastRec; //< currently in fast recovery - bool m_limitedTx; //< perform limited transmit + TracedValue m_cWnd; //!< Congestion window + uint32_t m_ssThresh; //!< Slow Start Threshold + uint32_t m_initialCWnd; //!< Initial cWnd value + SequenceNumber32 m_recover; //!< Previous highest Tx seqnum for fast recovery + uint32_t m_retxThresh; //!< Fast Retransmit threshold + bool m_inFastRec; //!< currently in fast recovery + bool m_limitedTx; //!< perform limited transmit }; } // namespace ns3