Go to the documentation of this file.
44 #define AF_INET6_BSD 24
45 #define AF_INET6_FREEBSD 28
46 #define AF_INET6_DARWIN 30
47 #define AF_INET6_LINUX 10
48 #define AF_INET6_SOLARIS 26
49 #define AF_INET6_WINSOCK 23
52 const uint8_t *pkt, uint32_t
len)
66 #if __BYTE_ORDER__ == __BIG_ENDIAN
67 uint32_t
type = pkt[0] | pkt[1] << 8 | pkt[2] << 16 | pkt[3] << 24;
69 uint32_t
type = *((uint32_t *)pkt);
#define ENGINE_SET_EVENT(p, e)
void StatsIncr(ThreadVars *tv, uint16_t id)
Increments the local counter.
@ LTNULL_UNSUPPORTED_TYPE
int DecodeNull(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len)
Per thread variable structure.
int DecodeIPV6(ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint16_t len)
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)
#define DEBUG_VALIDATE_BUG_ON(exp)