explanation of aodv.cc and aodv.h code

2,342 views
Skip to first unread message

Sakshi Jain

unread,
Sep 29, 2014, 9:49:36 AM9/29/14
to ns-u...@googlegroups.com
hello everyone...


to work in a better way... i want to understand AODV code completely...  kindly send me any document or link regarding same



thanks and regards

sakshi

knudfl

unread,
Sep 29, 2014, 1:16:30 PM9/29/14
to ns-u...@googlegroups.com
Hi.

ns2 documentation http://www.isi.edu/nsnam/ns/doc/index.html

There may be some AODV documentation that you can use :  ns3 →
→ The  ns2 code.cc  was ported to ns3 ... and documentation was written.
In ns3 the aodv.cc is named aodv-routing-protocol.cc (I think).
... See ns-allinone-3.21/ns-3.21/src/aodv/model/{ aodv**.cc  aodv**.h }
... and read the documentation inside the  aodv files.
* ns3 aodv  http://www.nsnam.org/doxygen/group__aodv.html
* ns3 doc    http://www.isi.edu/nsnam/ns/doc/index.html

* Be aware that Otcl code is also used in ns2 , for AODV :
$ cd ns-2.35/tcl  grep -Rin aodv *
lib/ns-agent.tcl:187:Agent/AODV instproc init args {
lib/ns-agent.tcl:192:Agent/AODV set sport_   0
lib/ns-agent.tcl:193:Agent/AODV set dport_   0
lib/ns-lib.tcl:630:                 AODV {
lib/ns-lib.tcl:631:                         set ragent [$self create-aodv-agent $node]
lib/ns-lib.tcl:854:Simulator instproc create-aodv-agent { node } {
lib/ns-lib.tcl:855:        #  Create AODV routing agent
lib/ns-lib.tcl:856:     set ragent [new Agent/AODV [$node node-addr]]
lib/ns-mobilenode.tcl:195:      # Special processing for AODV
lib/ns-mobilenode.tcl:196:      set aodvonly [string first "AODV" [$agent info class]]
lib/ns-mobilenode.tcl:197:      if {$aodvonly != -1 } {
lib/ns-packet.tcl:51:# specific simulation, follow this pattern (e.g., you want to remove AODV,
lib/ns-packet.tcl:54:#   remove-packet-header AODV ARP
lib/ns-packet.tcl:60:# To include only a specific set of headers in your simulation, e.g., AODV
lib/ns-packet.tcl:64:#   add-packet-header AODV ARP
lib/ns-packet.tcl:173:  AODV    # routing protocol for ad-hoc networks
lib/ns-packet.tcl:259:#         { AODV off_AODV_ }

-

knudfl

unread,
Oct 6, 2014, 10:40:18 AM10/6/14
to ns-u...@googlegroups.com
Hi .

A new link for "ns3  AODV Routing" :
http://ns-regression.ee.washington.edu:8010/html/docs/doxygen/group__aodv.html

Note :   Please see section " Detailed Description " :
" For a generic functional description, please refer to the ns-3 manual. "

-

Alem Yikeber

unread,
Feb 4, 2020, 1:37:49 AM2/4/20
to Network Simulator 2 (NS2)
Hi  I need the complete explanation of AODV source code in ns2 please help me if you have an idea about this?


Benmir Abdelkader

unread,
Feb 4, 2020, 4:26:21 PM2/4/20
to ns-u...@googlegroups.com

‫في الثلاثاء، 4 فبراير 2020 في 7:37 ص تمت كتابة ما يلي بواسطة ‪Alem Yikeber‬‏ <‪alemyik...@gmail.com‬‏>:‬
Hi  I need the complete explanation of AODV source code in ns2 please help me if you have an idea about this?


--
You received this message because you are subscribed to the Google Groups "Network Simulator 2 (NS2)" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ns-users+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ns-users/c2051ccd-916a-4934-8409-6643fc188fd8%40googlegroups.com.


--

                                                                                                                                       

Benmir Abdelkader.

Maitre-assistant A.

Département d'Informatique et des Technologies de l'Information.

Faculté des Nouvelles Technologies de l'Information et de la Communication.

Université Kasdi Merbah Ouargla).

Laboratoire ReLa(CS)2-Université d'Oum El Bouaghi.

Equipe: MoVéVaSiS.

ORCID :  https://orcid.org/0000-0003-2948-3969

SCOPUS : https://www.scopus.com/authid/detail.uri?authorId=56097028200

Scholar : https://scholar.google.com/citations?user=G-ehSVwAAAAJ&hl=en
1007.4065.pdf
rfc3561.pdf
Reply all
Reply to author
Forward
0 new messages