[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

trace files information






   Dear all,

  I've tried to follow the information about the exchange of packets 
with ns reading in the .tr files. Unfortunately comparing with the instructions
given in ns/doc/mobility.tex there is not much I can understand!

Can anybody tell me what the following lines mean:

s 160.000000000 _3_ AGT  --- 62 tcp 1000 [0 0 0 0] ------- [4194305:0 0:0 32 0] [0 0] 0 0
+ 160.013005 2 1 tcp 1020 ------- 2 1.0.1.0 0.0.0.0 0 62
- 160.013005 2 1 tcp 1020 ------- 2 1.0.1.0 0.0.0.0 0 62


If I try to compare with the documentation:

An example of a trace for a tcp packet is as follows:
\begin{program}
r 160.093884945 _6_ RTR  --- 5 tcp 1492 [a2 4 6 800] ------- [655
36:0 16777984:0 31 16777984] [1 0] 2 0
\end{program}
Here we see a TCP data packet being received by a node with id of 6. UID
of this pkt is 5 with a cmn hdr size of 1492. The mac details shows an IP
pkt (ETHERTYPE\_IP is defined as 0x0800, ETHERTYPE\_IP is 0x0806 ), mac-id
of this receiving node is 6. That of the sending node is 4 and expected
time to send this data pkt over the wireless channel is a2 (hex2dec
conversion: 160+2 sec). Additionally, IP traces information about IP src
and destination addresses. The src translates (using a 3 level
hier-address of 8/8/8) to a address string of 0.1.0 with port of 0. The
dest address is 1.0.3 with port address of 0.


I don't see very much parallelism.
Can please somebody give me a hint?

Anastasia