suricata
|
#include "suricata-common.h"
#include "decode.h"
#include "decode-sll2.h"
#include "decode-events.h"
#include "util-validate.h"
#include "util-debug.h"
Go to the source code of this file.
Functions | |
int | DecodeSll2 (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len) |
Decodes Sll2
Definition in file decode-sll2.c.
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().