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

[ns] What is difference between +(enque) operation and r(receive) operation in Trace File Format?



Hi. I want to get q length of each flow.
So Try to make some perl script useing queue monitors output
Here are NS Manual's example
+ 1.84375 0 2 cbr 210 ------- 0 0.0 3.1 225 610
- 1.84375 0 2 cbr 210 ------- 0 0.0 3.1 225 610
r 1.84471 2 1 cbr 210 ------- 1 3.0 1.0 195 600
r 1.84566 2 0 ack 40 ------- 2 3.2 0.1 82 602
+ 1.84566 0 2 tcp 1000 ------- 2 0.1 3.2 102 611
- 1.84566 0 2 tcp 1000 ------- 2 0.1 3.2 102 611
r 1.84609 0 2 cbr 210 ------- 0 0.0 3.1 225 610
+ 1.84609 2 3 cbr 210 ------- 0 0.0 3.1 225 610
d 1.84609 2 3 cbr 210 ------- 0 0.0 3.1 225 610
- 1.8461 2 3 cbr 210 ------- 0 0.0 3.1 192 511
r 1.84612 3 2 cbr 210 ------- 1 3.0 1.0 196 603
+ 1.84612 2 1 cbr 210 ------- 1 3.0 1.0 196 603
- 1.84612 2 1 cbr 210 ------- 1 3.0 1.0 196 603
+ 1.84625 3 2 cbr 210 ------- 1 3.0 1.0 199 612

Ok. last field is packet identifier right? and it's unique.
But 1st line 610 packet enque and next deque. but 7th line 610 packet againe
received and enque and dropped.
How can this happen? packet identifier is not unique?
or... What is differnece between +, r operation?
How can I get q length??? I think using +, -, q field enough. Do I miss
something?
__

�ֿ��� (ChoiYoungSoo)
e-m@ail   : mailto:[email protected]
icq       : 43998959
myh0me    : http://palgong.knu.ac.kr/~guru0109
TeNet Lab : http://tenet.knu.ac.kr/