diff options
Diffstat (limited to 'epan/dissectors/packet-cipsafety.h')
-rw-r--r-- | epan/dissectors/packet-cipsafety.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cipsafety.h b/epan/dissectors/packet-cipsafety.h index cc3ad9dd20..f697634b7e 100644 --- a/epan/dissectors/packet-cipsafety.h +++ b/epan/dissectors/packet-cipsafety.h @@ -16,7 +16,7 @@ #include "packet-enip.h" -/* Classes that have class-specfic dissectors */ +/* Classes that have class-specific dissectors */ #define CI_CLS_SAFETY_SUPERVISOR 0x39 /* Safety Supervisor */ #define CI_CLS_SAFETY_VALIDATOR 0x3A /* Safety Validator */ @@ -49,11 +49,14 @@ typedef struct cip_safety_info { extern void dissect_unid(tvbuff_t *tvb, packet_info *pinfo, int offset, proto_item *pi, const char* snn_name, int hf_snn_timestamp, int hf_snn_date, int hf_snn_time, int hf_macid, gint ett, gint ett_snn); extern void dissect_cipsafety_snn(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int offset, int hf_real_datetime, int hf_date, int hf_time); +extern void cip_safety_128us_fmt(gchar *s, guint32 value); +extern void add_safety_data_type_to_info_column(packet_info *pinfo, enum enip_connid_type conn_type, const cip_safety_epath_info_t* safety); /* ** Exported variables */ extern const value_string cipsafety_snn_date_vals[8]; extern attribute_info_t cip_safety_attribute_vals[51]; +extern const range_string safety_max_consumer_numbers[]; #endif /* PACKET_CIPSAFETY_H */ |