[Ns-developers] Setting CBR rate from AODV code.
A D
ad_damle at hotmail.com
Fri Sep 30 14:06:46 PDT 2005
Hi ,
I was trying to implement a cross layer routing algorithm . For that i
require that the nodes adjust their data rate based on availble bandwidth.
Whenever a node receives the maximum available bandwidth from the route
reply message in standard on-demand routing protocols, then it should set
the data rate to adjust to that avaible bandwidth.
Can somebody please help me in setting the data rate from the aodv.cc code
??
I tried doing this but it didn't work .....
Tcl& tcl = Tcl::instance();
tcl.evalf("Application/Traffic/CBR set rate_");
bind_bw("rate_", &rp->rp_mymetric);
Please help. I am getting following error message when I try to run that
program.
warning: no class variable Scheduler/Calendar::rate_
see tcl-object.tcl in tclcl for info about this warning.
Thanks,
Ameya.
_________________________________________________________________
Dont just search. Find. Check out the new MSN Search!
http://search.msn.click-url.com/go/onm00200636ave/direct/01/
More information about the Ns-developers
mailing list