[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] packet type error
Hi,
> I have defined a new packet type, and I have inserted the needed
> information about the new type in the file packet.h:
> enum packet_t {
> ......
> PT_AGREGE, // my packet type
> PT_NTYPE
> };
>
> p_info () {
> ...
> name_[PT_AGREGE] = "agrege";
> name_[PT_NTYPE] = "undefined";
> }
I create a packet with this type, and I give to the type field in the
hdr_cmn the value of my type. But when i try to print the trace of this
packet, I find the good value of the type but not the information (of
p_info) . I find "undefined" ????
any idea ? help please.
thanks
hajer