aomdv

所属分类:网络
开发工具:C/C++
文件大小:50KB
下载次数:123
上传日期:2010-04-12 15:36:02
上 传 者moonlightloulan
说明:  wireless routing protocol implement on ns2,扩展aodv路由协议成为多路径路由协议
(wireless routing protocol implement on ns2, extended aodv routing protocol as multi-path routing protocol)

文件列表:
aomdv\aomdv\aodv.h (12850, 2003-02-19)
aomdv\aomdv\aodv_packet.h (6803, 2003-02-19)
aomdv\aomdv\aodv_rqueue.h (3528, 2003-02-19)
aomdv\aomdv\aodv_rtable.h (7454, 2003-02-19)
aomdv\aomdv\aodv.cc (51257, 2003-02-19)
aomdv\aomdv\aodv_logs.cc (4203, 2003-02-19)
aomdv\aomdv\aodv_rqueue.cc (5305, 2003-02-19)
aomdv\aomdv\aodv_rtable.cc (9415, 2003-02-19)
aomdv\aomdv\packet.h (13587, 2003-02-19)
aomdv\aomdv\arp.cc (7802, 2003-02-19)
aomdv\aomdv\priqueue.cc (5358, 2003-02-19)
aomdv\aomdv\Makefile.in (9734, 2003-02-19)
aomdv\aomdv\aodv.tcl (4874, 2003-02-19)
aomdv\aomdv\run.tcl (10017, 2003-02-19)
aomdv\aomdv (0, 2010-04-12)
aomdv (0, 2010-04-12)

The files that implement the AOMDV protocol are included in this directory. The changes to the basic AODV protocol to implement AOMDV are enclosed within #ifdef AOMDV .. #endif AOMDV in the code. This code is developed for ns-allinone-2.1b4a with original CMU wireless extensions to ns. To install the AOMDV code, follow the instructions below: 1. Install AODV code from http://www.cs.sunysb.edu/~mahesh/aodv/ following the instructions there. 2. Replace AODV files in ns-src/cmu/aodv with those provided in this directory. 3. Replace packet.h in ns-src/ with the one provided in this directory. Similarly, replace arp.cc and priqueue.cc in ns-src/cmu/ with those provided in this directory. 4. Edit your Makefile.in file in ns-src/ to reflect the Makefile.in in this directory. The line "-DAOMDV -DAOMDV_LINK_DISJOINT_PATHS' in the given Makefile.in builds the link disjoint version of the AOMDV protocol. Using "-DAOMDV_NODE_DISJOINT_PATHS" instead of "-DAOMDV_LINK_DISJOINT_PATHS" builds the node disjoint version. Removing this line altogether builds the basic AODV protocol. You may want to compile ns with each of these options and rename the "ns" binary after each compilation appropriately. This will let you simulate and compare each of these protocol variations. 5. Create a directory "scripts" in ns-src/ and copy the files run.tcl and aodv.tcl provided here to that directory. You may need to edit run.tcl to point to the right directories for mobility and traffic scenarios.

近期下载者

相关文件


收藏者