aboutsummaryrefslogtreecommitdiffstats
path: root/epan/exported_pdu.h
diff options
context:
space:
mode:
authorAndersBroman <anders.broman@ericsson.com>2016-03-29 17:59:27 +0200
committerAnders Broman <a.broman58@gmail.com>2016-03-29 21:25:39 +0000
commit7b406ea3ea4667eb06437954d388125983135835 (patch)
tree925bd86821703eb1e2291cf489dc638728724335 /epan/exported_pdu.h
parent6128ca02ebea4c49ed379c5c6007dab7439367a1 (diff)
[Exported PDU] Add the abillity to use dissector tables from the file.
Change-Id: I51ac8ce56641cf6eeda18c2a3f6d6952d3126415 Reviewed-on: https://code.wireshark.org/review/14693 Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/exported_pdu.h')
-rw-r--r--epan/exported_pdu.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/epan/exported_pdu.h b/epan/exported_pdu.h
index 087c91ec8a..0fb19d41e7 100644
--- a/epan/exported_pdu.h
+++ b/epan/exported_pdu.h
@@ -93,6 +93,12 @@ WS_DLL_PUBLIC GSList *get_export_pdu_tap_list(void);
* during registration, e.g "sip_udp"
* Will be used to call the next dissector.
*/
+#define EXP_PDU_TAG_DISSECTOR_TABLE_NAME 14 /**< The value part should be an ASCII non NULL terminated string
+ * containing the dissector table name given
+ * during registration, e.g "gsm_map.v3.arg.opcode"
+ * Will be used to call the next dissector.
+ */
+
/* Add protocol type related tags here.
* NOTE Only one protocol type tag may be present in a packet, the first one
* found will be used*/
@@ -113,6 +119,13 @@ WS_DLL_PUBLIC GSList *get_export_pdu_tap_list(void);
#define EXP_PDU_TAG_DVBCI_EVT 31
+#define EXP_PDU_TAG_DISSECTOR_TABLE_NAME_NUM_VAL 32 /**< value part is the numeric value to be used calling the dissector table
+ * given with tag EXP_PDU_TAG_DISSECTOR_TABLE_NAME, must follow emediatly after the table tag.
+ */
+
+#define EXP_PDU_TAG_COL_PROT_TEXT 33 /**< Text string to put in COL_PROTOCOL, one use case is in conjunction with dissector tables where
+ * COL_PROTOCOL might not be filled in.
+ */
typedef struct _exp_pdu_data_t {
guint tlv_buffer_len;