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

Go to the source code of this file.


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

Detailed Description

Victor Julien

Decodes Sll

Definition in file decode-sll.c.

Function Documentation

◆ DecodeSll()

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

Definition at line 39 of file decode-sll.c.

References DecodeThreadVars_::counter_sll, dtv, ENGINE_SET_INVALID_EVENT, len, SCLogDebug, SCNtohs, SLL_HEADER_LEN, SLL_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: