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;
}
#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;