I think there is a senderr() function call in the handle__link_failure function. If it is decided that the route can not be repaired, and if the packet is freed than a route error is sent to the original node to prevent the intermediate nodes and the source node to use that route again. It must be, otherwise the source and intermediate nodes will try to use that "failed" route for a while... until the route timer expires...
regards Cenker [EMAIL PROTECTED] wrote: > >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) > >