Tracefile Example
Tracefile Example
r 160.093884945 _6_ RTR --- 5 tcp 1492 [a2 4 6 800] ------- [655
36:0 16777984:0 31 16777984] [1 0] 2 0
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_ARP is 0x0806 ), mac-id of this receiving node is 4. That of the sending node is 6
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. The TTL value is 31 and the destination was a hop
away from the src. Additionally TCP format prints information about tcp seqno of 1, ackno of 0.
See other formats described in ~ns//cmu-trace.cc for DSR, UDP/MESSAGE, TCP/ACK and
CBR packet types.