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; # optim
cbr traces are parsed in two places, process_cbr and process_mcast_cbr
It should be in the following format.
if($LINE =~ / --- \[(\d*):(\d*) (\d+):(\d+) (\d+) (\d+)\]
\[(\d+)\] (\d+) (\d+)/o)
What you have written below is identical to this
On 5/8/06, pooja Vyavahare <[EMAIL PROTECTED]> wrot
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+)\]
Actually it seems like we can use error models for this, I guess there
should be some type of extension from generic error models to support
specific node errors.
Dhammika
On 5/3/06, Hai Nam <[EMAIL PROTECTED]> wrote:
> On 5/3/06, Dhammika Pathirana <[EMAIL PROTECTED]> wr
Hi,
What is the easiest way to simulate node failures (in wireless nets)
in ns-2. I was trying to find a way to simulate node failures but I
could not find any built in mechanisms for that. It seem like node
failures are simulated by individual link failures. But then they are
not the same.
than
Hi,
Apparently nam does not support simulating broadcasts for mobile
wireless nodes. But static wireless nodes work fine. You can try
ns2dir../tcl/ex/wireless-flooding.tcl
Is there a specific reason not to support mobile nodes?
thanks
Dhammika
Please take a look at last 30 lines of the output file. It contains
all summarised data, control pkt sent, received are in mrtr and
data pkt details are in cbr..
cbr_rx and cbr_srx list the received and expected number of pkts. Also
trace contains all pkts sent received by each node, so you ca
Hi Chanchal,
I am assuming you're working with Monarch extensions. Otherwise you'd
have to download the ODMPR patch from their website at
http://www.monarch.cs.cmu.edu/software.html
There's a Pearl script in SCRIPTS directory called mcast_totals... (or
something) similar. You can use it to get me
Hi Vinod,
This is because NDEBUG is defined in the makefile. Replace is with
DEBUG to enable asserts.
Dhammika
On 4/16/06, Vinod <[EMAIL PROTECTED]> wrote:
>
> hi,
>
> can any one tell me why the assert() function is not working in ns-2
> implementation of AODV. Should we need to enable it so
; tomorrow i have to some results to my guide....
>
> Once again thank you very much,
>
> regards,
> Pooja.
>
>
>
> On 4/10/06, Dhammika Pathirana <[EMAIL PROTECTED]> wrote:
> > Hi Pooja,
> >
> > This is because the receiver end a
Hi Pooja,
This is because the receiver end aborts on receiving data. Replace the
CBR agent
on the receiver's side with a Null agent in mcast-create-sink... in
odmrp.tcl.
dhammika
On 4/9/06, Pooja Vyavahare <[EMAIL PROTECTED]> wrote:
>
> hello,
>
> i am working on ODMRP(ns2.1b8 version) on 2.28
You probably have included multiple instances of simulator.o in your makefile.
Dhammika
On 4/9/06, Hichem AYARI <[EMAIL PROTECTED]> wrote:
>
> hello
> i tried to compile multi agent extension to ns 2.28. I get the mobile
> extention wrote by Kunal Shah but when i compile i get the following e
Hi,
I am trying to port ODMRP code from 2.1b8 to 2.29 I have come across
following issue. I am setting up CBR agents to generate traffic as
follows
set s_agent [new Agent/CBR]
$ns_ attach-agent $self $s_agent
but when I run the above code script aborts on the receivers side. The
gdb trace looks
oc) "" ;
> set opt(fecproc)"" ;
>
>
> I can''t understand where i am wrong. If you have any suggestions please
> mail me .
>
> Thank You,
>
> Pooja.
>
>
>
>
>
>
> On 4/6/06, D
Hi Pooja,
This is because add-interface has changed between 2.1b8 and 2.28. You
can solve this issue by changing add-interface arguments in
create-mcast-mobile-node in odmrp.tcl in odmrp directory. It does not
pass inerrProc_, outerrProc_ and FECProc_ to add-interface. You can
pass null values as
Hi All,
I am trying to get ODMRP code working in ns-2.29.
My tcl script seems to exit without any errors before expiration of
the simulation timer. It loads the movement scenarios and initiates
joining to the mulicast groups. But then it just exits without any
errors. Has anyone else come across
Hi Pooja,
ODMRP is implemented in NS 2.1b8, but you'll have to grab Monarch
extensions from http://www.monarch.cs.cmu.edu/software.html
Dhammika
On 2/5/06, Pooja Vyavahare <[EMAIL PROTECTED]> wrote:
>
> hello all,
>
> I am new to NS and wanted to use multicasting protocols in MObile ad-hoc
>
Hi,
I am trying to animate wireless transmissions in nam. The protocol
that I am working on seems to work fine, but nam doesn't show packet
transmissions. Can anyone advice me on how to enable tracing/animating
packet transmissions. Your help would be greatly appreciated.
thanks in advance
Dham
18 matches
Mail list logo