[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ns] Accessing a routing class in a new agent



Hi,

I wrote a new agent in the wireless environment.
This new agent uses a different port from RT_PORT and will send broadcast
packets. Since RT_PORT isn't used, broadcast packets will never go through
AODV functions.
When this new agent receives a specific packet, I want to initialize a new
AODV routing request for the source of that received packet.
I also want to access the AODV routing table in my new agent.

However, I don't know how to access AODV members in my new agent.
My new agent is the inheritance of Agent class.

Could anyone help me?

thanks,
Charles