stream: remove flags from StreamMsg

pull/759/head
Victor Julien 13 years ago
parent 261881fce2
commit c801ef3515

@ -1766,19 +1766,7 @@ static void StreamTcpSetupMsg(TcpSession *ssn, TcpStream *stream, Packet *p,
StreamMsg *smsg)
{
SCEnter();
smsg->flags = 0;
if (stream->ra_raw_base_seq == stream->isn) {
SCLogDebug("setting STREAM_START");
smsg->flags = STREAM_START;
}
if (stream->flags & STREAMTCP_STREAM_FLAG_CLOSE_INITIATED) {
SCLogDebug("setting STREAM_EOF");
smsg->flags |= STREAM_EOF;
}
smsg->data_len = 0;
SCLogDebug("smsg %p", smsg);
SCReturn;
}

@ -37,8 +37,6 @@
#define MSG_DATA_SIZE 4024 /* 4096 - 72 (size of rest of the struct) */
typedef struct StreamMsg_ {
uint8_t flags; /**< msg flags */
struct StreamMsg_ *next;
struct StreamMsg_ *prev;

Loading…
Cancel
Save