suricata
decode-sll2.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "decode-sll2.h"
#include "decode-events.h"
#include "util-validate.h"
#include "util-debug.h"
Include dependency graph for decode-sll2.c:

Go to the source code of this file.

Functions

int DecodeSll2 (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len)
 

Detailed Description

Author
Jeff Lucovsky jeff..nosp@m.luco.nosp@m.vsky@.nosp@m.core.nosp@m.light.nosp@m..com

Decodes Sll2

Definition in file decode-sll2.c.

Function Documentation

◆ DecodeSll2()

int DecodeSll2 ( ThreadVars tv,
DecodeThreadVars dtv,
Packet p,
const uint8_t *  pkt,
uint32_t  len 
)

Definition at line 40 of file decode-sll2.c.

References DecodeThreadVars_::counter_sll2, DEBUG_VALIDATE_BUG_ON, dtv, ENGINE_SET_INVALID_EVENT, len, SLL2_HEADER_LEN, SLL2_PKT_TOO_SMALL, StatsIncr(), TM_ECODE_FAILED, tv, and unlikely.

Referenced by ValidateLinkType().

Here is the call graph for this function:
Here is the caller graph for this function: