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

Go to the source code of this file.

Functions

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

Detailed Description

Author
Eric Leblond eric@.nosp@m.regi.nosp@m.t.org

Decode SCTP

Definition in file decode-sctp.c.

Function Documentation

◆ DecodeSCTP()

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

Definition at line 62 of file decode-sctp.c.

References DecodeThreadVars_::counter_sctp, Packet_::dp, dtv, FlowSetupPacket(), len, SCLogDebug, Packet_::sp, StatsIncr(), TM_ECODE_FAILED, TM_ECODE_OK, tv, and unlikely.

Referenced by DecodeIPV4(), and DecodeIPV6().

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