[ns] queue split object prob

2010-03-12 Thread waqar haq
hi to all plz do reply, i m in die hard need i was trying to get nos of bytes currently contain in a que after searching i have found that queue class contain a packetqueue object that hav a protected variable bytes_ i have done this to get a queue handle set queu [[[$ns link $node $nbr ]

Re: [ns] queue split object prob

2010-03-12 Thread Ariel Goldberg
Hi Here's what i think you need to do: You need to have a reference to the IFQ, and once you have a reference to the IFQ you can easily access the variable bytes_ associated with that IFQ Insert the red code into the files node.cc and ns-lib.tcl (shown below). These will make sure that any