versions of
the protocol by modifying the Makefile.in and then running ./configure
and make. The relevant line in the Makefile.in file reads:
-DAOMDV -DAOMDV_NODE_DISJOINT_PATHS # By: Ahmad Khayyat - AOMDV
This will produce the node-disjoint-paths version of AOMDV. Replaing
_NODE_ with _LINK_
*p, LL *ll)
{
// Disable ARP
hdr_cmn *ch = HDR_CMN(p);
mac_-hdr_dst((char*) HDR_MAC(p), ch-next_hop());
return 0;
ARPEntry *llinfo ;
...
Enjoy,
- Ahmad Khayyat
Ahmad Khayyat wrote:
Hi everyone,
I believe I managed to port the old AOMDV code to ns-2.29. It is my
first
This reminds me about a bug in the original wpan implementation. Not
sure if it is fixed in Iyappan patch as I am using ns-2.29.
In the method:
bool CsmaCA802_15_4::canProceed(double wtime, bool afterCCA)
The following declaration exists:
UINT_16 t_bPeriods,t_CAP;
For large BO/SO values,
AOMDV implementation for older versions of ns-2 is available at:
http://www.icis.ntu.edu.sg/wagio/simtools.htm
Looking at the included files, it seems fairly easy to port to current
ns-2. I started porting it to 2.29 but got interrupted by other work.
Though I do need it for 2.29 and will
This is a generic message caused most probably by misbehaving pointers.
Your best shot is to use a debugger, e.g. gdb. It will pinpoint the
source code line causing the error for you.
On Mon, 12 Mar 2007 12:13:08 +0100
[EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
Hi,
during a wireless
Regarding your second question, my understanding is that -Hs is the
node at which the event is observed, and not necessarily the source.
In receive events, -Hs is the node receiving the packet and hence
Hs = Hd (the receiver is the observer of the event) and other
subsequent fields will report
Never mind.
The two lines work perfectly. They just happened to trigger another
problem, which is taken care of now :)
On Tue, 27 Feb 2007 18:27:37 -0500
Ahmad Khayyat [EMAIL PROTECTED] wrote:
What is the easiest way to disable the use of the ARP protocol?
I guess the IP address corresponds
What is the easiest way to disable the use of the ARP protocol?
I guess the IP address corresponds to the MAC address in ns-2, doesn't
it? So how do I make the LL/ARP modules use it immediately without
using ARP?
I tried adding the following two lines at the top of
ARPTable::arpresolve(nsaddr_t
Hi,
Recently I have been receiving every single email in the list twice.
This also happens with ns-developers list. I don't recall changing any
setting on my side.
Is this experienced by other subscribers?
Just a tiny hint..
When you trace the code, don't forget that ns-2 is a mixture of C++ and
oTcl. Much of the object passing is done through oTcl.
Faisal Siddiqui wrote:
Hi Paul,
Thanks for the link.
I totally agree with you. I have spent so much time trying to understand as
to how does
Hi Bruce,
Read chapeter 13 in ns-manual.. I think you are looking for Error Model
instead of Loss Model.
The commands you are using are for wired networks only, if I am not
mistaken.
Bruce Who wrote:
hi, Ahmad:
=== 2006-04-03 02:05:24 Ahmad Khayyat wrote: ===
Hi Bruce,
If you
size in the receive event
is the size that the MAC layer reports to higher layers.
Bruce Who wrote:
hi, Ahmad:
=== 2006-03-31 23:40:43 Ahmad Khayyat wrote: ===
2) assoPermit means whether the node should permit other nodes to
associate with it so that it becomes their coordinator
2) assoPermit means whether the node should permit other nodes to
associate with it so that it becomes their coordinator. Look at the
802.15.4-2003 standard for details.
5) This is not how LossModel is used. Consult ns-manual for the correct
usage. It still applies for wpan.
Bruce Who wrote:
If you search google for the terms debian ns2 you will get the
following link as the first match!
http://wiki.splitbrain.org/ns2
Twum Frimpong wrote:
I am new to ns2. I am a student and part of my final
year project require that I use ns2 for simulating an
mpls network module.
I have
Try using smaller data packets. The maximum application packet size in
802.15.4 is 100 bytes. DSR adds larger overhead than AODV and hence
makes the overall packet size larger than AODV does. You can see in
size = 159 that the packet is larger than 128, which is the size limit
of the
,
- Ahmad Khayyat
and
the structures and add the new folder to the Makefile.. do I need to do
anything else? Is there a reference I should consult to find out what
exactly I need to do?
Thanks,
- Ahmad Khayyat
advising to do this, everybody just suggests copying the
existing module's folder and working on it after changing the names of
the classes/variables...etc. Is there a valid reason for choosing this
approach?
Ahmad Khayyat wrote:
Hi all,
I would like to extend an existing protocol in ns-2
.
Ethan Giordano wrote:
Say you modify TCP...you very well might want to have both TCP and
your TCP+ protocols running at the same time.
~Ethan
Ahmad Khayyat wrote:
Clarification:
By the first option (extending its classes), I meant subclassing the
classes of the existing model
of duplicating the work.
Thanks,
- Ahmad Khayyat
there, but there aren't many of us! You can make this situation
better by joining us as frequently as you can.
Regards,
- Ahmad Khayyat
You don't need a username or a password. You will just be asked for a
nick by which you will be known to others in the channel.
You have the option of registering your nick, in which case you will
have to create a password and use it (optionally) whenever you log in again.
For details, see the
need to implement a local time variable? Can
one implement a skewed clock for some nodes (a clock that keeps drifting)?
Thanks,
- Ahmad Khayyat
23 matches
Mail list logo