I guess you haven't parsed sender/receiver address properly
In process_mcast_cbr parsing is done for the original trace log format as

my $src_ipaddr = $2;
my $dst_ipaddr = $5;
my $dst_ipport = $6;
my $recved_pkt =  0;
my $act_rt_len = $10;       # actual length
my $opt_rt_len = $11;       # optimal length

but for the new trace format this should be as follows

my $src_ipaddr = $1;
my $dst_ipaddr = $3;
my $dst_ipport = $4;
my $recved_pkt = 0;
my $act_rt_len = $5;       # actual length
my $opt_rt_len = $6;       # optimal length
my $pkt_latency = 0;

Pls take a look at how trace data is extracted in the script.

Dhammika





On 5/8/06, pooja Vyavahare <[EMAIL PROTECTED]> wrote:
> hi,
>
> I think u were right. Now its all working bur it is
> not reading the line
>
> s 198.816364992 _18_ AGT  --- 14599 cbr 64 [0 0 0 0]
> ------- [-1:-1 32770:32770 32 0] [112] 0 0
> Actually this is the type of line which shows that a
> cbr packet is send. Thats why in the output file there
> are very few CBR packets.
>
> I think now i hav to go for a all together new program
> to extract the information from trace file.
> How did u solve this problem?
> Please help me.
>
> Thanking u,
> With regards,
> Pooja.
>
>
>
> __________________________________________________________
> Yahoo! India Answers: Share what you know. Learn something new.
> http://in.answers.yahoo.com
>

Reply via email to