ns2-watch
所属分类:网络
开发工具:Unix_Linux
文件大小:79KB
下载次数:25
上传日期:2011-02-15 13:15:36
上 传 者:
neesanthi
说明: abt installing watchdog in ns2
文件列表:
aodv-watchdog-basic (0, 2010-05-04)
aodv-watchdog-basic\aodv.cc (38052, 2009-12-03)
aodv-watchdog-basic\aodv.h (9192, 2009-12-03)
aodv-watchdog-basic\aodv.o (66744, 2009-12-03)
aodv-watchdog-basic\aodv_logs.cc (3663, 2009-12-03)
aodv-watchdog-basic\aodv_logs.o (2256, 2009-12-03)
aodv-watchdog-basic\aodv_packet.h (6162, 2009-12-03)
aodv-watchdog-basic\aodv_rqueue.cc (4791, 2009-12-03)
aodv-watchdog-basic\aodv_rqueue.h (3059, 2009-12-03)
aodv-watchdog-basic\aodv_rqueue.o (9424, 2009-12-03)
aodv-watchdog-basic\aodv_rtable.cc (4164, 2009-12-03)
aodv-watchdog-basic\aodv_rtable.h (4892, 2009-12-03)
aodv-watchdog-basic\aodv_rtable.o (3620, 2009-12-03)
aodv-watchdog-basic\watchdog (0, 2010-05-04)
aodv-watchdog-basic\watchdog\GNU.txt (14880, 2009-12-03)
aodv-watchdog-basic\watchdog\config.h (2085, 2009-12-03)
aodv-watchdog-basic\watchdog\neighbours.cc (14337, 2009-12-03)
aodv-watchdog-basic\watchdog\neighbours.h (3800, 2009-12-03)
aodv-watchdog-basic\watchdog\neighbours.o (10780, 2009-12-03)
aodv-watchdog-basic\watchdog\packets.cc (7756, 2009-12-03)
aodv-watchdog-basic\watchdog\packets.h (3031, 2009-12-03)
aodv-watchdog-basic\watchdog\packets.o (5564, 2009-12-03)
aodv-watchdog-basic\watchdog\statistics.txt (643, 2009-12-03)
aodv-watchdog-basic\watchdog\watchdog.cc (8359, 2009-12-03)
aodv-watchdog-basic\watchdog\watchdog.h (2824, 2009-12-03)
aodv-watchdog-basic\watchdog\watchdog.o (6768, 2009-12-03)
How to install the watchdog on NS-2.
- Follow the instructions for install the TAP in AODV (http://www.cse.msu.edu/~wangbo1/ns2/index.html)
- Add to the file ns-2.34/tcl/lib/ns-mobilenode.tcl the following code:
#Blackhole
Node/MobileNode instproc set_Blackhole {} {
$self instvar ragent_
puts "Installing new blackhole -------------"
return $ragent_
}
- Copy the watchdog's folder into the AODV folder (located in ns-2.34 folder).
- Change the makefile into the ns-2.34 to compile the watchdog objects.
The folder aodv attached is an example of how to use it the watchdog.
近期下载者:
相关文件:
收藏者: