suricata
decode-udp.c File Reference
#include "suricata-common.h"
#include "decode.h"
#include "decode-geneve.h"
#include "decode-udp.h"
#include "decode-teredo.h"
#include "decode-vxlan.h"
#include "decode-events.h"
#include "util-unittest.h"
#include "util-debug.h"
#include "flow.h"
#include "app-layer.h"
Include dependency graph for decode-udp.c:

Go to the source code of this file.

Functions

int DecodeUDP (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint16_t len)
 
void DecodeUDPV4RegisterTests (void)
 

Detailed Description

Author
Victor Julien victo.nosp@m.r@in.nosp@m.linia.nosp@m.c.ne.nosp@m.t

Decode UDP

Definition in file decode-udp.c.

Function Documentation

◆ DecodeUDP()

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

Definition at line 75 of file decode-udp.c.

References DecodeThreadVars_::counter_udp, dtv, StatsIncr(), tv, and unlikely.

Referenced by DecodeTEMPLATE().

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

◆ DecodeUDPV4RegisterTests()

void DecodeUDPV4RegisterTests ( void  )

Definition at line 221 of file decode-udp.c.

References UtRegisterTest().

Here is the call graph for this function: