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

Re: Define new pkt type



I think because of wireless chages there was a transient error in
packet.h re. packet types.  If you're using a recent snapshot that
might be the problem.  It was fixed just last week or so..

  -Yuri

Shuqian Yan <[email protected]> writes:

> 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