suricata
detect-asn1.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "rust.h"
#include "detect.h"
#include "detect-parse.h"
#include "flow.h"
#include "detect-asn1.h"
#include "util-unittest.h"
#include "util-unittest-helper.h"
#include "util-byte.h"
#include "util-debug.h"
Include dependency graph for detect-asn1.c:

Go to the source code of this file.

Functions

void DetectAsn1Register (void)
 Registration function for asn1. More...
 
bool DetectAsn1Match (const SigMatchData *smd, const uint8_t *buffer, const uint32_t buffer_len, const uint32_t offset)
 

Detailed Description

Implements "asn1" keyword

Definition in file detect-asn1.c.

Function Documentation

◆ DetectAsn1Match()

bool DetectAsn1Match ( const SigMatchData smd,
const uint8_t *  buffer,
const uint32_t  buffer_len,
const uint32_t  offset 
)

Definition at line 58 of file detect-asn1.c.

References SigMatchData_::ctx, and offset.

◆ DetectAsn1Register()

void DetectAsn1Register ( void  )

Registration function for asn1.

Definition at line 48 of file detect-asn1.c.

References DETECT_ASN1, SigTableElmt_::name, SigTableElmt_::Setup, and sigmatch_table.

Referenced by SigTableSetup().

Here is the caller graph for this function: