suricata
detect-rpc.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  RpcMsg_
 
struct  DetectRpcData_
 

Macros

#define DETECT_RPC_CHECK_PROGRAM   0x01
 
#define DETECT_RPC_CHECK_VERSION   0x02
 
#define DETECT_RPC_CHECK_PROCEDURE   0x04
 
#define EXT_GET_UINT32T(buf)   ((long)SCNtohl((long)*(buf)++))
 

Typedefs

typedef struct RpcMsg_ RpcMsg
 
typedef struct DetectRpcData_ DetectRpcData
 

Functions

void DetectRpcRegister (void)
 Registration function for rpc keyword. More...
 

Detailed Description

Macro Definition Documentation

◆ DETECT_RPC_CHECK_PROCEDURE

#define DETECT_RPC_CHECK_PROCEDURE   0x04

Definition at line 33 of file detect-rpc.h.

◆ DETECT_RPC_CHECK_PROGRAM

#define DETECT_RPC_CHECK_PROGRAM   0x01

Definition at line 31 of file detect-rpc.h.

◆ DETECT_RPC_CHECK_VERSION

#define DETECT_RPC_CHECK_VERSION   0x02

Definition at line 32 of file detect-rpc.h.

◆ EXT_GET_UINT32T

#define EXT_GET_UINT32T (   buf)    ((long)SCNtohl((long)*(buf)++))

Definition at line 46 of file detect-rpc.h.

Typedef Documentation

◆ DetectRpcData

typedef struct DetectRpcData_ DetectRpcData

◆ RpcMsg

typedef struct RpcMsg_ RpcMsg

Simple struct for a rpc msg call

Function Documentation

◆ DetectRpcRegister()

void DetectRpcRegister ( void  )

Registration function for rpc keyword.

Definition at line 59 of file detect-rpc.c.

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

Referenced by SigTableSetup().

Here is the caller graph for this function: