Fix flags mixup issue in the app layer.

remotes/origin/master-1.0.x
Victor Julien 16 years ago
parent ba12f3c109
commit b60d2c4345

@ -202,11 +202,12 @@ typedef struct Flow_
/** Flow Application Level flags */
#define FLOW_AL_PROTO_UNKNOWN 0x01
#define FLOW_AL_PROTO_DETECT_DONE 0x02
#define FLOW_AL_STREAM_TOSERVER 0x04
#define FLOW_AL_STREAM_TOCLIENT 0x08
#define FLOW_AL_STREAM_GAP 0x10
#define FLOW_AL_STREAM_EOF 0x20
#define FLOW_AL_NO_APPLAYER_INSPECTION 0x40 /** \todo move to flow flags later */
#define FLOW_AL_NO_APPLAYER_INSPECTION 0x04 /** \todo move to flow flags later */
#define FLOW_AL_STREAM_START 0x08
#define FLOW_AL_STREAM_EOF 0x10
#define FLOW_AL_STREAM_TOSERVER 0x20
#define FLOW_AL_STREAM_TOCLIENT 0x40
#define FLOW_AL_STREAM_GAP 0x80
enum {
FLOW_STATE_NEW = 0,

@ -26,11 +26,11 @@
#include "flow.h"
#define STREAM_START 0x01
#define STREAM_EOF 0x02
#define STREAM_TOSERVER 0x04
#define STREAM_TOCLIENT 0x08
#define STREAM_GAP 0x10
#define STREAM_START FLOW_AL_STREAM_START
#define STREAM_EOF FLOW_AL_STREAM_EOF
#define STREAM_TOSERVER FLOW_AL_STREAM_TOSERVER
#define STREAM_TOCLIENT FLOW_AL_STREAM_TOCLIENT
#define STREAM_GAP FLOW_AL_STREAM_GAP
/** size of the data chunks sent to the app layer parser. */
#define MSG_DATA_SIZE 2048

Loading…
Cancel
Save