[ns] How to send a packet to previous node
howardgod howardgod
howardgod at gmail.com
Mon Nov 10 23:03:42 PST 2008
---------- Forwarded message ----------
From: howardgod howardgod <howardgod at gmail.com>
Date: 2008/11/8
Subject: How to send a packet to previous node
To: ns-users at isi.edu
I want to send a packet to previous node. And I don't know how to find
previous node's ID and where to fill the ID.
I found that in common header, there's a prev_hop and next_hop_. But the
prev_hop_ is NOT the previous node. It's the source.
So I want to fill previous node's ID to common header's next_hop_.
And is there anything else I have to fill?
btw I found a way to do so. Reverse the ip header's src and dst then send
it. but It still do nothing at all.
HELP ME!! PLZ
thanks a lot.
Howard.
More information about the Ns-users
mailing list