suricata
MimeDecEntity Struct Reference

This represents the MIME Entity (or also top level message) in a child-sibling tree. More...

#include <util-decode-mime.h>

Collaboration diagram for MimeDecEntity:

Data Fields

MimeDecFieldfield_list
 
MimeDecUrlurl_list
 
uint32_t body_len
 
uint32_t decoded_body_len
 
uint32_t header_flags
 
uint32_t ctnt_flags
 
uint32_t anomaly_flags
 
uint32_t filename_len
 
uint8_t * filename
 
uint8_t * ctnt_type
 
uint32_t ctnt_type_len
 
uint32_t msg_id_len
 
uint8_t * msg_id
 
struct MimeDecEntitynext
 
struct MimeDecEntitychild
 

Detailed Description

This represents the MIME Entity (or also top level message) in a child-sibling tree.

Definition at line 132 of file util-decode-mime.h.

Field Documentation

uint32_t MimeDecEntity::anomaly_flags

Flags indicating an anomaly in the message

Definition at line 139 of file util-decode-mime.h.

Referenced by MimeDecAddEntity(), MimeDecDeInitParser(), MimeDecParseComplete(), MimeDecParseStateGetStatus(), and SMTPProcessDataChunk().

uint32_t MimeDecEntity::body_len

Length of body (prior to any decoding)

Definition at line 135 of file util-decode-mime.h.

Referenced by MimeDecAddEntity().

struct MimeDecEntity* MimeDecEntity::child

Pointer to list of child entities

Definition at line 147 of file util-decode-mime.h.

Referenced by MimeDecAddEntity(), MimeDecFreeEntity(), and MimeDecParseFullMsg().

uint32_t MimeDecEntity::ctnt_flags

Flags indicating type of content

Definition at line 138 of file util-decode-mime.h.

Referenced by MimeDecAddEntity(), MimeDecInitParser(), and SMTPProcessDataChunk().

uint8_t* MimeDecEntity::ctnt_type

Quick access pointer to short-hand content type field

Definition at line 142 of file util-decode-mime.h.

Referenced by MimeDecAddEntity().

uint32_t MimeDecEntity::ctnt_type_len

Length of content type field value

Definition at line 143 of file util-decode-mime.h.

Referenced by MimeDecAddEntity().

uint32_t MimeDecEntity::decoded_body_len

Length of body after decoding

Definition at line 136 of file util-decode-mime.h.

Referenced by MimeDecAddEntity().

MimeDecField* MimeDecEntity::field_list

Pointer to list of header fields

Definition at line 133 of file util-decode-mime.h.

Referenced by MimeDecAddField(), MimeDecFindField(), MimeDecFindFieldsForEach(), and MimeDecFreeEntity().

uint8_t* MimeDecEntity::filename

Name of file attachment

Definition at line 141 of file util-decode-mime.h.

Referenced by MimeDecAddEntity(), MimeDecFreeEntity(), and SMTPProcessDataChunk().

uint32_t MimeDecEntity::filename_len

Length of file attachment name

Definition at line 140 of file util-decode-mime.h.

Referenced by MimeDecAddEntity(), and SMTPProcessDataChunk().

uint32_t MimeDecEntity::header_flags

Flags indicating header characteristics

Definition at line 137 of file util-decode-mime.h.

uint8_t* MimeDecEntity::msg_id

Quick access pointer to message Id

Definition at line 145 of file util-decode-mime.h.

Referenced by MimeDecAddEntity().

uint32_t MimeDecEntity::msg_id_len

Quick access pointer to message Id

Definition at line 144 of file util-decode-mime.h.

Referenced by MimeDecAddEntity().

struct MimeDecEntity* MimeDecEntity::next

Pointer to list of sibling entities

Definition at line 146 of file util-decode-mime.h.

Referenced by MimeDecAddEntity(), MimeDecFreeEntity(), MimeDecGetConfig(), MimeDecParseFullMsg(), and SMTPProcessDataChunk().

MimeDecUrl* MimeDecEntity::url_list

Pointer to list of URLs

Definition at line 134 of file util-decode-mime.h.

Referenced by MimeDecAddEntity(), MimeDecFindField(), MimeDecFreeEntity(), and MimeDecParseFullMsg().


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