Go to the documentation of this file.
45 SCLogDebug(
"============================================");
46 SCLogDebug(
"ENCAP HEADER cmd 0x%x, length %d, session 0x%x, status 0x%x",
50 SCLogDebug(
"ENCAP DATA HEADER handle 0x%x, timeout %d, count %d",
54 SCLogDebug(
"ENCAP ADDR ITEM type 0x%x, length %d",
56 SCLogDebug(
"ENCAP DATA ITEM type 0x%x, length %d sequence 0x%x",
91 if (cipserviced->
tokens == 2)
104 if ((cipserviced->
tokens == 3) &&
111 if ((cipserviced->
tokens == 3) &&
122 if (cipserviced->
tokens == 2)
138 if (found_class == 0)
175 SCLogDebug(
"CIPServiceMatchAL service #%d : 0x%x dir %d",
182 if (cipserviced->
tokens > 1)
191 if (CIPPathMatch(svc, cipserviced) == 1)
227 uint8_t
flags,
void *alstate,
void *txv, uint64_t tx_id)
235 if (cipserviced == NULL)
242 if (CIPServiceMatch(tx, cipserviced) == 1)
266 uint8_t
flags,
void *alstate,
void *txv, uint64_t tx_id)
273 if (enipcmdd == NULL)
#define PATH_INSTANCE_16BIT
ENIPEncapDataHdr encap_data_header
#define CIP_SET_ATTR_SINGLE
struct HtpBodyChunk_ * next
main detection engine ctx
#define PATH_INSTANCE_8BIT
#define TAILQ_FOREACH(var, head, field)
#define CIP_GET_ATTR_SINGLE
ENIPEncapDataItem encap_data_item
uint32_t interface_handle
uint8_t DetectEngineInspectCIP(DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, const struct DetectEngineAppInspectionEngine_ *engine, const Signature *s, Flow *f, uint8_t flags, void *alstate, void *txv, uint64_t tx_id)
Do the content inspection & validation for a signature.
uint8_t DetectEngineInspectENIP(DetectEngineCtx *de_ctx, DetectEngineThreadCtx *det_ctx, const struct DetectEngineAppInspectionEngine_ *engine, const Signature *s, Flow *f, uint8_t flags, void *alstate, void *txv, uint64_t tx_id)
Do the content inspection & validation for a signature.
#define CIP_SET_ATTR_LIST
#define CIP_GET_ATTR_LIST
ENIPEncapAddressItem encap_addr_item