Core mmpkt data structure.
- Note
- The contents of this data structure should never need to be accessed directly. Rather the various functions provided as part of this API should be used.
+----------------------------------------------------------+--------------+
| RESERVED | Data | RESERVED | METADATA |
+----------------------------------------------------------+--------------+
^ ^ ^ ^
| | | |
| |
|<-----------------------
buf_len-------------------------->|
uint32_t buf_len
Length of the buffer.
uint32_t data_len
Length of actual data in the buffer.
uint32_t start_offset
Offset where actual data starts in the buffer.
uint8_t * buf
The buffer where data is stored.
Definition at line 78 of file mmpkt.h.