suricata
detect-fragbits.h File Reference
#include "decode-events.h"
#include "decode-ipv4.h"
#include "decode-tcp.h"
Include dependency graph for detect-fragbits.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  DetectFragBitsData_
 

Typedefs

typedef struct DetectFragBitsData_ DetectFragBitsData
 

Functions

void DetectFragBitsRegister (void)
 Registration function for fragbits: keyword. More...
 
void FragBitsRegisterTests (void)
 this function registers unit tests for FragBits More...
 

Detailed Description

Typedef Documentation

Function Documentation

void DetectFragBitsRegister ( void  )

Registration function for fragbits: keyword.

Registration function for fragbits: keyword

Definition at line 83 of file detect-fragbits.c.

References DecodeThreadVars_::app_tctx, AppLayerGetCtxThread(), SigMatch_::ctx, de, DecodeEthernet(), SigTableElmt_::desc, DETECT_FRAGBITS, DETECT_SM_LIST_MATCH, DetectSetupParseRegexes(), DOC_URL, DOC_VERSION, FAIL_IF, FALSE, Signature_::flags, FLOW_QUIET, FlowInitConfig(), FlowShutdown(), DetectFragBitsData_::fragbits, FRAGBITS_HAVE_DF, FRAGBITS_HAVE_MF, FRAGBITS_HAVE_RF, FragBitsRegisterTests(), SigTableElmt_::Free, Signature_::init_data, Packet_::ip4h, IPV4_GET_DF, IPV4_GET_MF, IPV4_GET_RF, SigTableElmt_::Match, MAX_SUBSTRINGS, DetectFragBitsData_::modifier, MODIFIER_ANY, MODIFIER_NOT, MODIFIER_PLUS, SigTableElmt_::name, SigMatch_::next, PACKET_RECYCLE, PARSE_REGEX, PASS, PKT_IS_IPV4, PKT_IS_PSEUDOPKT, DetectEngineThreadCtx_::pmq, PrefilterSetupPacketHeader(), SigTableElmt_::RegisterTests, res, SC_ERR_INVALID_VALUE, SC_ERR_PCRE_GET_SUBSTRING, SC_ERR_PCRE_MATCH, SCFree, SCLogError, SCMalloc, SigTableElmt_::Setup, SigTableElmt_::SetupPrefilter, SIG_FLAG_REQUIRE_PACKET, sigmatch_table, SigMatchAlloc(), SigMatchAppendSMToList(), PrefilterPacketHeaderCtx_::sigs_array, PrefilterPacketHeaderCtx_::sigs_cnt, SIZE_OF_PACKET, SignatureInitData_::smlists, SigTableElmt_::SupportsPrefilter, TRUE, SigMatch_::type, PrefilterPacketHeaderValue::u8, unlikely, SigTableElmt_::url, and PrefilterPacketHeaderCtx_::v1.

Referenced by SigTableSetup().

Here is the call graph for this function:

Here is the caller graph for this function:

void FragBitsRegisterTests ( void  )

this function registers unit tests for FragBits

This function registers unit tests for FragBits

Definition at line 603 of file detect-fragbits.c.

References UtRegisterTest().

Referenced by DetectFragBitsRegister().

Here is the call graph for this function:

Here is the caller graph for this function: