[ns] Ns-users Digest, Vol 42, Issue 21
kalif_m at yahoo.com
Wed Jun 27 07:25:28 PDT 2007
A forward packet is a packet that tavel from node to node till the destination... Hs if I remember corectly is the id of the source node, Hd the id of the destination node.
Nu citi nimic din ceea ce nu doresti sa tii minte si nu tine minte nimic din ceea ce n-ai de gind sa aplici
Date: Wed, 20 Jun 2007 12:55:30 +0200
From: "juan manuel gomez garcia" <juanmagoga at hotmail.com>
Subject: [ns] What is a " f " packet?
To: Ns-users at ISI.EDU
Message-ID: <BAY134-F39D08C2D056A79E34B8F0FDD110 at phx.gbl>
Content-Type: text/plain; charset=iso-8859-1; format=flowed
I want to know what is a forward packet?. I'm developing a routing protocol
but in the trace file I only obtain a " f " packet in the destination node.
The scene is three wireless nodes:
N0 --------------- N1 ------------------- N2
The next lines is a part of my trace file. Can anyone tell me what is the
mean of all lines? Can anyone explain me exactly what is the mean of -Hs 1
s -t 15.100000000 -Hs 0 -Hd -2 -Nl AGT -Nw --- -Is 0.0 -Id 2.0 -It cbr ...
r -t 15.100000000 -Hs 0 -Hd -2 -Nl RTR -Nw --- -Is 0.0 -Id 2.0 -It cbr
s -t 15.100000000 -Hs 0 -Hd 1 -Nl RTR -Nw --- -Is 0.0 -Id 2.0 -It cbr
r -t 15.106969040 -Hs 1 -Hd 1 -Nl RTR -Nw --- -Is 0.0 -Id 2.0 -It cbr
f -t 15.106969040 -Hs 1 -Hd 2 -Nl RTR -Nw --- -Is 0.0 -Id 2.0 -It cbr
r -t 15.113977080 -Hs 2 -Hd 2 -Nl AGT -Nw --- -Is 0.0 -Id 2.0 -It cbr ...
Thank you very much.
Descubre la descarga digital con MSN Music. M?s de un mill?n de canciones.
Date: Wed, 20 Jun 2007 14:01:21 +0200
From: Nicola Baldo <baldo at dei.unipd.it>
Subject: [ns] dynamic libraries in ns2: how to develop ns extensions
withouth recompiling ns
To: ns-users at ISI.EDU
Message-ID: <46791711.2080003 at dei.unipd.it>
Content-Type: text/plain; charset=ISO-8859-1
at the SIGNET lab, Dept. of Information Engineering, University of
Padova, Italy, we've developed a patch for ns2 which enables effective
use of dynamic libraries in ns2. We believe that the introduction of
this feature substantially improves the current way of developing
extensions to ns2. A list of the offered advantages is reported below:
* People can develop add-ons for ns2 (e.g. introducing new agents,
packet types, protocols) without having to modify the core simulator.
* New packet headers and types, as well as packet tracers, could be
defined to assist debugging, collection of statistics and inter-module
communication. These can also be loaded on demand according to user's needs.
* Dynamic libraries can be loaded at simulation time, with no need to
recompile the whole ns2 distribution or to keep different ns2 binaries.
* The installation of third-party ns2 extensions is made easier, thereby
facilitating their dissemination.
* Dynamic libraries will make life easier for lab technicians and
students. In fact, an official ns2 version can be installed by
administrators, and students can just build and use their preferred
* ns2 will become more modular and scalable, while at the same time
preserving backwad compatibility.
We observe that dynamic libraries are natively supported in ns2 (see Tcl
load functionality). However, the set of functionalities which can be
accounted for by means of this approach is severely limited by the
intrinsic structure of the simulator. As an example, new packet types
and headers cannot be added to the code. In order to remove these
limitations, the patch we developed enables dynamic definition of packet
types, headers and their corresponding tracers.
Special care has been taken to ensure backward compatibility: the patch
has been designed in order not to interfere with the existing
functionalities in ns2. We have been testing this patch on different
linux systems since summer 2006, and so far we did not encounter any issue.
The patch is available at this location:
Also, a detailed documentation of the modifications introduced by the
patch, as well as a tutorial for building ns extensions as dynamic
libraries, can be found at this location:
Finally, we also provide a few sample modules to allow a straightforward
evaluation of the benefits provided by our patch. In particular, we
provide dynamic library versions of the UMTS implementation by the
EURANE project and of the TCP Veno implementation by NTU. The relative
packages can be found at this location:
Of course, any feedback on our proposal is welcome!
Date: Thu, 21 Jun 2007 00:09:23 +0100
From: <hx00001 at surrey.ac.uk>
Subject: [ns] questions about how to add new functionalities!
To: <ns-users at ISI.EDU>
<676D5FD21A8EEC4591C13839BF2A14B93E8FC8 at EVS-EC1-NODE4.surrey.ac.uk>
Content-Type: text/plain; charset="iso-8859-1"
I was doing my final project in this summer. The main job for me is to do the simulation about the handover on the ns2 and implement a new handover decision policy. So far I still have no idea about where to start to add new functionalities, let alone about how to modidy the ns source files to add new handover policy. I have searched for this kind of things in the internet for a long time but have no luck. Now I only have one month left and be stuck in here. Could anyone who know this kind of things can give me some advice about how to start or recommand some materals which can provide information about how to add new fucntionality. Many thanks!!!!
Ns-users mailing list
Ns-users at isi.edu
End of Ns-users Digest, Vol 42, Issue 21
Be a better Globetrotter. Get better travel answers from someone who knows. Yahoo! Answers - Check it out.
More information about the Ns-users