aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/asn1/rspro/rspro.cnf
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2019-11-22 11:18:37 +0100
committerHarald Welte <laforge@osmocom.org>2020-09-11 23:26:34 +0200
commit46ee8ccc9834bf91e7f00cfdbf058b1d5c5a25fe (patch)
treedb8c7afd7b019fd6cf1e06a0d7d1c51c368a8857 /epan/dissectors/asn1/rspro/rspro.cnf
parent105fa402841f6e83b13f2e558e73dee2d4a2a713 (diff)
WIP: Osmocom RSPRO dissector support
The Osmocom RSPRO protocol is a protocol for remote SIM card access, i.e. extending the SIM card interface between phone/mdoem (UE) and a remote SIM card reader. The primary user of this protocol is osmo-remsim software suite, which can be found at https://osmocom.org/projects/osmo-remsim/wiki RSPRO is specified in ASN.1 using BER and runs on top of the IPA multiplex (protocol-gsm_ipa.c). Change-Id: Ibcdb2c92281d05c36e3973de4d7ec4aa0cd9b207
Diffstat (limited to 'epan/dissectors/asn1/rspro/rspro.cnf')
-rw-r--r--epan/dissectors/asn1/rspro/rspro.cnf28
1 files changed, 28 insertions, 0 deletions
diff --git a/epan/dissectors/asn1/rspro/rspro.cnf b/epan/dissectors/asn1/rspro/rspro.cnf
new file mode 100644
index 0000000000..60ea648a81
--- /dev/null
+++ b/epan/dissectors/asn1/rspro/rspro.cnf
@@ -0,0 +1,28 @@
+# rspro.cnf
+# rspro conformation file
+# Copyright 2019 Harald Welte
+
+#.OPT
+BER
+#.END
+
+#.MODULE_IMPORT
+
+#.EXPORTS
+
+#.PDU
+RsproPDU
+
+#.NO_EMIT
+
+#.TYPE_RENAME
+
+#.FIELD_RENAME
+
+#.FN_HDR RsproPDUchoice
+ gint choice_index;
+#.FN_BODY RsproPDUchoice VAL_PTR = &choice_index
+ %(DEFAULT_BODY)s
+ col_append_str(actx->pinfo->cinfo, COL_INFO, val_to_str(choice_index, rspro_RsproPDUchoice_vals, "Unknown (%%u)"));
+
+#.END