aboutsummaryrefslogtreecommitdiffstats
path: root/asn1/x411
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2005-11-23 07:29:45 +0000
committerAnders Broman <anders.broman@ericsson.com>2005-11-23 07:29:45 +0000
commit59a7f595b4a9a4307be6749d17616375ac7aa377 (patch)
tree96c21f8ab95f7737ae4abcab1c642d87b530365c /asn1/x411
parent704e12625318ce9cc26ca7155d249f53fc5ed077 (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=16565
Diffstat (limited to 'asn1/x411')
-rw-r--r--asn1/x411/packet-x411-template.c8
-rw-r--r--asn1/x411/packet-x411-template.h1
2 files changed, 9 insertions, 0 deletions
diff --git a/asn1/x411/packet-x411-template.c b/asn1/x411/packet-x411-template.c
index 5a04f137c0..9ae134a121 100644
--- a/asn1/x411/packet-x411-template.c
+++ b/asn1/x411/packet-x411-template.c
@@ -95,6 +95,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
diff --git a/asn1/x411/packet-x411-template.h b/asn1/x411/packet-x411-template.h
index fac444ddbe..50efaeb61d 100644
--- a/asn1/x411/packet-x411-template.h
+++ b/asn1/x411/packet-x411-template.h
@@ -26,6 +26,7 @@
#ifndef PACKET_X411_H
#define PACKET_X411_H
+int dissect_x411_mts_apdu (tvbuff_t *tvb, packet_info *pinfo, proto_tree *parent_tree);
#include "packet-x411-exp.h"
#endif /* PACKET_X411_H */