aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-cip.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-03-13 15:20:49 -0400
committerAnders Broman <a.broman58@gmail.com>2017-03-16 05:51:04 +0000
commit618ca466aae3637d641a6e3101b62f1e552a7ee1 (patch)
treea44c0e785a74b93af75e9a5763c40d5701d60cbe /epan/dissectors/packet-cip.h
parent05b61a21a209f43de2926b808ed3bc151aa1991e (diff)
Add support for verifying CIP Safety CRC values.
Change-Id: I44f7ff6980f27b1a0d4199a91f9b217aec7e4652 Reviewed-on: https://code.wireshark.org/review/20557 Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-cip.h')
-rw-r--r--epan/dissectors/packet-cip.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/dissectors/packet-cip.h b/epan/dissectors/packet-cip.h
index 37aa723dff..3c18d72366 100644
--- a/epan/dissectors/packet-cip.h
+++ b/epan/dissectors/packet-cip.h
@@ -298,6 +298,11 @@ enum cip_safety_format_type {CIP_SAFETY_BASE_FORMAT, CIP_SAFETY_EXTENDED_FORMAT}
typedef struct cip_safety_epath_info {
gboolean safety_seg;
enum cip_safety_format_type format;
+ guint16 running_rollover_value; /* Keep track of the rollover value over the course of the connection */
+ guint16 running_timestamp_value; /* Keep track of the timestamp value over the course of the connection */
+ guint16 target_conn_sn;
+ guint16 target_vendorID;
+ guint32 target_device_sn;
} cip_safety_epath_info_t;
typedef struct cip_conn_info {