suricata
|
#include "suricata-common.h"
#include "suricata.h"
#include "detect.h"
#include "detect-parse.h"
#include "detect-ipopts.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
Go to the source code of this file.
Data Structures | |
struct | DetectIpOpts_ |
Functions | |
void | DetectIpOptsFree (DetectEngineCtx *, void *) |
void | DetectIpOptsRegister (void) |
Registration function for ipopts: keyword. More... | |
const char * | IpOptsFlagToString (uint16_t flag) |
Return human readable value for ipopts flag. More... | |
Variables | |
struct DetectIpOpts_ | ipopts [] |
Implements the ipopts keyword
Definition in file detect-ipopts.c.
void DetectIpOptsFree | ( | DetectEngineCtx * | de_ctx, |
void * | de_ptr | ||
) |
Definition at line 245 of file detect-ipopts.c.
References SCFree.
void DetectIpOptsRegister | ( | void | ) |
Registration function for ipopts: keyword.
Registration function for ipopts: keyword
Definition at line 47 of file detect-ipopts.c.
References SigTableElmt_::desc, DETECT_IPOPTS, SigTableElmt_::Match, SigTableElmt_::name, sigmatch_table, and SigTableElmt_::url.
Referenced by SigTableSetup().
const char* IpOptsFlagToString | ( | uint16_t | flag | ) |
Return human readable value for ipopts flag.
flag | uint16_t DetectIpOptsData ipopts flag value |
Definition at line 117 of file detect-ipopts.c.
References IPV4_OPT_FLAG_EOL, IPV4_OPT_FLAG_ESEC, IPV4_OPT_FLAG_LSRR, IPV4_OPT_FLAG_NOP, IPV4_OPT_FLAG_RR, IPV4_OPT_FLAG_SEC, IPV4_OPT_FLAG_SID, IPV4_OPT_FLAG_SSRR, and IPV4_OPT_FLAG_TS.
struct DetectIpOpts_ ipopts[] |