aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cdt.h
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-11-23 07:32:24 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-11-23 07:32:24 +0000
commitff662478889c97fb1013da8e7a76020ee65ec3d7 (patch)
treef2505c719dc7f5b2fc2a351084224dd3c8cad435 /epan/dissectors/packet-cdt.h
parent59a7f595b4a9a4307be6749d17616375ac7aa377 (diff)
From Stig Bjørlykke
Added a new dissector for CDT (CompressedDataType) as defined in STANAG 4406 Annex E. This dissector is used in P_Mul to decode encapsulated X.411 content. I have added a function in the X.411 dissector to decode a MTS APDU without having a ROS Changes in this patch: * Added CDT dissector * Use CDT dissector in P_Mul * Added function to decode MTS APDU in the X.411 dissector svn path=/trunk/; revision=16566
Diffstat (limited to 'epan/dissectors/packet-cdt.h')
-rw-r--r--epan/dissectors/packet-cdt.h48
1 files changed, 48 insertions, 0 deletions
diff --git a/epan/dissectors/packet-cdt.h b/epan/dissectors/packet-cdt.h
new file mode 100644
index 0000000000..5c5a724ac9
--- /dev/null
+++ b/epan/dissectors/packet-cdt.h
@@ -0,0 +1,48 @@
+/* Do not modify this file. */
+/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
+/* .\packet-cdt.h */
+/* ../../tools/asn2eth.py -X -b -e -p cdt -c cdt.cnf -s packet-cdt-template cdt.asn */
+
+/* Input file: packet-cdt-template.h */
+
+/* packet-cdt.h
+ *
+ * Routines for Compressed Data Type packet dissection.
+ *
+ * Copyright 2005, Stig Bj>rlykke <stig@bjorlykke.org>, Thales Norway AS
+ *
+ * $Id$
+ *
+ * Ethereal - Network traffic analyzer
+ * By Gerald Combs <gerald@ethereal.com>
+ * Copyright 1998 Gerald Combs
+ *
+ * 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.
+ */
+
+#ifndef PACKET_CDT_H
+#define PACKET_CDT_H
+
+void dissect_cdt (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree);
+
+/*--- Included file: packet-cdt-exp.h ---*/
+
+int dissect_cdt_CompressedData(gboolean implicit_tag, tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, int hf_index);
+
+/*--- End of included file: packet-cdt-exp.h ---*/
+
+
+#endif /* PACKET_CDT_H */
+