[ns] enabling ECN in ns2

2015-07-21 Thread Keerthi M

Hi,

I was trying to enable ecn capability in ns2 by setting agent/tcp ecn_ 1.
But in the trace file(wired network) only the first of the seven flag
fields show C. I guess its just ecn echo.

Could someone please help me with this.

Regards,
Keerthi


[ns] Help with modify_p function in RED

2015-07-08 Thread Keerthi M

Could someone please help me understand the modify_p function in code for
RED. Why is this function called after calculate_p_new

Keerthi


[ns] How to change default values in ns-default.tcl

2015-06-17 Thread Keerthi M

Hi,

I want to change some of the default values of RED protocol in NS. I tried
setting new values in ns-default.tcl and re-compiled, but when I run the
simulation NS uses the old default values instead of new ones. Can anyone
please tell me how to change the default values in ns?

Thank you,
Keerthi


[ns] Modifying RED

2015-05-30 Thread Keerthi M

Hi all

I am trying to modify the packet dropping probability function of RED in
ns2. Can someone please help me with the implementation? Any help will be
greatly appreciated.

Thanks