Ethereal-dev: [Ethereal-dev] Wiretap patch to add Visual Networks file type

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: "Nisbet, Tom" <Tnisbet@xxxxxxxxxxxxxxxxxx>
Date: Tue, 4 Dec 2001 16:29:29 -0500
This patch adds support to wiretap for Visual Networks traffic capture
files.  Two new files were added.  The following files have changes:

wiretap/file.c - Adds visual_open to the list.  This was placed before
etherpeek because otherwise EtherPeek's heuristic will attempt to open the
Visual file format.  The files have a magic number at the start which is
easily detected by the visual_open code.

wiretap/wtap.h - Add new file type enum.
Makefile.am - Add visual.c and visual.h.

A sample HTTP capture file is also included.  The code
has been tested Linux on an Intel platform.  I don't have
access to a big-endian machine to test that all of the bytes
were swapped correctly in all places.  If anyone can verify
this, please drop me a note.

Please let me know if I need to submit any other files.
Makefile.am seemed to be the only build file that changed.

Thanks,
Tom

Attachment: wtap.h.diff
Description: Binary data

Attachment: Makefile.am.diff
Description: Binary data

Attachment: visual.c
Description: Binary data

Attachment: visual.h
Description: Binary data

Attachment: file.c.diff
Description: Binary data

Attachment: http.cap
Description: Binary data