Re: [ns] Clearing a queue at a node in ns-2

2006-06-14 Thread Pedro Vale Estrela
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: sexta-feira, 9 de Junho de 2006 23:33 > To: Pedro Vale Estrela > Cc: ns-users@ISI.EDU > Subject: RE: [ns] Clearing a queue at a node in ns-2 > > Whoah, that is too complicated for me. I don't know ns-2 very well. > What d

Re: [ns] Clearing a queue at a node in ns-2

2006-06-10 Thread k s
I dont know whether will it answer your problem or not. > > Shafiq > > > > > > > - Original Message - From: <[EMAIL PROTECTED]> > To: "Pedro Vale Estrela" <[EMAIL PROTECTED]> > Cc: > Sent: Friday, June 09, 2006 6:32 PM > Subject: Re

Re: [ns] Clearing a queue at a node in ns-2

2006-06-09 Thread smythek
> > - Original Message - From: <[EMAIL PROTECTED]> > To: "Pedro Vale Estrela" <[EMAIL PROTECTED]> > Cc: > Sent: Friday, June 09, 2006 6:32 PM > Subject: Re: [ns] Clearing a queue at a node in ns-2 > > >> >> Whoah, that is too compl

Re: [ns] Clearing a queue at a node in ns-2

2006-06-09 Thread smythek
t; > - Original Message - From: <[EMAIL PROTECTED]> > To: "Pedro Vale Estrela" <[EMAIL PROTECTED]> > Cc: > Sent: Friday, June 09, 2006 6:32 PM > Subject: Re: [ns] Clearing a queue at a node in ns-2 > > >> >> Whoah, that is too complica

Re: [ns] Clearing a queue at a node in ns-2

2006-06-09 Thread Shafiq Hashmi
PROTECTED]> To: "Pedro Vale Estrela" <[EMAIL PROTECTED]> Cc: Sent: Friday, June 09, 2006 6:32 PM Subject: Re: [ns] Clearing a queue at a node in ns-2 > > Whoah, that is too complicated for me. I don't know ns-2 very well. > What do you mean by: > "make

Re: [ns] Clearing a queue at a node in ns-2

2006-06-09 Thread smythek
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

Re: [ns] Clearing a queue at a node in ns-2

2006-06-09 Thread Pedro Vale Estrela
Yes, http://www.isi.edu/nsnam/ns/doc/ns_doc.pdf pag 145, - at your C++ MAC module, make a pointer to the ITF; - either search the C++ NODE methods for getting the pointer reference you need (you want the reverse of the downtarget_ on the ITF; for making this, search the code that sets

[ns] Clearing a queue at a node in ns-2

2006-06-09 Thread smythek
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