Lines Matching +full:frame +full:- +full:buffer
2 * dnstap/dtstream.h - Frame Streams thread for unbound DNSTAP
40 * An implementation of the Frame Streams data transport protocol for
55 * A message buffer with dnstap messages queued up. It is per-worker.
56 * It has locks to synchronize. If the buffer is full, a new message
61 /** lock of the buffer structure. Hold this lock to add or remove
62 * entries to the buffer. Release it so that other threads can also
67 /** the maximum size of the buffer, in bytes */
69 /** current size of the buffer, in bytes. data bytes of messages.
70 * If a new message make it more than maxsize, the buffer is full */
90 /** the buffer with the data to send, an encoded DNSTAP message */
97 * Containing buffer and counter for reading DNSTAP frames.
100 /** Buffer containing frame, except length counter(s). */
102 /** Number of bytes written to buffer. */
104 /** Capacity of the buffer. */
107 /** Frame length field. Will contain the 2nd length field for control
113 /** Set to 1 if this is a control frame, 0 otherwise (ie data frame). */
129 * round-robin fashion, instead of only from the first when busy.
163 /** the buffer that currently getting written, or NULL if no
171 * for the current message length that precedes the frame */
207 /** Perform bidirectional Frame Streams handshake before sending
210 /** Set if the READY control frame has been sent. */
212 /** Set if valid ACCEPT frame is received. */
214 /** (partially) read frame */
239 /** buffer of this worker */
262 * @param buf: buffer with message (dnstap contents).
263 * The buffer must have been malloced by caller. It is linked in
265 * the buffer is freed as well (and nothing happens, the item
267 * @param len: length of buffer.
348 /** callback for unbound-dnstap-socket */
351 /** callback for unbound-dnstap-socket */