I’m trying to combine 2 protocols in ns-2. The protocols are r-aodv and aodv+. The goals is to get a new variant of routing protocol aodv that support for interconnection between mobile ad hoc network and node in infrastructure or Internet with link management failure. Protocol aodv+ provide gateway module and r-aodv provide reverse module for route management.
We need to modified some files, such as :