[ns] Distributed routing in satellites: null Handler in recv()

Rodolpho Iemini Atoji ratoji at linux.ime.usp.br
Sun Aug 24 19:50:50 PDT 2008


Hi,

I'm trying to implement distributed routing in NS2.
I've observed that in the function:

SatRouteAgent::recv (Packet * p, Handler *h)  { ...

of satroute.cc, Handler is always NULL, so I can't call:

Scheduler::instance().schedule(h, p, 0.0);

Does anyone has a tip on this?
Which file should I modify to get the argument being
passed to the recv() function?

Thanks in advance,

Rodolpho



More information about the Ns-users mailing list