Wireshark-bugs: [Wireshark-bugs] [Bug 2349] New: export as C arrays
Date: Tue, 11 Mar 2008 17:54:54 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2349

           Summary: export as C arrays
           Product: Wireshark
           Version: SVN
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Medium
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: francesco.fondelli@xxxxxxxxx


Build Information:
wireshark 0.99.9-SVN-24597

Copyright 1998-2008 Gerald Combs <gerald@xxxxxxxxxxxxx> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled with GTK+ 2.8.15, with GLib 2.10.1, with libpcap 0.9.4, with libz
1.2.3, with POSIX capabilities (Linux), with libpcre 6.3, without SMI, without
ADNS, without Lua, without GnuTLS, with Gcrypt 1.2.2, with MIT Kerberos,
without
PortAudio, without AirPcap.

Running on Linux 2.6.18.1, with libpcap version 0.9.4.

Built using gcc 4.1.0 20060304 (Red Hat 4.1.0-3).

--
Hi All,

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,
it looks like almost the same as the one produced by "Follow TCP 
stream".

Please check it in, if you like it.

Ciao
FF

ps
patch is against svn 24597 but unfortunately is a "diff -ru dir1 dir2"
because I cannot "svn diff" anymore due to bad bad proxy settings,
sorry, it should work fine anyway.


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.