bobzhuyb / ns3-rdma

NS3 simulator for RDMA over Converged Ethernet v2 (RoCEv2), including the implementation of DCQCN, TIMELY, PFC, ECN and shared buffer switch
GNU General Public License v2.0
260 stars 119 forks source link

some questions about the implementation of tcp #12

Open hdtjiang opened 7 years ago

hdtjiang commented 7 years ago

hello,Yibo. I have tested the tcp-flow in the project.But the sequeueNumber in mix.tr is always 42. Does this mean that the receiver cannot receive the packets and send back NACK? And the codes about generate NACK and ACK in qbb-net-device is used for UDP only? Waiting for your reply.

bobzhuyb commented 7 years ago

The sequence number in mix.tr is only meaningful for UDP packets.

Yes, NACK generation is for UDP flows only.