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 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
 
struct MimeDecEntitylast_child
 

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

◆ anomaly_flags

uint32_t MimeDecEntity::anomaly_flags

Flags indicating an anomaly in the message

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

◆ child

struct MimeDecEntity* MimeDecEntity::child

Pointer to list of child entities

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

Referenced by MimeDecAddEntity().

◆ ctnt_flags

uint32_t MimeDecEntity::ctnt_flags

Flags indicating type of content

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

Referenced by MimeDecInitParser(), and SMTPProcessDataChunk().

◆ ctnt_type

uint8_t* MimeDecEntity::ctnt_type

Quick access pointer to short-hand content type field

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

◆ ctnt_type_len

uint32_t MimeDecEntity::ctnt_type_len

Length of content type field value

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

◆ field_list

MimeDecField* MimeDecEntity::field_list

Pointer to list of header fields

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

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

◆ filename

uint8_t* MimeDecEntity::filename

Name of file attachment

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

Referenced by SMTPProcessDataChunk().

◆ filename_len

uint32_t MimeDecEntity::filename_len

Length of file attachment name

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

Referenced by SMTPProcessDataChunk().

◆ header_flags

uint32_t MimeDecEntity::header_flags

Flags indicating header characteristics

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

◆ last_child

struct MimeDecEntity* MimeDecEntity::last_child

Pointer to tail of the list of child entities

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

Referenced by MimeDecAddEntity().

◆ msg_id

uint8_t* MimeDecEntity::msg_id

Quick access pointer to message Id

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

◆ msg_id_len

uint32_t MimeDecEntity::msg_id_len

Quick access pointer to message Id

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

◆ next

struct MimeDecEntity* MimeDecEntity::next

Pointer to list of sibling entities

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

Referenced by MimeDecAddEntity().

◆ url_list

MimeDecUrl* MimeDecEntity::url_list

Pointer to list of URLs

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


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