[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Define new pkt type



Yan,

NS document has a detail description on defining new pkt type. Please take
a look at it.

thanks

Ya

On Tue, 16 Feb 1999, Shuqian Yan wrote:

> 
> Hello, all
> 
> What is the right way to define new pkt type in ns2? I add some new 
> type of control message in mcast_ctrl.cc, so I modify that file, adding 
> in new pkt name, etc. then I modify the packt.h file to define the pkt 
> type. It doesn't work, the nam animator was showing wrong names for the 
> particular control pkt generated, same error also appear in the out.tr 
> file.
> 
> Tks in advance,
> 
> shuqian 
> 
> 
>