[Ns-developers] ns-3-nsc sysctl attribute support

Mathieu Lacage mathieu.lacage at sophia.inria.fr
Tue Jul 8 14:56:13 PDT 2008


hi florian, all,

After a bit of debugging and a lot of help from you and sam to get a
working nsc setup, here is the output:

http://www-sop.inria.fr/members/Mathieu.Lacage/nsc-attributes.png

We can control sysctls through the attribute system !

Mathieu


On Mon, 2008-07-07 at 22:50 +0200, Florian Westphal wrote:
> Mathieu Lacage <mathieu.lacage at sophia.inria.fr> wrote:
> > > debug/ns3/type-id.h: In member function `ns3::TypeId ns3::TypeId::SetParent() [with T = ns3::Ns3NscStack]':
> > > ../src/internet-stack/nsc-sysctl.cc:90:   instantiated from here
> > > debug/ns3/type-id.h:404: error: cannot call member function `ns3::TypeId ns3::Ns3NscStack::GetTypeId()' without object
> > 
> > ah. I see :) GetTypeId must be static. That might solve the other
> > problem you saw above.
> 
> Right. Now it compiles fine, but the runtime error is the same.
> I've pushed this to
> http://hg.strlen.de/cgi-bin/hgwebdir.cgi/ns-3-nsc-test/
> 
> (patch is http://hg.strlen.de/cgi-bin/hgwebdir.cgi/ns-3-nsc-test/rev/76da0b866202)
> 
> Thanks, Florian



More information about the Ns-developers mailing list