suricata
|
Go to the source code of this file.
Data Structures | |
struct | IPFWPacketVars_ |
struct | IPFWQueueVars_ |
Macros | |
#define | IPFW_MAX_QUEUE 16 |
Typedefs | |
typedef struct IPFWPacketVars_ | IPFWPacketVars |
typedef struct IPFWQueueVars_ | IPFWQueueVars |
Functions | |
void * | IPFWGetThread (int number) |
Get a pointer to the IPFW thread at index. More... | |
int | IPFWRegisterQueue (char *queue) |
Add an IPFW divert. More... | |
void | TmModuleReceiveIPFWRegister (void) |
Registration Function for RecieveIPFW. More... | |
void | TmModuleVerdictIPFWRegister (void) |
Registration Function for VerdictIPFW. More... | |
void | TmModuleDecodeIPFWRegister (void) |
Registration Function for DecodeIPFW. More... | |
Definition in file source-ipfw.h.
#define IPFW_MAX_QUEUE 16 |
Definition at line 29 of file source-ipfw.h.
typedef struct IPFWPacketVars_ IPFWPacketVars |
typedef struct IPFWQueueVars_ IPFWQueueVars |
void* IPFWGetThread | ( | int | number | ) |
Get a pointer to the IPFW thread at index.
This function is temporary used as configuration parser.
number | idx of the queue in our array |
ptr | pointer to the IPFWThreadVars at index |
NULL | on error |
Definition at line 762 of file source-ipfw.c.
Referenced by RunModeIpsIPFWAutoFp(), and RunModeIpsIPFWWorker().
int IPFWRegisterQueue | ( | char * | queue | ) |
Add an IPFW divert.
string | with the queue name |
0 | on success. |
-1 | on failure. |
Definition at line 698 of file source-ipfw.c.
References SCLogError, SCMutexLock, and StringParseUint16().
void TmModuleDecodeIPFWRegister | ( | void | ) |
Registration Function for DecodeIPFW.
Definition at line 186 of file source-ipfw.c.
References TmModule_::name, TmModule_::ThreadInit, TMM_DECODEIPFW, and tmm_modules.
Referenced by RegisterAllModules().
void TmModuleReceiveIPFWRegister | ( | void | ) |
Registration Function for RecieveIPFW.
Definition at line 150 of file source-ipfw.c.
References SCMutexInit.
Referenced by RegisterAllModules().
void TmModuleVerdictIPFWRegister | ( | void | ) |
Registration Function for VerdictIPFW.
Definition at line 171 of file source-ipfw.c.
References TmModule_::name, TmModule_::ThreadInit, tmm_modules, and TMM_VERDICTIPFW.
Referenced by RegisterAllModules().