diff --git a/src/app-layer.c b/src/app-layer.c index 79906702fc..62c43edd73 100644 --- a/src/app-layer.c +++ b/src/app-layer.c @@ -32,7 +32,9 @@ #include "flow.h" #include "util-debug.h" +#include "util-print.h" +//#define PRINT extern uint8_t engine_mode; /** \brief Get the active app layer proto from the packet @@ -102,8 +104,6 @@ void *AppLayerGetProtoStateFromFlow(Flow *f) { /** global app layer detection context */ extern AlpProtoDetectCtx alp_proto_ctx; -//#define PRINT - /** * \brief Handle a chunk of TCP data * @@ -310,6 +310,7 @@ int AppLayerHandleTCPMsg(AlpProtoDetectThreadCtx *dp_ctx, StreamMsg *smsg) SCReturnInt(0); } +#if 0 /** * \brief Handle a app layer TCP message * @@ -466,6 +467,7 @@ int AppLayerHandleMsg(AlpProtoDetectThreadCtx *dp_ctx, StreamMsg *smsg) SCReturnInt(r); } +#endif /** * \brief Handle a app layer UDP message diff --git a/src/app-layer.h b/src/app-layer.h index a1ac8b6945..66c9f989ae 100644 --- a/src/app-layer.h +++ b/src/app-layer.h @@ -40,7 +40,7 @@ void *AppLayerGetProtoStateFromPacket(Packet *); void *AppLayerGetProtoStateFromFlow(Flow *); int AppLayerHandleTCPData(AlpProtoDetectThreadCtx *, Flow *, TcpSession *, uint8_t *, uint32_t, uint8_t); int AppLayerHandleTCPMsg(AlpProtoDetectThreadCtx *, StreamMsg *); -int AppLayerHandleMsg(AlpProtoDetectThreadCtx *, StreamMsg *); +//int AppLayerHandleMsg(AlpProtoDetectThreadCtx *, StreamMsg *); int AppLayerHandleUdp(AlpProtoDetectThreadCtx *, Flow *, Packet *p); #endif /* __APP_LAYER_H__ */