📄 readme
字号:
The files that implement the AOMDV protocol are included in thisdirectory. The changes to the basic AODV protocol to implement AOMDV areenclosed within #ifdef AOMDV .. #endif AOMDV in the code.This code is developed for ns-allinone-2.1b4a with original CMU wirelessextensions to ns.To install the AOMDV code, follow the instructions below:1. Install AODV code from http://www.cs.sunysb.edu/~mahesh/aodv/ followingthe instructions there.2. Replace AODV files in ns-src/cmu/aodv with those provided in thisdirectory.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 thoseprovided in this directory.4. Edit your Makefile.in file in ns-src/ to reflect the Makefile.in inthis directory. The line "-DAOMDV -DAOMDV_LINK_DISJOINT_PATHS' in thegiven 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. Removingthis line altogether builds the basic AODV protocol. You may want tocompile ns with each of these options and rename the "ns" binary aftereach compilation appropriately. This will let you simulate and compareeach of these protocol variations.5. Create a directory "scripts" in ns-src/ and copy the files run.tcl andaodv.tcl provided here to that directory. You may need to edit run.tcl topoint to the right directories for mobility and traffic scenarios.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -