Wireshark  4.3.0
The Wireshark network protocol analyzer
packet-bacapp.h
1 /* packet-bacapp.h
2  * by fkraemer, SAUTER
3  *
4  * Wireshark - Network traffic analyzer
5  * By Gerald Combs <gerald@wireshark.org>
6  * Copyright 1998 Gerald Combs
7  *
8  * SPDX-License-Identifier: GPL-2.0-or-later
9  */
10 
11 #ifndef __PACKET_BACAPP_H__
12 #define __PACKET_BACAPP_H__
13 
14 #define BACINFO_SERVICE 0
15 #define BACINFO_INVOKEID 1
16 #define BACINFO_INSTANCEID 2
17 #define BACINFO_OBJECTID 4
18 
19 
20 /* Used for BACnet statistics */
21 typedef struct _bacapp_info_value_t {
22  const gchar *service_type;
23  const gchar *invoke_id;
24  const gchar *instance_ident;
25  const gchar *object_ident;
27 
28 /* Possible datatypes of the present_value property.
29  Follows the order of Application Tag Number. */
30 typedef enum BacappPresentValueType {
31  BACAPP_PRESENT_VALUE_NULL,
32  BACAPP_PRESENT_VALUE_BOOL,
33  BACAPP_PRESENT_VALUE_UNSIGNED,
34  BACAPP_PRESENT_VALUE_SIGNED,
35  BACAPP_PRESENT_VALUE_REAL,
36  BACAPP_PRESENT_VALUE_DOUBLE,
37  BACAPP_PRESENT_VALUE_OCTET_STRING,
38  BACAPP_PRESENT_VALUE_CHARACTER_STRING,
39  BACAPP_PRESENT_VALUE_BIT_STRING,
40  BACAPP_PRESENT_VALUE_ENUM,
41  BACAPP_PRESENT_VALUE_DATE,
42  BACAPP_PRESENT_VALUE_TIME,
43  BACAPP_PRESENT_VALUE_OBJECT_IDENTIFIER
44 } BacappPresentValueType;
45 
46 #endif /* __PACKET_BACNET_H__ */
47 
48 /*
49  * Editor modelines - https://www.wireshark.org/tools/modelines.html
50  *
51  * Local variables:
52  * c-basic-offset: 4
53  * tab-width: 8
54  * indent-tabs-mode: nil
55  * End:
56  *
57  * vi: set shiftwidth=4 tabstop=8 expandtab:
58  * :indentSize=4:tabSize=8:noTabs=true:
59  */
Definition: packet-bacapp.h:21