Hello Srirupa Dasgupta,

Here is the answer to your question:

"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)
                ]


i

-- 
Mubashir Husain Rehmani

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

Reply via email to