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

Problem in Forwarding a Packet



Dear all,
I'm writting a routing agent for MANETs. In the process, I'm forwarding a
packet from a node (which has been received from one of the neighbours) to
another node.But this packet is not sent to the intended destination but
is received at the same node. the header values I'm setting before
forwarding are:

cmn_hdr - prev_hop_   ..... it is set to the current node's address
cmn_hdr - next_hop_   ...... intended to receiver
cmn_hdr - addr_type() ...... AF_INET

Could you please point out the error?

Thanks in Advance
Balaji N V