suricata
|
#include "suricata-common.h"
#include "decode-etag.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 | DecodeETag (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len) |
void | DecodeETagRegisterTests (void) |
Decode 802.1BR E-Tag headers
This implementation is based on the following specification doc: https://www.scribd.com/document/262742673/802-1BR-2012-pdf
Definition in file decode-etag.c.
int DecodeETag | ( | ThreadVars * | tv, |
DecodeThreadVars * | dtv, | ||
Packet * | p, | ||
const uint8_t * | pkt, | ||
uint32_t | len | ||
) |
Definition at line 44 of file decode-etag.c.
References DecodeThreadVars_::counter_etag, DEBUG_VALIDATE_BUG_ON, dtv, ENGINE_SET_INVALID_EVENT, ETAG_HEADER_LEN, ETAG_HEADER_TOO_SMALL, len, StatsIncr(), TM_ECODE_FAILED, and tv.
void DecodeETagRegisterTests | ( | void | ) |
Definition at line 150 of file decode-etag.c.
References UtRegisterTest().