suricata
detect-tcp-session.h File Reference

tcp.session: keyword (Redmine #7704). More...

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

Go to the source code of this file.

Data Structures

struct  DetectTcpSessionData_
 

Macros

#define DETECT_TCP_SESSION_PHASE_SETUP   BIT_U8(0)
 
#define DETECT_TCP_SESSION_PHASE_ESTABLISHED   BIT_U8(1)
 
#define DETECT_TCP_SESSION_PHASE_CLOSING   BIT_U8(2)
 

Typedefs

typedef struct DetectTcpSessionData_ DetectTcpSessionData
 

Functions

void DetectTcpSessionRegister (void)
 

Detailed Description

tcp.session: keyword (Redmine #7704).

Definition in file detect-tcp-session.h.

Macro Definition Documentation

◆ DETECT_TCP_SESSION_PHASE_CLOSING

#define DETECT_TCP_SESSION_PHASE_CLOSING   BIT_U8(2)

Definition at line 32 of file detect-tcp-session.h.

◆ DETECT_TCP_SESSION_PHASE_ESTABLISHED

#define DETECT_TCP_SESSION_PHASE_ESTABLISHED   BIT_U8(1)

Definition at line 31 of file detect-tcp-session.h.

◆ DETECT_TCP_SESSION_PHASE_SETUP

#define DETECT_TCP_SESSION_PHASE_SETUP   BIT_U8(0)

Definition at line 30 of file detect-tcp-session.h.

Typedef Documentation

◆ DetectTcpSessionData

Function Documentation

◆ DetectTcpSessionRegister()

void DetectTcpSessionRegister ( void  )

Registration function for the tcp.session: keyword.

Definition at line 223 of file detect-tcp-session.c.

References SigTableElmt_::desc, DETECT_TCP_SESSION, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.

Referenced by SigTableSetup().

Here is the caller graph for this function: