[Ns-developers] setting available system memory on a node?

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Wed Apr 1 23:59:05 PDT 2009


On Wed, 2009-04-01 at 21:25 +0200, Florian Westphal wrote:

> How would you like to have this exposed on the ns3 side?
> I am thinking node should have something like
> 
> .AddAttribute ("System Memory", "The amount of memory (in Ki Bytes) "
> 		"available to this stack", ...

sounds ok for me (although I have no idea what you would use this for :)

> 
> OTOH, there are no users (yet), and ns-3 itself would not be using this.
> 
> Maybe it should be put on the back burner until the long-planned (well,
> long planned by me, anyway) ns-3-nsc rework is completed (my plan
> was to introduce an "nsc node" object, which could then pass such
> an attribute on to NSC).

Why can't you add this attribute to NscTcpL4Protocol ?

Mathieu




More information about the Ns-developers mailing list