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

RE: [Q]Adding a new packet header



I guess you bind some variables in your rim.h file, right? You need to give
them default values in ns-default.tcl. Hope it works.

Huiwen

> -----Original Message-----
> From: Lee Kyeseon [mailto:[email protected]]
> Sent: Tuesday, September 28, 1999 8:07 PM
> To: Ns-Users
> Subject: [Q]Adding a new packet header
> 
> 
> Hi, all
> 
> I have added a new packet
> I have defined a header file, rim.h and rim.cc
> and I have modified the packet.h and ns-packet.tcl
>       (added PT_RIM, name_[PT_RIM]="RIM", {RIM  off_rim_})
> and added rim.o to the Makefile.
> and did make depend; make
> 
> But I got  following error messages.
> 
> ----------
> 'hdr_rim' undeclared
> 'off_rim_' was not declared
> ....
> 
> Can anyone help me?
> 
> Thank you.
> 
>