I think i can help you
1) in file aodv_rtable.h: you can add FLAG field to neighbor table:
class AODV_Neighbor {
//some code...
// ....
double nb_expire; // ALLOWED_HELLO_LOSS *
HELLO_INTERVAL
boolean FLAG; //New field: "FLAG"
};
2) in recvRequest() function (aodv.cc):
puts some code like:
AODV::recvRequest(Packet *p){
//some code ...
//.....
AODV_Neighbor *nb;
nb = nb_lookup(ch->prev_hop_);
if(nb != 0) {
nb->FLAG = 1;
}
//.....
}
--
View this message in context:
http://network-simulator-ns-2.7690.n7.nabble.com/Help-Neighbor-table-tp27086p27088.html
Sent from the ns-users mailing list archive at Nabble.com.