Action When Where Layer: S 76.000000000 - 98 - AGT - 1812 CBR 32 (0 0 0 0) - (98:0 0:0 32 0)
Action When Where Layer: S 76.000000000 - 98 - AGT - 1812 CBR 32 (0 0 0 0) - (98:0 0:0 32 0)
Update:
Recently, I chanced to read <this manual> by Eitman Altman and manual is well
organised for intermediate learners in ns2. I have extraced the ns2 trace file part from
that and presented it below.
r 40.639943289 _1_ AGT - 1569 tcp 1032 [a2 1 2 800] - [0:0 1:0 32 1] [35 0] 2 0
* The first field is a letter that can have the values r,s,f,D for
received,sent,forwarded and dropped, respectively.It can also be < for giving a
location or a movement indication.
* The second field is the time.
* The third field is the node number.
* The fourth field is MAC to indicate if the packet concerns a MAC layer, it is AGT to
indicate the transport layer(e.g. tcp) packet, or RTR if it concerns the routed packet. It
can also be IFQ to indicate events related to the interference priority queue(like drop of
packets).
* After the dashes come the global sequence number of the packet(this is not the tcp
sequence number).
* At the next field comes more information on the packet type(eg. tcp,ack or udp).
* Then comes the packet size in bytes.
* The 4 numbers in the first square brackets concern the mac layer information. The first
hexadecimal number,a2(which equals 162 in decimal) specifies the expected time in
seconds to send this data packet over the wireless channel. The second number,1,
stands for the MAC-id of the sending node, and the third,2, is that of the receiving node.
The fourth number,800, specifies that the MAC type is ETHERTYPE_IP.
* The next numbers in the second square brackets concern the IP source and destination
addresses, then the ttl(Time To Live) of the packet(in our case 32),
* The third bracket concern the tcp information: its sequence number and the
acknowledgment number.