From a7a0a3de70d63fcdbaa4d655daa1d9049113129e Mon Sep 17 00:00:00 2001 From: Raj Bhattacharjea Date: Fri, 30 May 2008 15:14:38 -0400 Subject: [PATCH] Change log output to be more consistent --- src/internet-node/tcp-socket-impl.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/internet-node/tcp-socket-impl.cc b/src/internet-node/tcp-socket-impl.cc index 71f771472..5d40ce581 100644 --- a/src/internet-node/tcp-socket-impl.cc +++ b/src/internet-node/tcp-socket-impl.cc @@ -926,7 +926,7 @@ bool TcpSocketImpl::SendPendingData (bool withAck) uint32_t s = std::min (w, m_segmentSize); // Send no more than window Ptr p = m_pendingData->CopyFromSeq (s, m_firstPendingSequence, m_nextTxSequence); - NS_LOG_LOGIC("TcpSocketImpl " << this << " sendPendingData" + NS_LOG_LOGIC("TcpSocketImpl " << this << " SendPendingData" << " txseq " << m_nextTxSequence << " s " << s << " datasize " << p->GetSize() ); @@ -961,7 +961,7 @@ bool TcpSocketImpl::SendPendingData (bool withAck) if (m_retxEvent.IsExpired () ) //go ahead and schedule the retransmit { Time rto = m_rtt->RetransmitTimeout (); - NS_LOG_LOGIC ("Schedule retransmission timeout at time " << + NS_LOG_LOGIC ("SendPendingData Schedule retransmission timeout at time " << Simulator::Now ().GetSeconds () << " to expire at time " << (Simulator::Now () + rto).GetSeconds () ); m_retxEvent = Simulator::Schedule (rto,&TcpSocketImpl::ReTxTimeout,this); @@ -978,7 +978,7 @@ bool TcpSocketImpl::SendPendingData (bool withAck) // Note the high water mark m_highTxMark = std::max (m_nextTxSequence, m_highTxMark); } - NS_LOG_LOGIC ("Sent "<0); }