summaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-bacapp.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:34:10 +0000
commite4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc (patch)
tree68cb5ef9081156392f1dd62a00c6ccc1451b93df /epan/dissectors/packet-bacapp.h
parentInitial commit. (diff)
downloadwireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.tar.xz
wireshark-e4ba6dbc3f1e76890b22773807ea37fe8fa2b1bc.zip
Adding upstream version 4.2.2.upstream/4.2.2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'epan/dissectors/packet-bacapp.h')
-rw-r--r--epan/dissectors/packet-bacapp.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/epan/dissectors/packet-bacapp.h b/epan/dissectors/packet-bacapp.h
new file mode 100644
index 00000000..0c7dcfd8
--- /dev/null
+++ b/epan/dissectors/packet-bacapp.h
@@ -0,0 +1,59 @@
+/* packet-bacapp.h
+ * by fkraemer, SAUTER
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * SPDX-License-Identifier: GPL-2.0-or-later
+ */
+
+#ifndef __PACKET_BACAPP_H__
+#define __PACKET_BACAPP_H__
+
+#define BACINFO_SERVICE 0
+#define BACINFO_INVOKEID 1
+#define BACINFO_INSTANCEID 2
+#define BACINFO_OBJECTID 4
+
+
+/* Used for BACnet statistics */
+typedef struct _bacapp_info_value_t {
+ const gchar *service_type;
+ const gchar *invoke_id;
+ const gchar *instance_ident;
+ const gchar *object_ident;
+} bacapp_info_value_t;
+
+/* Possible datatypes of the present_value property.
+ Follows the order of Application Tag Number. */
+typedef enum BacappPresentValueType {
+ BACAPP_PRESENT_VALUE_NULL,
+ BACAPP_PRESENT_VALUE_BOOL,
+ BACAPP_PRESENT_VALUE_UNSIGNED,
+ BACAPP_PRESENT_VALUE_SIGNED,
+ BACAPP_PRESENT_VALUE_REAL,
+ BACAPP_PRESENT_VALUE_DOUBLE,
+ BACAPP_PRESENT_VALUE_OCTET_STRING,
+ BACAPP_PRESENT_VALUE_CHARACTER_STRING,
+ BACAPP_PRESENT_VALUE_BIT_STRING,
+ BACAPP_PRESENT_VALUE_ENUM,
+ BACAPP_PRESENT_VALUE_DATE,
+ BACAPP_PRESENT_VALUE_TIME,
+ BACAPP_PRESENT_VALUE_OBJECT_IDENTIFIER
+} BacappPresentValueType;
+
+#endif /* __PACKET_BACNET_H__ */
+
+/*
+ * Editor modelines - https://www.wireshark.org/tools/modelines.html
+ *
+ * Local variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * vi: set shiftwidth=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */