[ns] TCP ACKs - change route
Rafiq Shaikh
rfq_2002 at yahoo.com
Fri Oct 3 11:21:32 PDT 2008
Hi Tatiana,
I am also looking for the answer to the same question.
In my simulation I need to send TCP ACKs on a different route as compared
to the TCP data packets. Since I am using wireless MAC the concept of link does not apply there. Hence, the routing related command does not apply to my scenario. Which means I will have to hack in the code to force the ACK
packets to take a specific path. As of now I am not sure how to do that.
However, I read in the manual that all the route specific commands use link
concept. The link concept is applicable to wired scenarios. I believe if you are using wired links then it should be possible to use "rtproto manual" or "rtproto static" or something similar to achieve the forced routing of the ACKs.
I hope this helps.
Regards,
-Rafiq.
--- On Tue, 9/30/08, Tatiana Polishchuk <tessa3d at gmail.com> wrote:
> From: Tatiana Polishchuk <tessa3d at gmail.com>
> Subject: [ns] TCP ACKs - change route
> To: Ns-users at ISI.EDU
> Date: Tuesday, September 30, 2008, 1:28 AM
> I remember I saw related question in the list, but without
> answer.
> I'm trying to send the ACKs for the TCP packets using
> specific routes. In
> the tcp-sink.cc module there is a function ack() which
> sends ACK packets
> using send(P, 0) method. Does anybody know where the
> function is defined
> and there the destination for the packed is specified?
> Please, help.
More information about the Ns-users
mailing list