Hi,
Function call chain for the localrepairtimer function is as follows:
rt_resolve --> aodv_rt_failed_callback --> rt_ll_failed -->
local_rt_repair --> and so localrepairtimer
the head of the chain is rt_resolve. In this function,
ch->xmit_failure_ = aodv_rt_failed_callback;
statement says something to us. The only one place in the code that
aodv_rt_failed_callback (and so local_rt_repair) is called, is the
rt_resolve function.
I think there is no need to send any RERR message in the
localrepairtimer function. Because this function is called only if
packet can't obtain media or isn't acked. The definition for
xmit_failure callback is as follows at the packet.h file
"called if pkt can't obtain media or isn't ack'd. not called if droped
by a queue"
I hope I am right ?
Have a good day.
Guzin Ulutas (CEng)