From: Victor Julien Date: Wed, 27 Jul 2022 14:04:17 +0000 (+0200) Subject: detect/cip: remove dead code X-Git-Tag: suricata-7.0.0-beta1~374 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad76502df0788d8f8c30b6a5cf6a9a88816a3f62;p=thirdparty%2Fsuricata.git detect/cip: remove dead code --- diff --git a/src/detect-cipservice.h b/src/detect-cipservice.h index 93869297ed..0f98b6ba55 100644 --- a/src/detect-cipservice.h +++ b/src/detect-cipservice.h @@ -26,8 +26,6 @@ #include "app-layer-enip-common.h" -#define ENIP_PORT 44818 //standard EtherNet/IP port - /** * CIP Service rule data structure */ @@ -72,20 +70,4 @@ typedef struct CIPServiceData_ struct CIPServiceData* next; } CIPServiceData; -/** - * ENIP data structure - */ -typedef struct ENIPData_ -{ - int direction; - ENIPEncapHdr header; //encapsulation header - ENIPEncapDataHdr encap_data_header; //encapsulation data header - ENIPEncapAddresItem encap_addr_item; //encapsulated address item - ENIPEncapDataItem encap_data_item; //encapsulated data item - - CIPServiceData* service_head; //head of cip service data list - CIPServiceData* service_tail; //tail of cip service data list - -} ENIPData; - #endif /* _DETECT_CIPSERVICE_H */