Hi,
I replied earlier, to myself by mistake, but this reply was meant for this message.
I also want to add to my reply some insight - I looked at nsc-tcp-socket-impl.cc, and added these line:
1) at SendPendingData, after
Ptr<Packet> &p = m_txBuffer.front ();
size = p->GetSize ();
NS_ASSERT (size > 0);
I added:
SeqTsHeader tsHdr;
uint32_t hdrSize = p->PeekHeader(tsHdr);
if (hdrSize) {
Time time = tsHdr.GetTs();
if (time == Seconds(0))
NS_LOG_UNCOND("pop: wrong ts");
}
2) at Send, the same lines.
What I see is that the packets that go into the queue have the right SeqTsHdr, while the packets the come out of the queue have corrupted SeqTsHdr.
I haven't found the reason for that, I could really use your help with that.
Thanks,
Ofri Rips