Main Page | Modules | Class List | Directories | File List | Class Members | File Members | Related Pages

stream.h File Reference

#include "snort_packet_header.h"
#include "ubi_SplayTree.h"

Go to the source code of this file.

Defines

#define USE_HASH_TABLE
#define MAX_SESSION_ALERTS   8
#define SSNFLAG_SEEN_CLIENT   0x00000001
#define SSNFLAG_SEEN_SERVER   0x00000002
#define SSNFLAG_ESTABLISHED   0x00000004
#define SSNFLAG_NMAP   0x00000008
#define SSNFLAG_ECN_CLIENT_QUERY   0x00000010
#define SSNFLAG_ECN_SERVER_REPLY   0x00000020
#define SSNFLAG_HTTP_1_1   0x00000040
#define SSNFLAG_SEEN_PMATCH   0x00000080
#define SSNFLAG_MIDSTREAM   0x00000100
#define SSNFLAG_CLIENT_FIN   0x00000200
#define SSNFLAG_SERVER_FIN   0x00000400
#define SSNFLAG_ALL   0xFFFFFFFF
#define SSNPREPROC_HTTP   0x01
#define SSNPREPROC_TELNET   0x02
#define SSNPREPROC_FTP   0x03
#define SSNPREPROC_SMTP   0x04
#define SEG_UNASSEMBLED   0x00
#define SEG_FULL   0x01
#define SEG_PARTIAL   0x02

Typedefs

typedef _Stream Stream
typedef _SessionHashKey SessionHashKey
typedef _Session Session
typedef _StreamPacketData StreamPacketData
typedef _Stream4Data Stream4Data


Define Documentation

#define MAX_SESSION_ALERTS   8
 

Definition at line 14 of file stream.h.

Referenced by fpAddSessionAlert().

#define SEG_FULL   0x01
 

Definition at line 120 of file stream.h.

Referenced by SegmentCleanTraverse(), and TraverseFunc().

#define SEG_PARTIAL   0x02
 

Definition at line 121 of file stream.h.

Referenced by TraverseFunc().

#define SEG_UNASSEMBLED   0x00
 

Definition at line 119 of file stream.h.

Referenced by LogTcpdumpStream(), OldUnifiedLogPacketAlert(), and RealUnifiedLogStreamAlert().

#define SSNFLAG_ALL   0xFFFFFFFF
 

Definition at line 30 of file stream.h.

#define SSNFLAG_CLIENT_FIN   0x00000200
 

Definition at line 27 of file stream.h.

Referenced by SetFinSent(), TcpAction(), and TcpActionAsync().

#define SSNFLAG_ECN_CLIENT_QUERY   0x00000010
 

Definition at line 21 of file stream.h.

Referenced by CreateNewSession(), and UpdateState2().

#define SSNFLAG_ECN_SERVER_REPLY   0x00000020
 

Definition at line 22 of file stream.h.

Referenced by UpdateState2().

#define SSNFLAG_ESTABLISHED   0x00000004
 

Definition at line 19 of file stream.h.

Referenced by GetDirection(), parse_one_v1(), ReassembleStream4(), StoreStreamPkt(), TcpAction(), and UpdateStateAsync().

#define SSNFLAG_HTTP_1_1   0x00000040
 

Definition at line 23 of file stream.h.

#define SSNFLAG_MIDSTREAM   0x00000100
 

Definition at line 26 of file stream.h.

Referenced by DropAction(), fpEvalOTN(), parse_one_v1(), ps_tracker_update_tcp(), ReassembleStream4(), SetSiInput(), TcpAction(), and WithinSessionLimits().

#define SSNFLAG_NMAP   0x00000008
 

Definition at line 20 of file stream.h.

Referenced by CreateNewSession().

#define SSNFLAG_SEEN_CLIENT   0x00000001
 

Definition at line 17 of file stream.h.

Referenced by CreateNewSession(), parse_one_v1(), ps_tracker_update_tcp(), ReassembleStream4(), ResetFlowbits(), UpdateState2(), and UpdateStateAsync().

#define SSNFLAG_SEEN_PMATCH   0x00000080
 

Definition at line 24 of file stream.h.

#define SSNFLAG_SEEN_SERVER   0x00000002
 

Definition at line 18 of file stream.h.

Referenced by CreateNewSession(), parse_one_v1(), ps_tracker_update_tcp(), ReassembleStream4(), ResetFlowbits(), UpdateState2(), and UpdateStateAsync().

#define SSNFLAG_SERVER_FIN   0x00000400
 

Definition at line 28 of file stream.h.

Referenced by SetFinSent().

#define SSNPREPROC_FTP   0x03
 

Definition at line 34 of file stream.h.

#define SSNPREPROC_HTTP   0x01
 

Definition at line 32 of file stream.h.

#define SSNPREPROC_SMTP   0x04
 

Definition at line 35 of file stream.h.

#define SSNPREPROC_TELNET   0x02
 

Definition at line 33 of file stream.h.

#define USE_HASH_TABLE
 

Definition at line 10 of file stream.h.


Typedef Documentation

typedef struct _Session Session
 

typedef struct _SessionHashKey SessionHashKey
 

typedef struct _Stream Stream
 

typedef struct _Stream4Data Stream4Data
 

typedef struct _StreamPacketData StreamPacketData
 


Generated on Sun May 14 14:51:26 2006 by  doxygen 1.4.2