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

[ns] packet header



Hi to all

I am trying to add a new header  to a packet.
I did the following changes
I made additions to packet_t and p_info in ns~/packet.h
I have sent my program as attachments.

But I get a run time error
null packet type (undefined)

I think off_hdr method is an old method of adding a new header.
Should this also be done? ( adding off_hdr_ in
ns~/tcl/lib/ns-packet.tcl....)
But I tried it and it didn't work either.

I am using ns2.1b6
Please help me



Thank you
Madhan

Lar.cc

Lar.h