suricata
detect-app-layer-protocol.c File Reference
Include dependency graph for detect-app-layer-protocol.c:

Go to the source code of this file.

Data Structures

struct  DetectAppLayerProtocolData_
 

Macros

#define MAX_ALPROTO_NAME   50
 

Typedefs

typedef struct DetectAppLayerProtocolData_ DetectAppLayerProtocolData
 

Enumerations

enum  {
  DETECT_ALPROTO_DIRECTION = 0, DETECT_ALPROTO_FINAL = 1, DETECT_ALPROTO_EITHER = 2, DETECT_ALPROTO_TOSERVER = 3,
  DETECT_ALPROTO_TOCLIENT = 4, DETECT_ALPROTO_ORIG = 5
}
 

Functions

void DetectAppLayerProtocolRegister (void)
 

Detailed Description

Macro Definition Documentation

◆ MAX_ALPROTO_NAME

#define MAX_ALPROTO_NAME   50

Definition at line 125 of file detect-app-layer-protocol.c.

Typedef Documentation

◆ DetectAppLayerProtocolData

Enumeration Type Documentation

◆ anonymous enum

anonymous enum
Enumerator
DETECT_ALPROTO_DIRECTION 
DETECT_ALPROTO_FINAL 
DETECT_ALPROTO_EITHER 
DETECT_ALPROTO_TOSERVER 
DETECT_ALPROTO_TOCLIENT 
DETECT_ALPROTO_ORIG 

Definition at line 41 of file detect-app-layer-protocol.c.

Function Documentation

◆ DetectAppLayerProtocolRegister()

void DetectAppLayerProtocolRegister ( void  )

Definition at line 348 of file detect-app-layer-protocol.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function: