Research Article

Modeling Routing Overhead of Reactive Protocols at Link Layer and Network Layer in Wireless Multihop Networks

Algorithm 1

Route Maintenance in AODV.
(1) if   = active_mode then
(2)  for all    do
(3)   start
(4)   if upstream node detects Link Breakage () then
(5)    start LLR
(6)    if successful repair through LLR then
(7)     repairing node sends data to repaired route
(8)    else
(9)     broadcast RERR message
(10)    receiver of RERR deletes faulty route from
(11)     starts route re-discovery based on
(12)   end if
(13)  else
(14)   repeat
(15)  end if
(16) end for
(17) else
(18) no action is performed for link checking
(19) end if