OpenVPN
Data Fields
buffer_list Struct Reference

A singly-linked list of buffers, with head/tail pointers for O(1) push. More...

#include <buffer.h>

Collaboration diagram for buffer_list:
Collaboration graph
[legend]

Data Fields

struct buffer_entryhead
 Next item to pop/peek.
 
struct buffer_entrytail
 Last item pushed.
 
size_t size
 Current number of entries.
 
size_t max_size
 Maximum number of entries allowed.
 

Detailed Description

A singly-linked list of buffers, with head/tail pointers for O(1) push.

Definition at line 2167 of file buffer.h.

Field Documentation

◆ head

struct buffer_entry* buffer_list::head

◆ max_size

size_t buffer_list::max_size

Maximum number of entries allowed.

Definition at line 2172 of file buffer.h.

◆ size

size_t buffer_list::size

◆ tail

struct buffer_entry* buffer_list::tail

Last item pushed.

Definition at line 2170 of file buffer.h.

Referenced by buffer_list_aggregate_separator(), buffer_list_pop(), buffer_list_push_data(), and buffer_list_reset().


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