Yes, I'd want to stop queueing at that _particular_ node... but won't
commenting everything out stop it everywhere (I still want it to continue at
all the other nodes... it's an interesting simulation!).
Thanks,
Kathy
On Fri, 9 Jun 2006, Shafiq Hashmi wrote:
> If you want to stop queueing a
...I'd even be willing to just make the queue "blocked" at the node, but I
can't seem to access the blocked_ variable from mac-802_11.cc (which is where I
need to have this queue stuff happen). Can anyone help?
Kathy
On Fri, 9 Jun 2006, Shafiq Hashmi wrote:
> If you want to stop queueing at
Whoah, that is too complicated for me. I don't know ns-2 very well. What do
you mean by:
"make a pointer to the ITF" -- doesn't it have a pointer (uptarget_)?
According to the diagram on pg 145 I should do uptarget_ ->downtarget_->reset()
since
uptarget will take me to the LL, downtarget wil
Hi ns,
I'd like to clear a node's queue from the mac-layer in my simulation after I've
received a certain packet. Can I call a PacketQueue function like "reset()"
from the mac layer? If not, how would I clear the queue?
Thanks!
Kathy
Hey ns,
It seems I must ask again: I have an error "PacketQueue:: remove() couldn't
find target" that kills my simulation.
Does anyone know what causes this? I found out that I don't get this error if
I move my nodes far enough apart, but I need them pretty close.
Kathy
On Sun, 21 May 200
I had a no-slot error too in my simulation. I found out that it means there's
no port assigned for your application at your nodes. You can set it manually
or you can connect the agents in your Tcl script. See Marc Greis' tutorial for
how.
Kathy
On Tue, 16 May 2006, Anoop Ramamurthy wrote:
Can anyone tell me how I can create a mac packet and broadcast it in a wireless
network (which variables need to be set, whether I need an agent or not)? I've
looked through the ns manual and searched online. Does anyone know the steps?
Please help me out.. I'm desparate!
Thank you,
Kathy
Hi,
I was messing around with the ping agent from Marc Greis' Tutorial, and wanted
to change the ping to a broadcast. I added the IP header stuff as I've seen
elsewhere online,
hdr_ip *ip = hdr_ip::access(pkt);
ip->daddr() = IP_BROADCAST;
and now I get this error:
-- Classfier::no-
I am trying to find out what happens (what C++ functions are called, what .cc
files are accessed) when a new node is created in ns-2. The ns-2 documentation
refers to ns-lib.tcl, which does not exist. Does anyone know? The reason is
I'm trying to access a MAC layer function from my new Agent