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

RE: Problem in Forwarding a Packet



 Did you set the direction down(-1)?

-----Original Message-----
From: N.V.Balaji
To: [email protected]
Sent: 11/25/99 3:00 AM
Subject: 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