remove stale doxygen and comments pertaining to TCP
This commit is contained in:
@@ -324,8 +324,6 @@ TcpL4Protocol::Send (Ptr<Packet> packet,
|
||||
m_node->GetObject<Ipv4L3Protocol> ();
|
||||
if (ipv4 != 0)
|
||||
{
|
||||
// XXX We've already performed the route lookup in TcpSocketImpl
|
||||
// should be cached.
|
||||
Ipv4Header header;
|
||||
header.SetDestination (daddr);
|
||||
header.SetProtocol (PROT_NUMBER);
|
||||
@@ -372,8 +370,6 @@ TcpL4Protocol::SendPacket (Ptr<Packet> packet, const TcpHeader &outgoing,
|
||||
m_node->GetObject<Ipv4L3Protocol> ();
|
||||
if (ipv4 != 0)
|
||||
{
|
||||
// XXX We've already performed the route lookup in TcpSocketImpl
|
||||
// should be cached.
|
||||
Ipv4Header header;
|
||||
header.SetDestination (daddr);
|
||||
header.SetProtocol (PROT_NUMBER);
|
||||
|
||||
@@ -65,7 +65,7 @@ public:
|
||||
virtual int GetProtocolNumber (void) const;
|
||||
|
||||
/**
|
||||
* \return A smart Socket pointer to a TcpSocketImpl, allocated by this instance
|
||||
* \return A smart Socket pointer to a TcpSocket allocated by this instance
|
||||
* of the TCP protocol
|
||||
*/
|
||||
Ptr<Socket> CreateSocket (void);
|
||||
@@ -80,10 +80,6 @@ public:
|
||||
|
||||
void DeAllocate (Ipv4EndPoint *endPoint);
|
||||
|
||||
// // called by TcpSocketImpl.
|
||||
// bool Connect (const Ipv4Address& saddr, const Ipv4Address& daddr,
|
||||
// uint16_t sport, uint16_t dport);
|
||||
|
||||
/**
|
||||
* \brief Send a packet via TCP
|
||||
* \param packet The packet to send
|
||||
|
||||
@@ -1270,7 +1270,7 @@ TcpSocketBase::SendPendingData (bool withAck)
|
||||
if (m_txBuffer.Size () == 0) return false; // Nothing to send
|
||||
if (m_endPoint == 0)
|
||||
{
|
||||
NS_LOG_INFO ("TcpSocketImpl::SendPendingData: No endpoint; m_shutdownSend=" << m_shutdownSend);
|
||||
NS_LOG_INFO ("TcpSocketBase::SendPendingData: No endpoint; m_shutdownSend=" << m_shutdownSend);
|
||||
return false; // Is this the right way to handle this condition?
|
||||
}
|
||||
uint32_t nPacketsSent = 0;
|
||||
|
||||
@@ -31,13 +31,7 @@ class TcpL4Protocol;
|
||||
* \ingroup internetStack
|
||||
* \defgroup tcp Tcp
|
||||
*
|
||||
* The TCP code in ns3's internet stack is ported from the
|
||||
* <a href="http://www.ece.gatech.edu/research/labs/MANIACS/GTNetS/">
|
||||
* Georgia Tech Network Simulator (GTNetS)</a>.
|
||||
*
|
||||
* Most of the logic is in class ns3::TcpSocketImpl.
|
||||
* This class serves to create sockets of the TcpSocketImpl
|
||||
* type. That is, it creates sockets which use the GTNetS Tahoe code.
|
||||
* This class serves to create sockets of the TcpSocketBase type.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user