decode-ipv4.c File Reference
#include "suricata-common.h"
#include "packet-queue.h"
#include "decode.h"
#include "decode-ipv4.h"
#include "decode-events.h"
#include "defrag.h"
#include "pkt-var.h"
#include "host.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "util-optimize.h"
#include "util-print.h"
#include "util-profiling.h"
Include dependency graph for decode-ipv4.c:

Go to the source code of this file.

Data Structures

struct  IPV4Options_
typedef struct IPV4Options_ IPV4Options
int DecodeIPV4 (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint16_t len)
void DecodeIPV4RegisterTests (void)

Detailed Description

Typedef Documentation

◆ IPV4Options

typedef struct IPV4Options_ IPV4Options

Function Documentation

◆ DecodeIPV4()

int DecodeIPV4 ( ThreadVars tv,
DecodeThreadVars dtv,
Packet p,
const uint8_t *  pkt,
uint16_t  len 

Definition at line 517 of file decode-ipv4.c.

References DecodeThreadVars_::counter_ipv4, dtv, len, SCLogDebug, StatsIncr(), and tv.

Referenced by DecodeNull(), DecodePPPOESession(), and DecodeRaw().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ DecodeIPV4RegisterTests()

void DecodeIPV4RegisterTests ( void  )

Definition at line 1650 of file decode-ipv4.c.

References UtRegisterTest().

Here is the call graph for this function: