aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/catapult_dct2000.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2006-04-14 12:41:06 +0000
committerAnders Broman <anders.broman@ericsson.com>2006-04-14 12:41:06 +0000
commitaf554c2f7525e432f1072b59afa40ce867673c00 (patch)
treee6dd54ff28085af5c71116b45cd82bf94a382fc9 /wiretap/catapult_dct2000.h
parent44aa78fe5e3dd8b7c0f70c3941af28c48ebdd4c7 (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/catapult_dct2000.h')
-rw-r--r--wiretap/catapult_dct2000.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/wiretap/catapult_dct2000.h b/wiretap/catapult_dct2000.h
new file mode 100644
index 0000000000..13c93a40db
--- /dev/null
+++ b/wiretap/catapult_dct2000.h
@@ -0,0 +1,29 @@
+/* catapult_dct2000.h
+*
+* $Id: k12.h 14682 2005-06-17 17:26:43Z lego $
+*
+* Wiretap Library
+* Copyright (c) 1998 by Gilbert Ramirez <gram@alumni.rice.edu>
+*
+* This program is free software; you can redistribute it and/or
+* modify it under the terms of the GNU General Public License
+* as published by the Free Software Foundation; either version 2
+* of the License, or (at your option) any later version.
+*
+* This program is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+* GNU General Public License for more details.
+*
+* You should have received a copy of the GNU General Public License
+* along with this program; if not, write to the Free Software
+* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+*/
+
+int catapult_dct2000_open(wtap *wth, int *err, gchar **err_info);
+gboolean catapult_dct2000_dump_open(wtap_dumper *wdh, gboolean cant_seek, int *err);
+int catapult_dct2000_dump_can_write_encap(int encap);
+
+#define DCT2000_ENCAP_UNHANDLED 0
+#define DCT2000_ENCAP_SSCOP 101
+#define DCT2000_ENCAP_MTP2 102