remove stale doxygen and comments pertaining to TCP
authorTom Henderson <tomh@tomh.org>
Mon, 03 Jan 2011 15:51:55 -0800
changeset 6768805f5fc7f670
parent 6767 415711451cc6
child 6769 9e86794fe917
remove stale doxygen and comments pertaining to TCP
src/internet-stack/tcp-l4-protocol.cc
src/internet-stack/tcp-l4-protocol.h
src/internet-stack/tcp-socket-base.cc
src/internet-stack/tcp-socket-factory-impl.h
     1.1 --- a/src/internet-stack/tcp-l4-protocol.cc	Mon Jan 03 15:48:42 2011 -0800
     1.2 +++ b/src/internet-stack/tcp-l4-protocol.cc	Mon Jan 03 15:51:55 2011 -0800
     1.3 @@ -324,8 +324,6 @@
     1.4      m_node->GetObject<Ipv4L3Protocol> ();
     1.5    if (ipv4 != 0)
     1.6      {
     1.7 -      // XXX We've already performed the route lookup in TcpSocketImpl
     1.8 -      // should be cached.
     1.9        Ipv4Header header;
    1.10        header.SetDestination (daddr);
    1.11        header.SetProtocol (PROT_NUMBER);
    1.12 @@ -372,8 +370,6 @@
    1.13      m_node->GetObject<Ipv4L3Protocol> ();
    1.14    if (ipv4 != 0)
    1.15      {
    1.16 -      // XXX We've already performed the route lookup in TcpSocketImpl
    1.17 -      // should be cached.
    1.18        Ipv4Header header;
    1.19        header.SetDestination (daddr);
    1.20        header.SetProtocol (PROT_NUMBER);
     2.1 --- a/src/internet-stack/tcp-l4-protocol.h	Mon Jan 03 15:48:42 2011 -0800
     2.2 +++ b/src/internet-stack/tcp-l4-protocol.h	Mon Jan 03 15:51:55 2011 -0800
     2.3 @@ -65,7 +65,7 @@
     2.4    virtual int GetProtocolNumber (void) const;
     2.5  
     2.6    /**
     2.7 -   * \return A smart Socket pointer to a TcpSocketImpl, allocated by this instance
     2.8 +   * \return A smart Socket pointer to a TcpSocket allocated by this instance
     2.9     * of the TCP protocol
    2.10     */
    2.11    Ptr<Socket> CreateSocket (void);
    2.12 @@ -80,10 +80,6 @@
    2.13  
    2.14    void DeAllocate (Ipv4EndPoint *endPoint);
    2.15  
    2.16 -//   // called by TcpSocketImpl.
    2.17 -//   bool Connect (const Ipv4Address& saddr, const Ipv4Address& daddr,
    2.18 -//                 uint16_t sport, uint16_t dport);
    2.19 -
    2.20    /**
    2.21     * \brief Send a packet via TCP
    2.22     * \param packet The packet to send
     3.1 --- a/src/internet-stack/tcp-socket-base.cc	Mon Jan 03 15:48:42 2011 -0800
     3.2 +++ b/src/internet-stack/tcp-socket-base.cc	Mon Jan 03 15:51:55 2011 -0800
     3.3 @@ -1270,7 +1270,7 @@
     3.4    if (m_txBuffer.Size () == 0) return false; // Nothing to send
     3.5    if (m_endPoint == 0)
     3.6      {
     3.7 -      NS_LOG_INFO ("TcpSocketImpl::SendPendingData: No endpoint; m_shutdownSend=" << m_shutdownSend);
     3.8 +      NS_LOG_INFO ("TcpSocketBase::SendPendingData: No endpoint; m_shutdownSend=" << m_shutdownSend);
     3.9        return false; // Is this the right way to handle this condition?
    3.10      }
    3.11    uint32_t nPacketsSent = 0;
     4.1 --- a/src/internet-stack/tcp-socket-factory-impl.h	Mon Jan 03 15:48:42 2011 -0800
     4.2 +++ b/src/internet-stack/tcp-socket-factory-impl.h	Mon Jan 03 15:51:55 2011 -0800
     4.3 @@ -31,13 +31,7 @@
     4.4   * \ingroup internetStack
     4.5   * \defgroup tcp Tcp
     4.6   *
     4.7 - * The TCP code in ns3's internet stack is ported from the  
     4.8 - * <a href="http://www.ece.gatech.edu/research/labs/MANIACS/GTNetS/">
     4.9 - * Georgia Tech Network Simulator (GTNetS)</a>.
    4.10 - *
    4.11 - * Most of the logic is in class ns3::TcpSocketImpl.
    4.12 - * This class serves to create sockets of the TcpSocketImpl
    4.13 - * type.  That is, it creates sockets which use the GTNetS Tahoe code.
    4.14 + * This class serves to create sockets of the TcpSocketBase type.  
    4.15   */
    4.16  
    4.17  /**