Printing the value of the packet
Eddie Kohler
kohler at icir.org
Mon May 20 16:44:33 EDT 2002
Hi Shweta,
> Is there any way to display the contents of the packet that is created
> before it is pushed? I am getting a segmentation fault and the problem is in
> the push method. I suspect I haven't created it correctly. Can you help
> please?
Well, you could, I suppose, print its length with something like
click_chatter("packet %p length %d", packet, packet->length());
I suggest you send in the relevant small section of your code.
Eddie
More information about the click
mailing list