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

[ns] Need Help: how to get the forwarding node's address



Hi ns-users,

I posted it before,  and didn't get reply. 

Here is the question:
Suppose mobile node a send a packet to mobile node b. Can node b know the
packet is from node a?

I checked ip.h, packet.h, can't find the information. In the AODV
implementation, I can use prev_hop_ to get the node a's address. For DSDV and
DSR, the prev_hop_ will be 0.

Is there any other instance variable in the packet?

Thank you in advance.

Liang