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

[ns] tracing colliding packets on aloha




>
>hi ns -users
>
>im using the generic sat-aloha.tcl script located in the ns-2.1`b7a/tcl/?
 directory
>
>when simulated the trace file produced is similar to below
>withe the extra long/lat pos cordinates appended to the end of eahc line
>
>+ 1 3 0 cbr 210 ------- 0 3.0 4.0 0 0
>- 1 3 0 cbr 210 ------- 0 3.0 4.0 0 0
>r 1.120889 3 0 cbr 210 ------- 0 3.0 4.0 0 0
>+ 1.120889 0 1 cbr 210 ------- 0 3.0 4.0 0 0
>- 1.120889 0 1 cbr 210 ------- 0 3.0 4.0 0 0
>r 1.364484 0 1 cbr 210 ------- 0 3.0 4.0 0 0
>+ 1.364484 1 4 cbr 210 ------- 0 3.0 4.0 0 0
>- 1.364484 1 4 cbr 210 ------- 0 3.0 4.0 0 0
>r 1.485373 1 4 cbr 210 ------- 0 3.0 4.0 0 0
>
>how am i to determine the throughput of the sat-network?
>for this is need to trace the total sat connections made (including
packets collided).  the above trace
>doesnt seem to tell me this (it only seems to show connections from which
packets are recieved "r".
>
>i would much appreciate your help
>
>regards
>mark