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 define various constants for each
packet header,(PT_HDR1, PT_HDR2...etc). and use ch->ptype == PT_HDR1 to
check the type of header in a packet.

Please correct me if I am wrong.

Thank You,
The Learner.
-- 
View this message in context: 
http://old.nabble.com/Common-header-definition-inside-ns2-directory-tp27985812p27996580.html
Sent from the ns-users mailing list archive at Nabble.com.

Reply via email to