[ns] Assigning a port to a packet
Τσιλιγγίρης Γεώργιος
tsilisprosilio at gmail.com
Fri Jul 17 12:28:26 PDT 2009
Hi to all,
I implemented an agent that creates packets and sends them to nodes. The
agent changes the destination
of each packet in its IP header like this:
hdrip->dest_.addr_=2 (or 3 or 4 etc.)
It works fine with wired simulations but in wired-wireless scenarios I also
have to declare the port to which the packet goes.
Does anyone know how to do that?
George.
More information about the Ns-users
mailing list