aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-dis-pdus.h
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-06-02 06:37:21 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-06-02 06:37:21 +0000
commit38638f9fb154d5eb4d00435bee9ec0ab726f83cb (patch)
treecf9ec7d214ebb3d77aca28b1d810ba26d4bd8294 /epan/dissectors/packet-dis-pdus.h
parentab57f8da5db6f18a69a87b69c84433bc911e3b3a (diff)
From Matt Deckard:
Add support for the DIS protocol dissector to more fully interpret the PDU types "Data Query", "Data", and "Set Data". It should interpret the originating and receiving entity IDs, request ID, number of fixed and variable datum fields, and the ID and values of each datum field in the PDU. svn path=/trunk/; revision=28583
Diffstat (limited to 'epan/dissectors/packet-dis-pdus.h')
-rw-r--r--epan/dissectors/packet-dis-pdus.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dis-pdus.h b/epan/dissectors/packet-dis-pdus.h
index 553521c41e..b3f6eda0c9 100644
--- a/epan/dissectors/packet-dis-pdus.h
+++ b/epan/dissectors/packet-dis-pdus.h
@@ -35,6 +35,39 @@ extern DIS_ParserNode DIS_PARSER_FIRE_PDU[];
extern DIS_ParserNode DIS_PARSER_DETONATION_PDU[];
+extern DIS_ParserNode DIS_PARSER_DATA_PDU[];
+
+extern DIS_ParserNode DIS_PARSER_DATA_QUERY_PDU[];
+
+/* Limits of integral types. */
+#ifndef INT8_MIN
+#define INT8_MIN (-128)
+#endif
+#ifndef INT16_MIN
+#define INT16_MIN (-32767-1)
+#endif
+#ifndef INT32_MIN
+#define INT32_MIN (-2147483647-1)
+#endif
+#ifndef INT8_MAX
+#define INT8_MAX (127)
+#endif
+#ifndef INT16_MAX
+#define INT16_MAX (32767)
+#endif
+#ifndef INT32_MAX
+#define INT32_MAX (2147483647)
+#endif
+#ifndef UINT8_MAX
+#define UINT8_MAX (255U)
+#endif
+#ifndef UINT16_MAX
+#define UINT16_MAX (65535U)
+#endif
+#ifndef UINT32_MAX
+#define UINT32_MAX (4294967295U)
+#endif
+
DIS_ParserNode *createSubtree(DIS_ParserNode parserNodes[], gint *ettVar);
void initializeParser(DIS_ParserNode parserNodes[]);