suricata
app-layer-expectation.c File Reference
#include "queue.h"
#include "suricata-common.h"
#include "ippair-storage.h"
#include "flow-storage.h"
#include "app-layer-expectation.h"
#include "util-print.h"
Include dependency graph for app-layer-expectation.c:

Go to the source code of this file.

Data Structures

struct  Expectation_
 
struct  ExpectationData_
 
struct  ExpectationList_
 

Macros

#define EXPECTATION_TIMEOUT   30
 
#define EXPECTATION_MAX_LEVEL   10
 

Typedefs

typedef struct Expectation_ Expectation
 
typedef struct ExpectationData_ ExpectationData
 
typedef struct ExpectationList_ ExpectationList
 

Functions

 SC_ATOMIC_DECLARE (uint32_t, expectation_count)
 
uint64_t ExpectationGetCounter (void)
 
void AppLayerExpectationSetup (void)
 
int AppLayerExpectationCreate (Flow *f, int direction, Port src, Port dst, AppProto alproto, void *data)
 
FlowStorageId AppLayerExpectationGetFlowId (void)
 
AppProto AppLayerExpectationHandle (Flow *f, uint8_t flags)
 
void AppLayerExpectationClean (Flow *f)
 

Detailed Description

Author
Eric Leblond eric@.nosp@m.regi.nosp@m.t.org

Definition in file app-layer-expectation.c.