Hi The Learner,
Yes, in fact NS2 has various type of packets, common header, ip header,
tcp header, and so on. But you need to be careful. Packet header and
packet type (e.g., PT_TCP) are two different things. Packet type is just
information embedded in packet header.
Best Regards,
Teerawat
Hi,
It's in the file ns-2.35/common/packet.h.
Best Regards,
Teerawat Issariyakul
http://www.ns2ultimate.com/
http://www.facebook.com/pages/Teerawat-Issariyakul/358240861417
http://twitter.com/T_Bear
http://www.t-issariyakul.blogspot.com
http://www.ece.ubc.ca/~teerawat
On 3/22/2010, The
Hi.
Can there be multiple packet headers for a protocol implementation in ns2?
i.e, a packet header while sending broadcast in the network and another
packet header while sending data, and another packet header for sending
another type of broadcast...?
If thats the case, then I just need to