decode-template.c File Reference
#include "suricata-common.h"
#include "suricata.h"
#include "decode.h"
#include "decode-events.h"
#include "decode-template.h"
Include dependency graph for decode-template.c:

Go to the source code of this file.


int DecodeTEMPLATE (ThreadVars *tv, DecodeThreadVars *dtv, Packet *p, const uint8_t *pkt, uint32_t len, PacketQueue *pq)
 Function to decode TEMPLATE packets. More...

Detailed Description

XXX Your Name

Decodes XXX describe the protocol

Definition in file decode-template.c.

Function Documentation

int DecodeTEMPLATE ( ThreadVars tv,
DecodeThreadVars dtv,
Packet p,
const uint8_t *  pkt,
uint32_t  len,
PacketQueue pq 

Function to decode TEMPLATE packets.

tvthread vars
dtvdecoder thread vars
pktraw packet data
lenlength in bytes of pkt array
Return values
TM_ECODE_OKor TM_ECODE_FAILED on serious error

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

References DecodeUDP(), TM_ECODE_FAILED, and TM_ECODE_OK.

Here is the call graph for this function: