Hi everyone;

i have added some code to the class Node to do some computations, i'm
modifying the protocol AODV where i have to use the computations added in
the class Node, but currently in the class AODV.cc there is only one
variable index of type nsaddr_t which represents the address of the node
[nsaddr_t    index; // IP Address of the node] but i don't know how to get
the whole structure of Node because with this variable index i can't access
the attributes of the node. in other words how to access classes AODV.cc and
Node.cc from one to another? 
for example if i put: $ns node-config -adhocRouting AODV, 
if i have a node N0 i want to get access to it from the AODV attached to it. 

Thank you in advance.

Reply via email to