|
suricata
|

Go to the source code of this file.
Data Structures | |
| struct | SCTPHdr_ |
| struct | SCTPChunkHdr_ |
| struct | SCTPVars_ |
Typedefs | |
| typedef struct SCTPVars_ | SCTPVars |
Functions | |
| struct SCTPHdr_ | __attribute__ ((__packed__)) SCTPHdr |
| DNP3 link header. More... | |
| void | DecodeSCTPRegisterTests (void) |
Variables | |
| uint16_t | sh_sport |
| uint16_t | sh_dport |
| uint32_t | sh_vtag |
| uint32_t | sh_sum |
| uint8_t | type |
| uint8_t | flags |
| uint16_t | length |
Definition in file decode-sctp.h.
| #define SCTP_CHUNK_HDR_LEN 4 |
size of a chunk header (type + flags + length)
Definition at line 32 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_ABORT 0x06 |
Definition at line 55 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_COOKIE_ACK 0x0B |
Definition at line 60 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_COOKIE_ECHO 0x0A |
Definition at line 59 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_CWR 0x0D |
Definition at line 62 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_DATA 0x00 |
Definition at line 49 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_ECNE 0x0C |
Definition at line 61 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_ERROR 0x09 |
Definition at line 58 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_FORWARD_TSN 0xC0 |
Definition at line 64 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_HB_ACK 0x05 |
Definition at line 54 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_HEARTBEAT 0x04 |
Definition at line 53 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_INIT 0x01 |
Definition at line 50 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_INIT_ACK 0x02 |
Definition at line 51 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_SACK 0x03 |
Definition at line 52 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_SHUTDOWN 0x07 |
Definition at line 56 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_SHUTDOWN_ACK 0x08 |
Definition at line 57 of file decode-sctp.h.
| #define SCTP_CHUNK_TYPE_SHUTDOWN_COMPLETE 0x0E |
Definition at line 63 of file decode-sctp.h.
| #define SCTP_DATA_CHUNK_HDR_LEN 16 |
DATA chunk overhead before user data (chunk hdr + TSN + SID + SSN + PPID)
Definition at line 46 of file decode-sctp.h.
Definition at line 94 of file decode-sctp.h.
Definition at line 93 of file decode-sctp.h.
Definition at line 96 of file decode-sctp.h.
Definition at line 95 of file decode-sctp.h.
| #define SCTP_HEADER_LEN 12 |
size of the packet header without any chunk headers
Definition at line 29 of file decode-sctp.h.
| #define SCTP_MAX_DATA_CHUNKS 16 |
max number of DATA chunk payloads tracked per packet
Definition at line 43 of file decode-sctp.h.
| #define SCTP_MAX_TRACKED_CHUNKS 16 |
max number of chunks tracked per packet for detection/logging value chosen to keep per-packet overhead low while still allowing some room to track chunks. SCTP has no hard limit on the number of chunks per packet. A packet can carry as many chunks as fit within the MTU, though in practice most packets contain only a few chunks.
Definition at line 40 of file decode-sctp.h.
| void DecodeSCTPRegisterTests | ( | void | ) |
Definition at line 682 of file decode-sctp.c.
References UtRegisterTest().

| uint8_t flags |
Definition at line 1 of file decode-sctp.h.
| uint16_t length |
Definition at line 2 of file decode-sctp.h.
Referenced by hashbig(), hashlittle(), hashlittle2(), hashlittle2_safe(), hashlittle_safe(), hashword(), and hashword2().
| uint16_t sh_dport |
Definition at line 1 of file decode-sctp.h.
| uint16_t sh_sport |
Definition at line 0 of file decode-sctp.h.
| uint32_t sh_sum |
Definition at line 3 of file decode-sctp.h.
| uint32_t sh_vtag |
Definition at line 2 of file decode-sctp.h.
| uint8_t type |
Definition at line 0 of file decode-sctp.h.
Referenced by DatajsonGet(), DatasetFind(), DatasetGet(), DatasetGetOrCreate(), DecodeNull(), DetectEngineFrameInspectEngineRegister(), DetectEngineFrameMpmRegister(), DetectFrameMpmRegister(), DetectSigmatchListEnumToString(), DetectVarStoreMatch(), DetectVarStoreMatchKeyValue(), FrameConfigEnable(), ICMPv4GetCounterpart(), ICMPv6GetCounterpart(), LoadHashTable(), LuaDumpStack(), LuaPrintStack(), PostRuleMatchWorkQueueAppend(), VarNameStoreLookupById(), and VarNameStoreLookupByName().