suricata
decode-ipv4.c File Reference
#include "suricata-common.h"
#include "decode-ipv4.h"
#include "decode.h"
#include "defrag.h"
#include "flow.h"
#include "util-print.h"
#include "packet.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 520 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 1555 of file decode-ipv4.c.

References UtRegisterTest().

Here is the call graph for this function: