[ns] How to create an agent in IP layer.
sahoo jagruti
sahoojagruti at yahoo.com
Tue Feb 24 06:19:35 PST 2009
Hello Suba Shri,
If you want to create a routing protocol agent ,then you have to follow proper guidelines.
The following link contains the documentation regarding creating a new Unicast Routing protocol for MANET. It will guide you step by step.
Now, regarding adding a module in MAC layer, if you want to add new features to any protocol such as IEEE 802.11, you need to modify mac-802_11.cc and mac-802_11.h files.
If you want to create a new MAC protocol,then create .cc and .h files containing the required functionalities . Put the files under mac directory. Add .o file to makefile. Hope it works.
Thanks
Jagruti Sahoo
PhD Student
National Central University,
Taiwan.
________________________________
From: "ns-users-request at ISI.EDU" <ns-users-request at ISI.EDU>
To: ns-users at ISI.EDU
Sent: Sunday, February 8, 2009 9:00:19 AM
Subject: Ns-users Digest, Vol 62, Issue 7
Send Ns-users mailing list submissions to
ns-users at isi.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
ns-users-request at isi.edu
You can reach the person managing the list at
ns-users-owner at isi.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ns-users digest..."
Today's Topics:
1. Regarding Tcl debugging (Somshekar Yadlapur)
2. Reminder: Please Respond to Selva's Invitation (Selva nayagi)
3. nam-1.11 error on ns-2.29.3 (Aniruddha Niranjan)
4. committee presentation (anas)
5. DSR agent traces (manish chaturvedi)
6. How to create a module at MAC layer (Suba Shri)
7. How to create a module at MAC layer (Suba Shri)
8. How to buffer packets (Suba Shri)
9. How to create an agent in IP layer (Suba Shri)
10. How to make sender transmit packet to the corresponding BS
(Suba Shri)
----------------------------------------------------------------------
Message: 1
Date: Sat, 7 Feb 2009 10:11:10 +0530
From: Somshekar Yadlapur <soms.sy at gmail.com>
Subject: [ns] Regarding Tcl debugging
To: ns-users at ISI.EDU
Message-ID:
<2d435e430902062041t7a3670abnbe25ccbdf070ef8c at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Hi All, This is Somshekar, trying out to do tcl debugging. I tried to
install the tcl debugger but than i was getting the warning as the script
debugging is disabled and configure --with-tcldebug. I have already ran a
coomand
"./configure --enable-debug --with-tcldebug"
after this also it is giving me warning. So please help me out to resolve
this problem.
--
With Regards,
Somshekar S Y
Kyocera-Wireless India Ltd
Email: sshekar at kyocera-wireless.com
Alt Email: somshekar_sy at yahoo.com
Mobile:+919480149886
------------------------------
Message: 2
Date: Sat, 7 Feb 2009 03:32:06 -0500
From: Selva nayagi <nayagicse at gmail.com>
Subject: [ns] Reminder: Please Respond to Selva's Invitation
To: ns-users at ISI.EDU
Message-ID: <9cefb5fc5034ca9c35b825db458c7dbd at localhost.localdomain>
Content-Type: text/plain; charset = "iso-8859-1"
Selva nayagi wants you to join Yaari!
Is Selva your friend?
<a href="http://yaari.com/?controller=user&action=mailregister&friend=1&sign=YaariRJE132QLF855WKD823DJX824">Yes, Selva is my friend!</a> <a href="http://yaari.com/?controller=user&action=mailregister&friend=0&sign=YaariRJE132QLF855WKD823DJX824">No, Selva isn't my friend.</a>
Please respond or Selva may think you said no :(
Thanks,
The Yaari Team
____
If you prefer not to receive this email tell us <a href="http://yaari.com/?controller=absn&action=addoptout&email=ns-users@isi.edu">here</a>. If you have any concerns
regarding the content of this message, please email abuse at yaari.com.
Yaari LLC, 358 Angier Ave, Atlanta, GA 30312
YaariRJE132QLF855WKD823DJX824
------------------------------
Message: 3
Date: Sat, 7 Feb 2009 01:39:43 -0800 (PST)
From: Aniruddha Niranjan <n.aniruddha at yahoo.com>
Subject: [ns] nam-1.11 error on ns-2.29.3
To: ns-users at ISI.EDU
Message-ID: <365908.25416.qm at web55805.mail.re3.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Hi.
I am using ns-2.29.3. In this, I have a problem with the nam-1.11 module. The compilation does not complete for nam and it gives the following error:
xwd.c:87:29: error: X11/Xmu/WinUtil.h: No such file or directory
make: *** [xwd.o] Error 1
I need to use this version of ns-2. So, please let me know how to get nam running on this.
Thanks and regards,
Aniruddha.
------------------------------
Message: 4
Date: Sat, 7 Feb 2009 14:01:17 +0300
From: "anas" <saba717671 at hotmail.com>
Subject: [ns] committee presentation
To: "ns" <ns-users at ISI.EDU>
Message-ID: <BLU104-DS3B0BD1953BB7404FAD273DFBE0 at phx.gbl>
Content-Type: text/plain; charset="windows-1256"
Dear Dr. Tarek,
you told me a few weeks ago about committee presentation to inform them what we have done,
I think it will be good to do that to take their notices that will improve the work
we can do it in the next week on Wednesday if you don't mind
and if it is convenient for them
best regards
Anas
------------------------------
Message: 5
Date: Sat, 7 Feb 2009 18:13:53 +0530
From: manish chaturvedi <msc.nit at gmail.com>
Subject: [ns] DSR agent traces
To: ns-users at ISI.EDU
Message-ID:
<d78fd0190902070443m2750c5d2qc96a47ad4f3d042c at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1
Dear all,
In my ns-2 simulation, I am trying to compute control packets overhead for a
given topology of 50 nodes. I was Thinking that DSR agent communicates three
types of packets, namely route requests(traced with -Pq 1), route reply
(traced with -Pp 1) and route error(traced with -Pw 1). But to my surprise,
I am getting traces of some other packets which has -Pq =-Pp=-Pw=0, and
still they are mentioned as DSR packets. I am pasting some portion of my
trace file for example. Does any body know what are these packets all
about? Please inform. This is really very important for me.
These are configuration parameters listed in my trace file:
Sconfig 0.00000 *tap: on snoop*: rts? on errs? on
Sconfig 0.00000 *salvage: on* !bd replies? on
Sconfig 0.00000 *grat error: on* *grat reply: on*
Sconfig 0.00000 $*reply for props: on* *ring 0 search: on*
Sconfig 0.00000 *using MOBICACHE*
And this is trace of DSR packet which was sent by node 1 to node 7, thru
nodes 2 and49.
s -t 174.915972216 -Hs 1 -Hd 2 -Ni 1 -Nx 457.34 -Ny 129.06 -Nz 0.00 -Ne
851.312714 -Nl RTR -Nw --- -Ma 13a -Md 1 -Ms 2b -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 255 -P dsr -Ph 4 *-Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0* -Pm 0 -Pc 0 -Pb 0->0
r -t 174.924489065 -Hs 2 -Hd 2 -Ni 2 -Nx 623.71 -Ny 207.78 -Nz 0.00 -Ne
851.313684 -Nl RTR -Nw --- -Ma 13a -Md 2 -Ms 1 -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 255 -P dsr -Ph 4 *-Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0 *-Pm 0 -Pc 0 -Pb 0->0
f -t 174.924489065 -Hs 2 -Hd 49 -Ni 2 -Nx 623.71 -Ny 207.78 -Nz 0.00 -Ne
851.313684 -Nl RTR -Nw --- -Ma 13a -Md 2 -Ms 1 -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 254 -P dsr -Ph 4 *-Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0* -Pm 0 -Pc 0 -Pb 0->0
r -t 174.926795341 -Hs 49 -Hd 49 -Ni 49 -Nx 830.61 -Ny 112.90 -Nz 0.00 -Ne
851.456161 -Nl RTR -Nw --- -Ma 13a -Md 31 -Ms 2 -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 254 -P dsr -Ph 4 *-Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0* -Pm 0 -Pc 0 -Pb 0->0
f -t 174.926795341 -Hs 49 -Hd 7 -Ni 49 -Nx 830.61 -Ny 112.90 -Nz 0.00 -Ne
851.456161 -Nl RTR -Nw --- -Ma 13a -Md 31 -Ms 2 -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 253 -P dsr -Ph 4 *-Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0* -Pm 0 -Pc 0 -Pb 0->0
r -t 174.929020342 -Hs 7 -Hd 7 -Ni 7 -Nx 919.92 -Ny 158.09 -Nz 0.00 -Ne
851.513418 -Nl RTR -Nw --- -Ma 13a -Md 7 -Ms 31 -Mt 800 -Is 1.255 -Id 7.255
-It DSR -Il 60 -If 0 -Ii 197 -Iv 253 -P dsr -Ph 4* -Pq 0* -Ps 0 *-Pp 0* -Pn
0 -Pl 0 -Pe 0->0 *-Pw 0* -Pm 0 -Pc 0 -Pb 0->0
Thanking You all,
Manish.
------------------------------
Message: 6
Date: Sat, 7 Feb 2009 09:49:13 -0800 (PST)
From: Suba Shri <shuba_damu at yahoo.com>
Subject: [ns] How to create a module at MAC layer
To: mac-users at mailman.isi.edu
Cc: ns-users at mailman.isi.edu
Message-ID: <810830.65284.qm at web45815.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=us-ascii
May i know how to create a module at the MAC layer of the BS or MH in NS2?
I want to know whether we have to make changes in C++ or tcl script or both?And also how to make the changes?
If anyone knows,please help me.
Thanks in advance...........
------------------------------
Message: 7
Date: Sat, 7 Feb 2009 09:53:06 -0800 (PST)
From: Suba Shri <shuba_damu at yahoo.com>
Subject: [ns] How to create a module at MAC layer
To: ns-users at ISI.EDU
Message-ID: <748723.52663.qm at web45810.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=us-ascii
May i know how to create a module at the MAC layer of the BS or MH in NS2?
I want to know whether we have to make changes in C++ or tcl script or both?And also how to make the changes?
If anyone knows,please help me.
Thanks in advance...........
------------------------------
Message: 8
Date: Sat, 7 Feb 2009 10:28:15 -0800 (PST)
From: Suba Shri <shuba_damu at yahoo.com>
Subject: [ns] How to buffer packets
To: ns-users at ISI.EDU
Message-ID: <666203.21127.qm at web45802.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Do anyone know how to buffer the incoming packets from sender in base station?
------------------------------
Message: 9
Date: Sat, 7 Feb 2009 10:33:48 -0800 (PST)
From: Suba Shri <shuba_damu at yahoo.com>
Subject: [ns] How to create an agent in IP layer
To: ns-users at ISI.EDU
Message-ID: <408329.12690.qm at web45803.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=us-ascii
In the paper which i am implementing,they have inserted a module at MAC layer and an agent at IP layer.
Are agent and module one and the same???
How to insert the module at MAC layer and agent at IP layer?
------------------------------
Message: 10
Date: Sat, 7 Feb 2009 10:36:55 -0800 (PST)
From: Suba Shri <shuba_damu at yahoo.com>
Subject: [ns] How to make sender transmit packet to the corresponding
BS
To: ns-users at ISI.EDU
Message-ID: <664590.86998.qm at web45814.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=us-ascii
If there are a number of BS,how to make the sender transmit packets to the corresponding BS under whose coverage area,the wireless node is.
If anyone knows,please reply.
Thanks.....
------------------------------
_______________________________________________
Ns-users mailing list
Ns-users at isi.edu
http://mailman.isi.edu/mailman/listinfo/ns-users
End of Ns-users Digest, Vol 62, Issue 7
***************************************
More information about the Ns-users
mailing list