aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cip.h
diff options
context:
space:
mode:
authorDylan Ulis <daulis0@gmail.com>2018-04-27 12:20:27 -0400
committerAnders Broman <a.broman58@gmail.com>2018-05-04 06:54:18 +0000
commitae6afe416b07771234334334eecb0feadaaab52f (patch)
treed70d61627ec051fd145f74abb45ab6080f031131 /epan/dissectors/packet-cip.h
parent087cb7d7aa67538c0d9d0e8a68df61013fe04e30 (diff)
CIP Motion: Attribute Support
1. Add attribute table similar to the other CIP related dissectors. Currently, this just adds 2 attributes. More will come in separate reviews. (Still clarifying some information in the Spec) 2. Minor wording updates to match spec Change-Id: I667b8e465d576020471c8e7fc10b43e25ea573dd Reviewed-on: https://code.wireshark.org/review/27180 Petri-Dish: Anders Broman <a.broman58@gmail.com> Petri-Dish: Jim Young <jim.young.ws@gmail.com> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-cip.h')
-rw-r--r--epan/dissectors/packet-cip.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/epan/dissectors/packet-cip.h b/epan/dissectors/packet-cip.h
index bf249d89de..b22b70cf4b 100644
--- a/epan/dissectors/packet-cip.h
+++ b/epan/dissectors/packet-cip.h
@@ -439,6 +439,8 @@ enum cip_datatype {
typedef int attribute_dissector_func(packet_info *pinfo, proto_tree *tree, proto_item *item, tvbuff_t *tvb,
int offset, int total_len);
+#define CIP_ATTR_CLASS (TRUE)
+#define CIP_ATTR_INSTANCE (FALSE)
typedef struct attribute_info {
guint class_id;
gboolean class_instance;