19#include "packet-cip.h"
22#define DLR_CFH_SUB_TYPE 0
23#define DLR_CFH_PROTO_VERSION 1
28#define DLR_MPF_FRAME_TYPE 2
29#define DLR_MPF_SOURCE_PORT 3
30#define DLR_MPF_SOURCE_IP 4
31#define DLR_MPF_SEQUENCE_ID 8
34#define DLR_BE_RING_STATE 12
35#define DLR_BE_SUPERVISOR_PRECEDENCE 13
36#define DLR_BE_BEACON_INTERVAL 14
37#define DLR_BE_BEACON_TIMEOUT 18
38#define DLR_BE_RESERVED 22
41#define DLR_NREQ_RESERVED 12
44#define DLR_NRES_SOURCE_PORT 12
45#define DLR_NRES_RESERVED 13
48#define DLR_LNS_SOURCE_PORT 12
49#define DLR_LNS_RESERVED 13
52#define DLR_LF_RESERVED 12
55#define DLR_AN_RING_STATE 12
56#define DLR_AN_RESERVED 13
59#define DLR_SO_NUM_NODES 12
60#define DLR_SO_NODE_1_MAC 14
63#define DLR_ADV_GATEWAY_STATE 12
64#define DLR_ADV_GATEWAY_PRECEDENCE 13
65#define DLR_ADV_ADVERTISE_INTERVAL 14
66#define DLR_ADV_ADVERTISE_TIMEOUT 18
67#define DLR_ADV_LEARNING_UPDATE_ENABLE 22
68#define DLR_ADV_RESERVED 23
71#define DLR_FLUSH_LEARNING_UPDATE_ENABLE 12
72#define DLR_FLUSH_RESERVED 13
75#define DLR_LEARN_RESERVED 12
78#define DLR_FT_BEACON 1
79#define DLR_FT_NEIGHBOR_REQ 2
80#define DLR_FT_NEIGHBOR_RES 3
81#define DLR_FT_LINK_STAT 4
82#define DLR_FT_LOCATE_FLT 5
83#define DLR_FT_ANNOUNCE 6
84#define DLR_FT_SIGN_ON 7
85#define DLR_FT_ADVERTISE 8
86#define DLR_FT_FLUSH_TABLES 9
87#define DLR_FT_LEARNING_UPDATE 10
91 uint32_t req_num, rep_num;
97enum enip_connid_type {ECIDT_UNKNOWN, ECIDT_O2T, ECIDT_T2O};
101 enum enip_connid_type connid_type;
105#define ENIP_REQUEST_INFO 0
106#define ENIP_CONNECTION_INFO 1
115 tvbuff_t *tvb,
int offset,
int total_len);
117 tvbuff_t *tvb,
int offset,
int total_len);
119 tvbuff_t *tvb,
int offset,
bool request);
Definition packet_info.h:43
Definition value_string.h:25
Definition packet-cip.h:472
Definition packet-cip.h:547
Definition packet-cip.h:520
Definition packet-cip.h:577
Definition packet-cip.h:487
Definition packet-enip.h:90
Definition tvbuff-int.h:35