suricata
decode-null.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "decode-raw.h"
#include "decode-events.h"
#include "util-validate.h"
#include "util-unittest.h"
#include "util-debug.h"
Include dependency graph for decode-null.c:

Go to the source code of this file.

#define HDR_SIZE   4
 
#define AF_INET6_BSD   24
 
#define AF_INET6_FREEBSD   28
 
#define AF_INET6_DARWIN   30
 
#define AF_INET6_LINUX   10
 
#define AF_INET6_SOLARIS   26
 
#define AF_INET6_WINSOCK   23
 
int DecodeNull (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len)
 

Detailed Description

Macro Definition Documentation

◆ AF_INET6_BSD

#define AF_INET6_BSD   24

Definition at line 45 of file decode-null.c.

◆ AF_INET6_DARWIN

#define AF_INET6_DARWIN   30

Definition at line 47 of file decode-null.c.

◆ AF_INET6_FREEBSD

#define AF_INET6_FREEBSD   28

Definition at line 46 of file decode-null.c.

◆ AF_INET6_LINUX

#define AF_INET6_LINUX   10

Definition at line 48 of file decode-null.c.

◆ AF_INET6_SOLARIS

#define AF_INET6_SOLARIS   26

Definition at line 49 of file decode-null.c.

◆ AF_INET6_WINSOCK

#define AF_INET6_WINSOCK   23

Definition at line 50 of file decode-null.c.

◆ HDR_SIZE

#define HDR_SIZE   4

Definition at line 43 of file decode-null.c.

Function Documentation

◆ DecodeNull()

int DecodeNull ( ThreadVars tv,
DecodeThreadVars dtv,
Packet p,
const uint8_t *  pkt,
uint32_t  len 
)