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

set own header fields at Packet creation



Hi,

maybe someone can help me with the following:

I've added my own header. This will not be used by a corresponding (or
any) agent. When an ordinary agent such as UDP creates a Packet, I want
the header fields of my added header to be set (e.g. to 0 or something
else). I could change the Packet:alloc() method in packet.h but I'd
rather add this functionality in my own (added) code. How should I do
this?

Regards, Sjoerd Janssen