Hello,

There could be many reasons for this. One possible reason might be that you
only added a

const static packet_t  …..

for your new packet type in packet.h and after compiled your ns-2 code using
"make" command.
However,the "make" command will not take into account the changes that are
only made in ".h" files. In the  in this case, you need to do a small
change, for example add or remove a commented line in your packet.cc and
save it and execute 
the "make" command again. 

For more info you can see this link:

https://wiki.ti5.tu-harburg.de/wsn/ns2/packet

But your problem could have other reasons.

Best regards,



--
View this message in context: 
http://network-simulator-ns-2.7690.n7.nabble.com/Packet-header-of-application-layer-protocol-tp27252p27254.html
Sent from the ns-users mailing list archive at Nabble.com.

Reply via email to