Re: [ns] Segmentation fault regarding RED

2005-12-17 Thread Huang Longbo
Hi,there Maybe you can add "Queue/RED set q_weight xxx" at the beginning.Or try to avoid using "set sth [new Queue/RED]", in which case NS doesn't call the initialize_params() in RED to initialize the q_weight value,so it will be -1 by default.Thus a seg fault will happen. Hope this helps.

[ns] nam problem on FreeBSD 4.11

2006-01-10 Thread Huang Longbo
Hi,everyone, I have trouble running nam under FreeBSD. I am using ns-2.27 and there is a executable "nam" file created.I actually changed that "const==Null" to "const==0" in line 72 in the file agent.h in nam-1.10 folder.Does anyone knows how to solve this problem? Thanks a lot. Cheers Lo

[ns] How does a path selected by WebTraf?

2006-01-12 Thread Huang Longbo
Hi,all. Does anyone know how a path is selected to forward packets by WebTraf,in a mesh connected network? I actually see that NS does NOT choose the best path,but I can't figure out what rule it is using. Can anyone help? Thanks a lot Cheers Longbo Huang

Re: [ns] using ns on Windows XP

2006-01-13 Thread Huang Longbo
You can install it under Cygwin.But you should be ready to bear with the long running time. Longbo Huang From: Ashutosh Srivastava <[EMAIL PROTECTED]> To: Cenker Demir <[EMAIL PROTECTED]> CC: ns-users@ISI.EDU Subject: [ns] using ns on Windows XP Date: Fri, 13 Jan 2006 17:22:10 + (GMT)

Re: [ns] concerning CBQ example

2006-01-13 Thread Huang Longbo
The file \ns-allinone-2.27\ns-2.27\tcl\test\test-suit-cbq.tcl should be a good place to look at.Usually you can first make the cbq creation process to be a function, and then apply it to a particular link. Hope this helps. Longbo Huang From: Kamal Gakhar <[EMAIL PROTECTED]> To: [EMAIL PRO