Hi Pooja,

This is because mcast_totals... script try to parse trace outputs differently,
Change the parse format from
if($LINE =~ / ------- \[(\W*)(\d*):(\W*)(\d*) (\d+):(\d+) (\d+)
(\d+)\] \[(\d+)\] (\d+) (\d+) (\S+)/o) {
to following
if($LINE =~ / ------- \[(\d*):(\d*) (\d+):(\d+) (\d+) (\d+)\]
\[(\d+)\] (\d+) (\d+)/o) {


Dhammika


On 5/5/06, Pooja Vyavahare <[EMAIL PROTECTED]> wrote:
>
>  hi,
>
> I m working on ODMRP of ns-2.1b8. The simulation is working properly but
> when i m running mcast_total.pl script to get the packet information the
> error is like
>
> CBR Logging error.
>
> I think the problem is because of the change in the trace format ns-2.1b8and
> ns-2.28. But actually i m not understanding the trace format.
> the trace file looks like:
>
> r 18.873611979 _0_ ODM --- 12 cbr 64 [0 ffffffff 4 800] ------- [10:32770
> 32770:32770 254 0] [6] 2 0
>
> M 18.99344 45 (907.63, 361.14, 0.00), (93.13, 144.01), 1.15
>
> s 19.152399956 _10_ AGT --- 13 cbr 64 [0 0 0 0] ------- [-1:-1 32770:32770
> 32 0] [7] 0 0
>
> r 19.152399956 _10_ ODM --- 13 cbr 64 [0 0 0 0] ------- [-1:-1 32770:32770
> 32 0] [7] 0 0
>
> s 19.155637540 _10_ ODM --- 13 cbr 64 [0 0 0 0] ------- [10:32770
> 32770:32770 255 0] [7] 0 0
>
> r 19.156825588 _12_ ODM --- 13 cbr 64 [0 ffffffff a 800] ------- [10:32770
> 32770:32770 255 0] [7] 1 0
>
> r 19.156825588 _12_ AGT --- 13 cbr 44 [0 ffffffff a 800] ------- [10:32770
> 32770:32770 254 0] [7] 0 1
>
>  f 20.454737907 _12_ ODM --- 19 ODMRP 36 [0 ffffffff a 800] ------- [10:255
> 32770:255 254 0] -32770- 12 [1 1 1 0] [0 0 0 0] (0, 0)
>
> f 20.454898315 _7_ ODM --- 19 ODMRP 36 [0 ffffffff a 800] ------- [10:255
> 32770:255 254 0] -32770- 7 [1 1 1 0] [0 0 0 0] (0, 0)
>
> r 20.455961929 _10_ ODM --- 19 ODMRP 36 [0 ffffffff c 800] ------- [10:255
> 32770:255 254 0] -32770- 12 [1 1 1 0] [0 0 0 0] (0, 0)
>
> please help me if sombody knows the solution. I have tried so much on this .
> And next week i have to submit my report.
>
> thank you in advance,
>
> Pooja
>
> Mtech (First year)
>
> IIT Delhi
>

Reply via email to