diff options
author | Anders Broman <anders.broman@ericsson.com> | 2006-04-14 12:41:06 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2006-04-14 12:41:06 +0000 |
commit | af554c2f7525e432f1072b59afa40ce867673c00 (patch) | |
tree | e6dd54ff28085af5c71116b45cd82bf94a382fc9 /wiretap/file_access.c | |
parent | 44aa78fe5e3dd8b7c0f70c3941af28c48ebdd4c7 (diff) |
From Martin Mathieson:
patch and new files provide support for Catapult DCT2000
.out files to wiretap and ethereal.
This wiretap support (catapult_dct2000.c+h) appends a short header to
each packet giving some context, and a corresponding ethereal dissector
(packet-catapult-dct2000.c) parses this before passing the real payload
onto an existing ethereal dissector (for ethernet, ip, lapd, ppp,
frame-relay,...).
For now, there is only support for saving dct2000 files in their own
format, although I may add support for converting between dct2000 and
libpcap later.
updated version of these files and patch, now with support
for MTP2. Olivier's trace used the ANSI variant - the MTP2 and MTP3
decode fine with the right preferences set (although the ISUP dissector
reports a reserved/retired message type).
Witha a change to NOT to declare gboolean catapult_dct2000_board_ports_only;
as extern as MSVC choked on it.
svn path=/trunk/; revision=17862
Diffstat (limited to 'wiretap/file_access.c')
-rw-r--r-- | wiretap/file_access.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wiretap/file_access.c b/wiretap/file_access.c index 18b4b0172b..a972d64568 100644 --- a/wiretap/file_access.c +++ b/wiretap/file_access.c @@ -70,6 +70,7 @@ #include "hcidump.h" #include "network_instruments.h" #include "k12.h" +#include "catapult_dct2000.h" /* The open_file_* routines should return: * @@ -107,6 +108,7 @@ static int (*const open_routines[])(wtap *, int *, char **) = { airopeek9_open, dbs_etherwatch_open, k12_open, + catapult_dct2000_open, /* Files that don't have magic bytes at a fixed location, * but that instead require a heuristic of some sort to @@ -509,6 +511,9 @@ static const struct file_type_info { { "IBM iSeries communications trace (UNICODE)", NULL, FALSE, NULL, NULL }, + /* WTAP_FILE_CATAPULT_DCT2000 */ + { "Catapult DCT2000 trace (.out format)", "dct2000", FALSE, + catapult_dct2000_dump_can_write_encap, catapult_dct2000_dump_open }, }; /* Name that should be somewhat descriptive. */ |