Hello

"s" and "r" indicates that you send and receive the packets respectively.
RTR means network layer and AGT means application layer.

Here is the full description of trace format:

To find the interpretation of all possible trace format when you do the
wireless simulation, you'd better read the code of ns2 in file
*ns2home/trace/cmu-trace{.h,
.cc}* Mostly, the format would be as

ACTION: [s|r|D]: s -- sent, r -- received, D -- dropped
WHEN:   the time when the action happened
WHERE:  the node where the action happened
LAYER:  AGT -- application,
        RTR -- routing,
        LL  -- link layer (ARP is done here)
        IFQ -- outgoing packet queue (between link and mac layer)
        MAC -- mac,
        PHY -- physical
flags:
SEQNO:  the sequence number of the packet
TYPE:   the packet type
                cbr -- CBR data stream packet
                DSR -- DSR routing packet (control packet generated by routing)
                RTS -- RTS packet generated by MAC 802.11
                ARP -- link layer ARP packet
SIZE:   the size of packet at current layer, when packet goes down, size
increases, goes up size decreases
[a b c d]:      a -- the packet duration in mac layer header
                b -- the mac address of destination
                c -- the mac address of source
                d -- the mac type of the packet body
flags:
[......]:       [
                source node ip : port_number
                destination node ip (-1 means broadcast) : port_number
                ip header ttl
                ip of next hop (0 means node 0 or broadcast)
                ]


Mubashir Husain Rehmani


2008/8/21 Srirupa Dasgupta <[EMAIL PROTECTED]>

