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, GET_VNTAG_DEST, GET_VNTAG_DIR, GET_VNTAG_LOOPED, GET_VNTAG_PROTO, GET_VNTAG_PTR, GET_VNTAG_SRC, GET_VNTAG_VERSION, len, proto, SCLogDebug, StatsIncr(), TM_ECODE_FAILED, TM_ECODE_OK, tv, VNTAG_HEADER_LEN, VNTAG_HEADER_TOO_SMALL, and VNTAG_UNKNOWN_TYPE.
void DecodeVNTagRegisterTests | ( | void | ) |
Definition at line 172 of file decode-vntag.c.
References UtRegisterTest().