[ns] TCP tunnel implementation on NS2

2010-08-16 Thread wingying
Hi All, Is there any NS-2 or NS-3 module for TCP tunnel implementation? I am looking for a TCP-over-TCP tunnel. I only see IP-over-IP tunnel in NS2. Can anyone help me here? Thanks a lot! Have a good weekend! -Ying

[ns] ih->daddr() value

2010-08-16 Thread Wei Zhang
  Hello everybody,   In AODV  or OLSR , ih->daddr() function return dst_ value but where dst_ is assigned a value? I looked for that but I can not find it.   In AODV or OLSR , I only want to look for the path between a pair of definined node,  for example node 10 and node 20. How i must do? Cou

[ns] A protocol independent energy saving technique for mobile ad hoc networks

2010-08-16 Thread Ali Al-Shra'ah.
Hi all, Please, if any could send me this paper "A protocol independent energy saving technique for mobile ad hoc networks" by Yasser Gadallah, Thomas Kunz.  http://www.inderscience.com/offer.php?id=10202   regards, Ali Hussein

Re: [ns] Test cwnd size for TCP variants

2010-08-16 Thread Teerawat Issariyakul
Hi, Here is the code for recursively showing the value of the instvar cwnd_ of TCP for every 0.5s. $ns at 1.5 "show_tcp_seqno" proc show_tcp_seqno {} { global tcp ns puts "TCP CWND is [$tcp set cwnd_]" $ns at [expr [ $ns now ] + 0.5] "show_tcp_seqno" } Feel free to adjust it your

[ns] help req in ip modification

2010-08-16 Thread muthu pandian
hi do anyone knows how to route a packets to a destination only through particularly mentioned intermediate nodes, such that the intermediate node may receive the packet, edit the IP packet contents, add its own contents and forward it on the route until the IP Packet reaches the destination --

[ns] Manual routing on wired cum wireless example??

2010-08-16 Thread svetla verma
Hello, Is it possible to do manual routing for wired cum wireless network...??? So for example for every new session if I want to specify the route in the tcl script..is that do able?? Pls advise... Thanks, Svetla