Go to the documentation of this file.
49 const uint8_t *pkt, uint32_t
len)
61 #if __BYTE_ORDER__ == __BIG_ENDIAN
62 uint32_t
type = pkt[0] | pkt[1] << 8 | pkt[2] << 16 | pkt[3] << 24;
64 uint32_t
type = *((uint32_t *)pkt);
#define ENGINE_SET_EVENT(p, e)
void StatsIncr(ThreadVars *tv, uint16_t id)
Increments the local counter.
int DecodeNull(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len)
@ LTNULL_UNSUPPORTED_TYPE
Per thread variable structure.
int DecodeIPV6(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint16_t len)
void DecodeNullRegisterTests(void)
Registers Null unit tests.
Structure to hold thread specific data for all decode modules.
#define ENGINE_SET_INVALID_EVENT(p, e)
int DecodeIPV4(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint16_t len)