LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-10-2017, 06:51 PM   #1
nadawy
LQ Newbie
 
Registered: May 2017
Posts: 21

Rep: Reputation: Disabled
hii every one ..


how can i add new field in RREQ for AODV routing protocol in ns2.35?plz

Last edited by nadawy; 05-10-2017 at 07:54 PM.
 
Old 05-11-2017, 02:29 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
Please use Google .. ns2 add new field in aodv RREQ ..

https://www.google.com/webhp?hl=all&...d+in+aodv+RREQ

The third hit http://mailman.isi.edu/pipermail/ns-...st/070867.html
Quote:
You can add new field in AODV route request packet in this way:
Go to aodv_packet.h, find "struct hdr_aodv_request"
In this structure you will find all the fields of AODV route request. Now
you can add your own here.
Code:
$ grep -n "struct hdr_aodv_request" aodv_packet.h 
52:#define HDR_AODV_REQUEST(p)     ((struct hdr_aodv_request*)hdr_aodv::access(p))
74:struct hdr_aodv_request {
I.e. line 52 or 74.

ns-2.35 → Oct 2014 update → ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing


-
 
Old 05-11-2017, 07:48 PM   #3
nadawy
LQ Newbie
 
Registered: May 2017
Posts: 21

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
Please use Google .. ns2 add new field in aodv RREQ ..

https://www.google.com/webhp?hl=all&...d+in+aodv+RREQ

The third hit http://mailman.isi.edu/pipermail/ns-...st/070867.html


Code:
$ grep -n "struct hdr_aodv_request" aodv_packet.h 
52:#define HDR_AODV_REQUEST(p)     ((struct hdr_aodv_request*)hdr_aodv::access(p))
74:struct hdr_aodv_request {
I.e. line 52 or 74.

ns-2.35 → Oct 2014 update → ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing


-
thank you very much dear ..
 
  


Reply

Tags
aodv-ns2, ns2, rreq


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hii every one .. nadawy Linux - Newbie 7 05-04-2017 12:31 PM
Hii akmere LinuxQuestions.org Member Intro 4 07-30-2016 05:54 AM
Hii!! Pinux Linux - Newbie 2 05-06-2016 07:55 PM
Hii everyone... Elizabeth_Keen LinuxQuestions.org Member Intro 1 08-20-2014 09:28 PM
hii chaudhary9 LinuxQuestions.org Member Intro 1 07-04-2011 10:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:32 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration