suricata
|
#include "suricata-common.h"
#include "decode-vntag.h"
#include "decode.h"
#include "decode-events.h"
#include "util-validate.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "util-unittest-helper.h"
#include "packet.h"
Go to the source code of this file.
Functions | |
int | DecodeVNTag (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len) |
void | DecodeVNTagRegisterTests (void) |
Decode VNTag 802.1Qbh
Definition in file decode-vntag.c.
int DecodeVNTag | ( | ThreadVars * | tv, |
DecodeThreadVars * | dtv, | ||
Packet * | p, | ||
const uint8_t * | pkt, | ||
uint32_t | len | ||
) |
Definition at line 52 of file decode-vntag.c.
References DecodeThreadVars_::counter_vntag, DEBUG_VALIDATE_BUG_ON, dtv, ENGINE_SET_INVALID_EVENT, len, StatsIncr(), TM_ECODE_FAILED, tv, VNTAG_HEADER_LEN, and VNTAG_HEADER_TOO_SMALL.
void DecodeVNTagRegisterTests | ( | void | ) |
Definition at line 172 of file decode-vntag.c.
References UtRegisterTest().