Wireshark-dev: Re: [Wireshark-dev] [patch] export as C arrays
From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Tue, 11 Mar 2008 12:02:35 -0700
Francesco Fondelli wrote:

Attached is a patch to export packets data as "C Arrays".  I often
have the need to [re]send data captured with wireshark using a
raw/pf_packet socket.  Output format is one char[] per packet,

char, or unsigned char? The latter prevents the sign-extension that would occur on most platforms (probably all the platforms on which Wireshark is run).