Containing buffer and counter for reading DNSTAP frames. More...
#include <dtstream.h>
Data Fields | |
| void * | buf |
| Buffer containing frame, except length counter(s). | |
| size_t | buf_count |
| Number of bytes written to buffer. | |
| size_t | buf_cap |
| Capacity of the buffer. | |
| uint32_t | frame_len |
| Frame length field. | |
| size_t | frame_len_done |
| Number of bytes that have been written to the frame_length field. | |
| int | control_frame |
| Set to 1 if this is a control frame, 0 otherwise (ie data frame). | |
Containing buffer and counter for reading DNSTAP frames.
| uint32_t dt_frame_read_buf::frame_len |
Frame length field.
Will contain the 2nd length field for control frames.
Referenced by dtio_read_accept_frame(), and dtio_read_frame_free().