Hi

i want to ask that how i can write a tcl file to use my own protocol for
communication.


On 3/14/09, [email protected] <[email protected]> wrote:
>
> Send Ns-users mailing list submissions to
>        [email protected]
>
> 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
>        [email protected]
>
> You can reach the person managing the list at
>        [email protected]
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Ns-users digest..."
>
>
> Today's Topics:
>
>   1. wireless access point (mm)
>   2. How to simulate mutiple priority queues in ns-2 (Thanh D. Do)
>   3. how to set threshold level to queue (muralikrishna g)
>   4. upgrade ns2.32 to ns2.33 (mm)
>   5. how to get queue size (muralikrishna g)
>   6. Re: wireless access point (Kiran K Chauhan)
>   7. Re: ns-2 on windows vista (hakki)
>   8. How to get information of a node from an agent? (Truong Thuy)
>   9. Neighbor List (Mayank Daga)
> 10. How to send a message from one node to another node (i.e. to
>      send an integer value) (muralikrishna g)
> 11. How to Drop Packets From a Particular Sender (muralikrishna g)
> 12. Re: How to send a message from one node to another node (i.e.
>      to send an integer value) (Sidney Doria)
> 13. Re: How to Drop Packets From a Particular Sender
>      (Teerawat Issariyakul)
> 14. Re: How to Drop Packets From a Particular Sender (Mats Folke)
> 15.  TCO flag in trace file (antonioli)
> 16.  TCO flag in trace file (antonioli)
> 17.  Help!! (vap9999)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 13 Mar 2009 11:12:46 +0800
> From: mm <[email protected]>
> Subject: [ns] wireless access point
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello and thank you very much for all your efforts
>
> Could you please tell me if NS2 (version 2.32) can support simulation of
> wireless networks in infrastructure mode (it means wireless nodes connected
> to a wireless access point)?
>
> Thanks in advance
>
>
> ------------------------------
>
> Message: 2
> Date: Thu, 12 Mar 2009 23:21:23 -0400
> From: "Thanh D. Do" <[email protected]>
> Subject: [ns] How to simulate mutiple priority queues in ns-2
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset="utf-8"
>
> Hi folks,
>
> I am a newbie with ns-2. I have a problem of simulating multiple
> priority queues.
>
> In Linux, normally, there is a socket buffer corresponding to each
> connection. Data streaming into each socket buffer is encapsulated
> into packets which obtain TCP headers and IP headers. Throughout this
> processing, the packet streams corresponding to each connection is
> kept separate. Finally, there is a single ??priority queue?, into
> which all streams feed. All streams that have data ready to send take
> equal turns draining into the priority queue. (FAIR)
>
> There is another possible approach. Instead of a single priority queue
> (transmit queue), there are 16 priority queues. These are called bands
> and they range in number from 0 to 15, where band 15 has lowest
> priority and band 0 has highest priority. All the connections of i
> priority feed fairly into the i th priority queue. (SPRT).
>
> I have attached a figure describing these two approaches.
>
> My question is, is it possible to simulate both FAIR and SPRT in ns-2.
> Could you guys give me some hints how to do that?
>
> I really appreciate any suggestion.
>
> Sincerely,
> Thanh
>
> ------------------------------
>
> Message: 3
> Date: Fri, 13 Mar 2009 10:01:34 +0530
> From: muralikrishna g <[email protected]>
> Subject: [ns] how to set threshold level to queue
> To: NS-mail <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hi to all..
>
> how to set a threshold level to queue in a router.. and if the threshold
> level is reached i have to send a message to upstream router.. how to do
> it.. please help me.. i am in need
>
> thank you
>
>
> ------------------------------
>
> Message: 4
> Date: Fri, 13 Mar 2009 13:03:53 +0800
> From: mm <[email protected]>
> Subject: [ns] upgrade ns2.32 to ns2.33
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello and thanks a lot
>
> I have installed ns2.32 on ubuntu7.10 now I want to upgrade my ns2 to
> NS2.33. could you please tell me how can I upgrade that?
>
> Thanks in advance
>
>
> ------------------------------
>
> Message: 5
> Date: Fri, 13 Mar 2009 11:59:21 +0530
> From: muralikrishna g <[email protected]>
> Subject: [ns] how to get queue size
> To: NS-mail <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hi to all..
>
> if the queue size is reached to a threshold level i have to intimate the
> upstream router.. in this case how do i get the queue size
>
> i have set a threshold value   q_threshold
>
> if(queue_size=q_threshold){
>
>                                                                     take an
> action to intimate the upstream router
>
>
> }
>
>
> ------------------------------
>
> Message: 6
> Date: Fri, 13 Mar 2009 13:03:15 +0530
> From: Kiran K  Chauhan <[email protected]>
> Subject: Re: [ns] wireless access point
> To: mm <[email protected]>, [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> Yes NS2 does support that, use ns2.33 version.
>
> Sample code given in that is infrs.tcl
>
> Kiran
>
> On Fri, Mar 13, 2009 at 8:42 AM, mm <[email protected]> wrote:
>
> >
> > Hello and thank you very much for all your efforts
> >
> > Could you please tell me if NS2 (version 2.32) can support simulation of
> > wireless networks in infrastructure mode (it means wireless nodes
> connected
> > to a wireless access point)?
> >
> > Thanks in advance
> >
>
>
>
> --
>
> ........................................................................................................................................................
> Every footstep in life is full of possibilities we just need to know our
> ability to explore them
>
> ........................................................................................................................................................
>
> ........................................................................................................................................................
>
>
> ------------------------------
>
> Message: 7
> Date: Fri, 13 Mar 2009 03:01:43 -0700 (PDT)
> From: hakki <[email protected]>
> Subject: Re: [ns] ns-2 on windows vista
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=UTF-8
>
>
> Dear Sidney,
> I have been trying to install ns-2.27 to my machine runs under vista home.
> Even I have downloaded all the packages of cygwin, I could not install
> ns-2.27. I installed also hidden packages in cygwin. Moreover, while I have
> been trying to install ns-2.27, there does not appear a such message `...
> package not found'. However, during the installation it gives a such
> message
> "tclcl-1.15 make failed!", Exiting. I chechked all my packages, whether I
> have installed or not, using the cygwin setup and choosing view section,
> there does not appear any package to install. Do you have any opinion or
> suggestion?
>
> best
> hakki
>
>
>
> Sidney Doria wrote:
> >
> >
> > I'm using cygwin 1.5.24 and ns-2  2.31 on Vista Home Premium. There
> > was no problem on installing it, but a few test have failed on
> > validation (as promessed in the tutorial).
> >
> > I recomend you to use all-in-one package and install a full cygwin
> > (default installation does't install some packages needed).
> >
> >
> > Sidney Doria
> >
> >
> > 2007/6/6, Karun Dambiec <[email protected]>:
> >>
> >> Hi,
> >>
> >> Im about to upgrade to Windows Vista if all my software is compatible.
> >>
> >> Has anybody used Cygwin and NS-2 on Vista? If you have, did you have any
> >> problems with it?
> >>
> >>
> >>
> >> Regards
> >>
> >> Karun Dambiec
> >>
> >>
> >
> >
> > --
> > Sidney Doria
> > Redes ad hoc m?veis
> > Mestrado em Computa??o
> > UFCG
> > Brasil
> >
> > "Nessa jornada, o conhecimento ser? o seu escudo..."
> > (Mestre dos Magos no epis?dio do grimoire de ouro)
> >
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/ns-2-on-windows-vista-tp10987280p22493352.html
> Sent from the ns-users mailing list archive at Nabble.com.
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Fri, 13 Mar 2009 10:37:49 +0000
> From: Truong Thuy <[email protected]>
> Subject: [ns] How to get information of a node from an agent?
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Dear All,
>
> I'm implementing a routing protocol that explores the mobility of a node.
> >From the new agent, I want some information of a node such as speed,
> location, ...
> Just wondering how I can use getter methods of Node.c inside my NewAgent.c?
> Please help. Thanks milllion.
>
> --
> Regards,
> Thuy
>
>
> ------------------------------
>
> Message: 9
> Date: Fri, 13 Mar 2009 17:46:21 +0700
> From: Mayank Daga <[email protected]>
> Subject: [ns] Neighbor List
> To: [email protected]
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hey all,
>
> Please let me know, how to access the Neighbor List of any mobile node. It
> is imperative for my project work and I am not being to able to find it.
> I found a function addNeighbor(node) in node.cc but it seems that it is not
> called from anywhere. Then how are neighbors being maintained.
>
> Please help.
>
> --
> Regards,
> Mayank Daga
> Senior Undergraduate Student,
> Department of Information Technology,
> National Institute of Technology, Durgapur,
> India
>
>
> ------------------------------
>
> Message: 10
> Date: Fri, 13 Mar 2009 18:57:31 +0530
> From: muralikrishna g <[email protected]>
> Subject: [ns] How to send a message from one node to another node
>        (i.e. to        send an integer value)
> To: NS-mail <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> hi to all..
>
> i am using ns-2.33, here i have to send a message (i.e. to send an
> integer value) from one node to another node, is it possible in tcl
> script itself.. or i have to go for c++
>
> please help me regarding this,
>
> by
>
> Muralikrishna Gaddam ([email protected])
>
>
>
> ------------------------------
>
> Message: 11
> Date: Fri, 13 Mar 2009 19:02:30 +0530
> From: muralikrishna g <[email protected]>
> Subject: [ns] How to Drop Packets From a Particular Sender
> To: NS-mail <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi to all..
>
> i am using ns-2.33, here in my work i have to drop packets from a
> particular sender, i am planing to drop packets depending on the
> sender node_id
>
> please help me regarding this..
>
> by
>
> Muralikrishna Gaddam ([email protected])
>
>
>
> ------------------------------
>
> Message: 12
> Date: Fri, 13 Mar 2009 10:54:56 -0300
> From: Sidney Doria <[email protected]>
> Subject: Re: [ns] How to send a message from one node to another node
>        (i.e.   to send an integer value)
> To: muralikrishna g <[email protected]>
> Cc: NS-mail <[email protected]>
> Message-ID:
>        <[email protected]>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Gaddam,
>
> this is the FIRST BASIC step when you learning NS-2. You can find lots
> of information about this, here:
>
> - asking google;
> - reading NS-2 manual;
> - tutorials in the NS-2 wiki;
> - on the book "Introduction to Network Simulator NS-2".
>
> But we know how difficult are the first steps! So, this tutorial can
> help with scripts (in OTcl) or how to code (in C++) to send and
> receive packets in NS-2:
>
> http://masimum.inf.um.es/nsrt-howto/pdf/nsrt-howto.pdf
>
> That tutorial is for WIRELESS networks. If you want for Wired
> networks, I suggest you the Marc Greiss's tutorial (Section IV):
>
> http://www.isi.edu/nsnam/ns/tutorial/
>
>
> Sidney Doria
> UFCG / BRAZIL
>
>
> 2009/3/13 muralikrishna g <[email protected]>:
> >
> > hi to all..
> >
> > i am using ns-2.33, here i have to send a message (i.e. to send an
> > integer value) from one node to another node, is it possible in tcl
> > script itself.. or i have to go for c++
> >
> > please help me regarding this,
> >
> > by
> >
> > Muralikrishna Gaddam ([email protected])
> >
> >
>
>
>
> --
> Sidney Doria
> Redes ad hoc m?veis
> Doutorado em Computa??o
> UFCG
> Brasil
>
> "Nessa jornada, o conhecimento ser? o seu escudo..."
> (Mestre dos Magos no epis?dio do grimoire de ouro)
>
>
>
> ------------------------------
>
> Message: 13
> Date: Fri, 13 Mar 2009 14:50:19 +0000
> From: "Teerawat Issariyakul" <[email protected]>
> Subject: Re: [ns] How to Drop Packets From a Particular Sender
> To: [email protected], [email protected]
> Message-ID: <agwiepn7.1236955819.9791730.teera...@localhost>
> Content-Type: text/plain; charset=ISO-8859-1
>
>
> Hi,
>
> Suppose you have a pointer "p". You can drop the packet by executing
>
>
>    Packet::free(p)
>
> Also the packet "*p" can be dropped from within the Connector object by
> invoking function drop as follows:
>
>    drop(p);
>
>
> Note that "drop(p)" is a function of class Connector, and therefore
> must be invoked from within the scope of class Connector.
>
> I posted how to drop a a packet in the following blog:
>
> http://t-issariyakul.blogspot.com/2009/03/ns2-dropping-packet.html
>
> For more information about Connector and Packet, see Chapters 5 and 8,
> respectively, in the following book from Springer:
>
> T. Issaraiyakul and E. Hossain, "Introduction to Network Simulator
> NS2", Springer 2008.
> http://www.springer.com/engineering/signals/book/978-0-387-71759-3
>
> You may also find the following website useful:
> http://www.ece.ubc.ca/~teerawat/NS2.htm
>
> On 3/13/2009, "muralikrishna g" <[email protected]> wrote:
>
> >
> >Hi to all..
> >
> >i am using ns-2.33, here in my work i have to drop packets from a
> >particular sender, i am planing to drop packets depending on the
> >sender node_id
> >
> >please help me regarding this..
> >
> >by
> >
> >Muralikrishna Gaddam ([email protected])
> >
>
>
>
> ------------------------------
>
> Message: 14
> Date: Fri, 13 Mar 2009 16:12:53 +0100
> From: "Mats Folke" <[email protected]>
> Subject: Re: [ns] How to Drop Packets From a Particular Sender
> To: <[email protected]>
> Message-ID:
>        <
> 81dd8ea2638a554ea2da738b270f63fa583...@esealmw114.eemea.ericsson.se>
> Content-Type: text/plain;       charset="iso-8859-1"
>
> Hi!
>
> Wouldn't it be kind of dangerous to drop the packet using the first method
> described? The packet would jsut disappear and the logs would not be
> consistent. I would recommend using the latter method
>
> drop(p)
>
> instead. This makes the logging consistent and almost all objects I've come
> across where I would like to drop packets have been Connector objects.
>
> Best regards,
> Mats Folke
>
> Teerawat Issariyakul wrote:
> > Hi,
> >
> > Suppose you have a pointer "p". You can drop the packet by executing
> >
> >
> >     Packet::free(p)
> >
> > Also the packet "*p" can be dropped from within the Connector object
> > by invoking function drop as follows:
> >
> >     drop(p);
> >
> >
> > Note that "drop(p)" is a function of class Connector, and therefore
> > must be invoked from within the scope of class Connector.
> >
> > I posted how to drop a a packet in the following blog:
> >
> > http://t-issariyakul.blogspot.com/2009/03/ns2-dropping-packet.html
> >
> > For more information about Connector and Packet, see Chapters 5 and 8,
> > respectively, in the following book from Springer:
> >
> > T. Issaraiyakul and E. Hossain, "Introduction to Network Simulator
> > NS2", Springer 2008.
> > http://www.springer.com/engineering/signals/book/978-0-387-71759-3
> >
> > You may also find the following website useful:
> > http://www.ece.ubc.ca/~teerawat/NS2.htm
> >
> > On 3/13/2009, "muralikrishna g" <[email protected]> wrote:
> >
> >>
> >> Hi to all..
> >>
> >> i am using ns-2.33, here in my work i have to drop packets from a
> >> particular sender, i am planing to drop packets depending on the
> >> sender node_id
> >>
> >> please help me regarding this..
> >>
> >> by
> >>
> >> Muralikrishna Gaddam ([email protected])
>
>
>
> --
> Mats Folke, M.Sc., Lic.Eng.
> Research Engineer
>
> Ericsson AB                     Office: +46 10 7171385
> Ericsson Research               Fax: +46 920 99621
> P.O. Box 920                    Mobile: +46 76 1271385
> SE-971 28 Lule?
> Sweden
>
>
>
> ------------------------------
>
> Message: 15
> Date: Fri, 13 Mar 2009 09:10:17 -0700 (PDT)
> From: antonioli <[email protected]>
> Subject: [ns]  TCO flag in trace file
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
>
> Hi,
> I'm studing some aspects handover over heterogeneous networks, in
> particularly the IEEE 802.21.
> I have already installed ns2 with 802.21 module (from NIST) and simulated
> some scenarios and found a "NCO" in trace file.
>
> Can tell me significance of the "NCO" (after -Nw) drop reason?
>
> All help or support will be very helpful.
> --
> View this message in context:
> http://www.nabble.com/TCO-flag-in-trace-file-tp22499739p22499739.html
> Sent from the ns-users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> Message: 16
> Date: Fri, 13 Mar 2009 09:11:05 -0700 (PDT)
> From: antonioli <[email protected]>
> Subject: [ns]  TCO flag in trace file
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
>
> Hi,
> I'm studing some aspects handover over heterogeneous networks, in
> particularly the IEEE 802.21.
> I have already installed ns2 with 802.21 module (from NIST) and simulated
> some scenarios and found a "NCO" in trace file.
>
> Could somebody explain to me significance of the "NCO" (after -Nw) drop
> reason?
>
> All help or support will be very helpful.
> --
> View this message in context:
> http://www.nabble.com/TCO-flag-in-trace-file-tp22499739p22499739.html
> Sent from the ns-users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> Message: 17
> Date: Fri, 13 Mar 2009 14:26:24 -0700 (PDT)
> From: vap9999 <[email protected]>
> Subject: [ns]  Help!!
> To: [email protected]
> Message-ID: <[email protected]>
> Content-Type: text/plain; charset=us-ascii
>
>
> After I run my tcl, it shows the following error, someone, please, give me
> a
> hint why that happened?
>
> Thanks so much!
>
> --- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
>        _o107: no target for slot -1
>        _o107 type: Classifier/Hash/Dest
> content dump:
> classifier _o107
>        0 offset
>        0 shift
>        2147483647 mask
>        1 slots
>                slot 5: _o566 (Classifier/Port)
>        -1 default
> ---------- Finished standard no-slot{} default handler ----------
>
> --
> View this message in context:
> http://www.nabble.com/Help%21%21-tp22503305p22503305.html
> Sent from the ns-users mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
> _______________________________________________
> Ns-users mailing list
> [email protected]
> http://mailman.isi.edu/mailman/listinfo/ns-users
>
>
> End of Ns-users Digest, Vol 63, Issue 13
> ****************************************
>

Reply via email to