>
>  Dear ns-users,
> can some one help me to interpret a wireless trace format like:
> s 1.000000000 _0_ AGT  --- 0 pong 128 [0.00 0 0] ------- [0:0 -1:0 32 0]
> r 1.000000000 _0_ RTR  --- 0 pong 128 [0.00 0 0] ------- [0:0 -1:0 32 0]
> s 1.000000000 _0_ RTR  --- 0 pong 128 [0.00 0 0] ------- [0:0 -1:0 32 0]
> s 1.000000000 _1_ AGT  --- 1 pong 128 [0.00 0 0] ------- [1:0 -1:0 32 0]
> what is AGT what is RTR ..how will I know that my packet has been accepted
>  from the above trace..
> Regard Srirupa
>
>
> On Thu, 21 Aug 2008 [EMAIL PROTECTED] wrote :
> >Send Ns-users mailing list submissions to
> >       ns-users@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
> >       [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. Implemtation of switch contribute (amj ns2)
> >    2. installation problem (.\install) [resent] (Nour)
> >    3. General Procedure for static build?? (xing y)
> >    4. Re: installation problem (.\install) [resent] (Mats Folke)
> >    5. how i can adjust specific node address in wireless mac
> >       (reza mohammadi)
> >    6. Implementing a New Manet Unicast Routing Protocol in NS2
> >       (Maurizio Bellemo)
> >    7. Code for link level recovery of Base Station ( ????? )
> >
> >
> >----------------------------------------------------------------------
> >
> >Message: 1
> >Date: Wed, 20 Aug 2008 11:26:54 +0300
> > From: "amj ns2" <[EMAIL PROTECTED]>
> >Subject: [ns] Implemtation of switch contribute
> >To: ns-users@ISI.EDU
> >Message-ID:
> >       <[EMAIL PROTECTED]>
> >Content-Type: text/plain; charset="iso-8859-1"
> >
> >---------- Forwarded message ----------
> > From: amj ns2 <[EMAIL PROTECTED]>
> >Date: Fri, Aug 15, 2008 at 12:13 PM
> >Subject: Implemtation of switch contribute
> >To: ns-users@isi.edu
> >
> >
> >I have implemented  Switch In NS2 from some reference about how to fabric
> >switch
> >and then I implemented in ns2-31 i want contribute of my code of switch .
> >thank you for help
> >i prefered any contribute please send me in my email : [EMAIL PROTECTED]
> >and I thank anyone help me .
> >thank you
> >the files is attached in message
> >
> >------------------------------
> >
> >Message: 2
> >Date: Wed, 20 Aug 2008 09:01:48 +0000 (GMT)
> > From: Nour <[EMAIL PROTECTED]>
> >Subject: [ns] installation problem (.\install) [resent]
> >To: ns-users@ISI.EDU
> >Message-ID: <[EMAIL PROTECTED]>
> >Content-Type: text/plain; charset=utf-8
> >
> >
> >
> >
> >
> >----- Message d'origine ----
> >De : Nour <[EMAIL PROTECTED]>
> >? : ns-users@isi.edu
> >Envoy? le : Mercredi, 20 Ao?t 2008, 9h33mn 07s
> >Objet : installation problem (.\install)
> >
> >
> >Hello Everyone
> >
> >I tried to install NS [version 2.28] under windows. I followed all the
> instructions of how to install cygwin and how to extract NS files to a
> directory reachable from Cygwin.
> >
> >But when i write the command " .\install" in the shell, this message
> appears : " no such file or directory "
> >
> >Thank you for your help
> >Nour81
> >
> >________________________________
> >  Envoy? avec Yahoo! Mail.
> >Une boite mail plus intelligente.
> >
> >
> >
> _____________________________________________________________________________
> >Envoyez avec Yahoo! Mail. Une boite mail plus intelligente
> http://mail.yahoo.fr
> >
> >------------------------------
> >
> >Message: 3
> >Date: Wed, 20 Aug 2008 15:20:38 +0530
> > From: "xing y" <[EMAIL PROTECTED]>
> >Subject: [ns] General Procedure for static build??
> >To: ns-users@ISI.EDU
> >Message-ID:
> >       <[EMAIL PROTECTED]>
> >Content-Type: text/plain; charset=ISO-8859-1
> >
> >Subject: General Procedure for static build??
> >To: ns-users@isi.edu
> >
> >
> >Hi
> >
> >I am looking for a standard procedure for making a static ns build so that
> i
> >can run the ns on any
> >other linux machine with same configuration without installing the
> >ns-allinone.
> >
> >I tried configure --enable-static and changing STATIC flag in Makefile.
> >
> >Please suggest a standard way of doing it.
> >
> >Thanks
> >Xing.
> >
> >
> >------------------------------
> >
> >Message: 4
> >Date: Wed, 20 Aug 2008 12:27:31 +0200
> > From: "Mats Folke" <[EMAIL PROTECTED]>
> >Subject: Re: [ns] installation problem (.\install) [resent]
> >To: <ns-users@ISI.EDU>
> >Message-ID:
> >       <
> [EMAIL PROTECTED]>
> >Content-Type: text/plain;      charset="iso-8859-1"
> >
> >Hi!
> >
> >Try "./install" not ".\install".
> >
> >Best wishes,
> >Mats Folke
> >
> >Nour wrote:
> > > ----- Message d'origine ----
> > > De : Nour <[EMAIL PROTECTED]>
> > > ? : ns-users@isi.edu
> > > Envoy? le : Mercredi, 20 Ao?t 2008, 9h33mn 07s
> > > Objet : installation problem (.\install)
> > >
> > >
> > > Hello Everyone
> > >
> > > I tried to install NS [version 2.28] under windows. I followed all
> > > the instructions of how to install cygwin and how to extract NS files
> > > to a directory reachable from Cygwin.
> > >
> > > But when i write the command " .\install" in the shell, this message
> > > appears : " no such file or directory "
> > >
> > > Thank you for your help
> > > Nour81
> > >
> > > ________________________________
> > >  Envoy? avec Yahoo! Mail.
> > > Une boite mail plus intelligente.
> > >
> > >
> > >
> > >
> _____________________________________________________________________________
> > > Envoyez avec Yahoo! Mail. Une boite mail plus intelligente
> > > http://mail.yahoo.fr
> >
> >
> >
> >--
> >Mats Folke, M.Sc., Tech.lic
> >Research Engineer
> >
> >Ericsson AB                     Office: +46 8 7571385
> >Ericsson Research               Fax: +46 920 99621
> >P.O. Box 920                    Mobile: +46 76 1271385
> >SE-971 28 Lule?
> >
> >
> >
> >------------------------------
> >
> >Message: 5
> >Date: Wed, 20 Aug 2008 05:35:39 -0700 (PDT)
> > From: reza mohammadi <[EMAIL PROTECTED]>
> >Subject: [ns] how i can adjust specific node address in wireless mac
> >To: ns-users@ISI.EDU
> >Message-ID: <[EMAIL PROTECTED]>
> >Content-Type: text/plain; charset=us-ascii
> >
> >hello
> >i design new mac protocol and i implement in wireless topology
> >but in first packet sennding (RTS) destination address is -1 and -1
> is=A0br=
> >oadcast mac address. how i can send packet to specific node=20
> >my output is shown below
> >my simulation time is =A05=A0 minutes=A0 but in first packet sending below
> =
> >result occure
> >any body can help me?
> >best regards
> >hdr_src,,,,,,,,,,,,,src=0
> >hdr_type
> >hdr_dst ,,,,,,,,,, dts=-1
> >hdr_src,,,,,,,,,,,,,src=0
> >hdr_type
> >hdr_dst ,,,,,,,,,, dts=-1
> >ns: finish: X connection to :0.0 broken (explicit kill or server
> shutdown).
> >
> >
> >
> >
> >
> >------------------------------
> >
> >Message: 6
> >Date: Wed, 20 Aug 2008 18:56:52 +0200
> > From: "Maurizio Bellemo" <[EMAIL PROTECTED]>
> >Subject: [ns] Implementing a New Manet Unicast Routing Protocol in NS2
> >To: ns-users@ISI.EDU
> >Message-ID:
> >       <[EMAIL PROTECTED]>
> >Content-Type: text/plain; charset="iso-8859-1"
> >
> >Hi all,
> >
> >I'm trying to simulate a MANET in order to test an efficient flooding
> >technique (broadcast). I took the code in this article, without using the
> >routing part, because I don't need. I want only to flood the network with
> >control information. I wrote a little simulation to test the algorithm.
> Two
> >nodes flooding packets. The problem is I get a segmentation fault and I
> >don't know why.
> >I attach the simulation file and the algorithm of the article changed.
> >
> >Thank you a lot
> >Best Regards
> >Maurizio
> >
> >------------------------------
> >
> >Message: 7
> >Date: Wed, 20 Aug 2008 23:13:40 +0530
> > From: " ????? " <[EMAIL PROTECTED]>
> >Subject: [ns] Code for link level recovery of Base Station
> >To: ns-users@ISI.EDU
> >Message-ID:
> >       <[EMAIL PROTECTED]>
> >Content-Type: text/plain; charset=ISO-8859-1
> >
> >Dear ns users,
> >
> >I am working on wired-cum-wireless scenario.
> >In this i have to do link level recovery when packet is dropped between
> base
> >station and wireless node.
> >So, Please help me in this regard and send me the code for link level
> >recovery for base station. and tell me in which file the code is there for
> >base station in NS-2.29.
> >I am very much thankful to you.
> >
> >Thanking You,
> >
> >Regards
> >Mandar.
> >
> >
> >------------------------------
> >
> >_______________________________________________
> >Ns-users mailing list
> >Ns-users@isi.edu
> >http://mailman.isi.edu/mailman/listinfo/ns-users
> >
> >
> >End of Ns-users Digest, Vol 56, Issue 17
> >****************************************
>



-- 
Mubashir Husain Rehmani

Mobile : 00 33 (0)6 32 00 89 35

Reply via email to