suricata
SCTPVars_ Struct Reference

#include <decode-sctp.h>

Data Fields

uint16_t hlen
 
uint8_t chunk_cnt
 
uint8_t tracked_chunk_cnt
 
uint8_t chunk_types [SCTP_MAX_TRACKED_CHUNKS]
 
uint8_t data_chunk_cnt
 
bool has_init: 1
 
bool has_init_ack: 1
 
bool has_data: 1
 
bool has_abort: 1
 
uint16_t data_offsets [SCTP_MAX_DATA_CHUNKS]
 
uint16_t data_lens [SCTP_MAX_DATA_CHUNKS]
 

Detailed Description

Definition at line 78 of file decode-sctp.h.

Field Documentation

◆ chunk_cnt

uint8_t SCTPVars_::chunk_cnt

number of chunks parsed

Definition at line 80 of file decode-sctp.h.

◆ chunk_types

uint8_t SCTPVars_::chunk_types[SCTP_MAX_TRACKED_CHUNKS]

types of first N chunks

Definition at line 82 of file decode-sctp.h.

◆ data_chunk_cnt

uint8_t SCTPVars_::data_chunk_cnt

number of DATA chunk payloads tracked

Definition at line 83 of file decode-sctp.h.

◆ data_lens

uint16_t SCTPVars_::data_lens[SCTP_MAX_DATA_CHUNKS]

lengths of DATA user data

Definition at line 89 of file decode-sctp.h.

◆ data_offsets

uint16_t SCTPVars_::data_offsets[SCTP_MAX_DATA_CHUNKS]

offsets of DATA user data from L4 start

Definition at line 88 of file decode-sctp.h.

◆ has_abort

bool SCTPVars_::has_abort

Definition at line 87 of file decode-sctp.h.

◆ has_data

bool SCTPVars_::has_data

Definition at line 86 of file decode-sctp.h.

◆ has_init

bool SCTPVars_::has_init

Definition at line 84 of file decode-sctp.h.

◆ has_init_ack

bool SCTPVars_::has_init_ack

Definition at line 85 of file decode-sctp.h.

◆ hlen

uint16_t SCTPVars_::hlen

total header length (common header + chunks)

Definition at line 79 of file decode-sctp.h.

◆ tracked_chunk_cnt

uint8_t SCTPVars_::tracked_chunk_cnt

number of chunks tracked (capped at SCTP_MAX_TRACKED_CHUNKS)

Definition at line 81 of file decode-sctp.h.


The documentation for this struct was generated from the following file: