aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-x411.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-11-23 07:33:03 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-11-23 07:33:03 +0000
commitcf0d307ef6a6725051d9f64fa58ad1eb9a2e56ee (patch)
tree093a478f92e6c4b9ab5fe5a3b762a27a3e19b7ac /epan/dissectors/packet-x411.c
parentff662478889c97fb1013da8e7a76020ee65ec3d7 (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=16567
Diffstat (limited to 'epan/dissectors/packet-x411.c')
-rw-r--r--epan/dissectors/packet-x411.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/epan/dissectors/packet-x411.c b/epan/dissectors/packet-x411.c
index d833074e83..7c68fbb387 100644
--- a/epan/dissectors/packet-x411.c
+++ b/epan/dissectors/packet-x411.c
@@ -1,6 +1,6 @@
/* Do not modify this file. */
/* It is created automatically by the ASN.1 to Ethereal dissector compiler */
-/* ./packet-x411.c */
+/* .\packet-x411.c */
/* ../../tools/asn2eth.py -X -b -e -p x411 -c x411.cnf -s packet-x411-template x411.asn */
/* Input file: packet-x411-template.c */
@@ -6709,6 +6709,14 @@ call_x411_oid_callback(char *base_oid, tvbuff_t *tvb, int offset, packet_info *p
/*
+ * Dissect X411 MTS APDU
+ */
+int dissect_x411_mts_apdu (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree)
+{
+ return dissect_x411_MTS_APDU (FALSE, tvb, 0, pinfo, parent_tree, hf_x411_MTS_APDU_PDU);
+}
+
+/*
* Dissect X411 PDUs inside a PPDU.
*/
static void