[ns] Next destination after routing agent

Laercio Júnior laerciopericles at gmail.com
Fri Jun 17 12:15:42 PDT 2005


Hello everybody,
I'm trying to implement header compression in NS-2. Now, I'm studying the 
packet flow through the network. I was studying the code of the routing 
agent AODV, available in ~ns/aodv/aodv.cc. I'd like to know which 
destination the routing agent AODV gives to the packet. In the routine 
AODV::forward(aodv_rt_entry *rt, Packet *p, double delay), it's invoked the 
routine Scheduler::instance().schedule(target_, p, 0.), being 'p' the 
packet, 0. the value of delay and about 'target_' I don't know. Could anyone 
help me ?
Any help is important.

regards,
Laércio Jr.


More information about the Ns-users mailing list