[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] SACK in NS



Hi,

I am trying to tweak the working of SACK in NS. I have been able to
understand the SACK implementation in tcp-sink.cc. However, SACK
implementation in tcp-sack1.cc looks a bit confusing to me. If there is
someone in the list who has been working with SACK, can you advice me on
some issues:

1. Which part of the code actually decodes the SACK blocks sent by the
tcp-sink and retransmits the holes?

2. If for some fun, I try to add more info into the header of TCP
options (more that 40 bytes), without changing any defintions in packet.h
ot tcp.h, will I be able to receive these info from the sender to the
receiver and vice-versa or will it be pruned before sending to the end
host?

Thanks in advance.

Regards,
Srijith
       ,,,
      (o o)
--ooO--(_)---Ooo----------- 
God created a few perfect heads.  The rest he covered with hair.
--oo0--------0oo-----------