suricata
detect-tag.h File Reference
#include "suricata-common.h"
Include dependency graph for detect-tag.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DetectTagData_
 
struct  DetectTagDataEntry_
 

Macros

#define DETECT_TAG_MATCH_LIMIT   10
 
#define DETECT_TAG_MAX_TAGS   50
 
#define DETECT_TAG_MAX_PKTS   256
 
#define TAG_ENTRY_FLAG_DIR_SRC   0x01
 
#define TAG_ENTRY_FLAG_DIR_DST   0x02
 
#define TAG_ENTRY_FLAG_SKIPPED_FIRST   0x04
 

Typedefs

typedef struct DetectTagData_ DetectTagData
 
typedef struct DetectTagDataEntry_ DetectTagDataEntry
 

Enumerations

enum  { DETECT_TAG_TYPE_SESSION, DETECT_TAG_TYPE_HOST, DETECT_TAG_TYPE_MAX }
 
enum  { DETECT_TAG_DIR_SRC, DETECT_TAG_DIR_DST }
 
enum  { DETECT_TAG_METRIC_PACKET, DETECT_TAG_METRIC_SECONDS, DETECT_TAG_METRIC_BYTES }
 

Functions

void DetectTagRegister (void)
 Registration function for keyword tag. More...
 
void DetectTagDataFree (struct DetectEngineCtx_ *, void *ptr)
 this function will free memory associated with DetectTagData More...
 
void DetectTagDataListFree (void *ptr)
 this function will free all the entries of a list DetectTagDataEntry More...
 

Detailed Description