OpenVPN
Functions
mbuf.c File Reference
#include "syshead.h"
#include "buffer.h"
#include "error.h"
#include "integer.h"
#include "misc.h"
#include "mbuf.h"
#include "memdbg.h"
Include dependency graph for mbuf.c:

Go to the source code of this file.

Functions

struct mbuf_setmbuf_init (unsigned int size)
 
void mbuf_free (struct mbuf_set *ms)
 
struct mbuf_buffermbuf_alloc_buf (const struct buffer *buf)
 
void mbuf_free_buf (struct mbuf_buffer *mb)
 
void mbuf_add_item (struct mbuf_set *ms, const struct mbuf_item *item)
 
bool mbuf_extract_item (struct mbuf_set *ms, struct mbuf_item *item)
 
struct multi_instancembuf_peek_dowork (struct mbuf_set *ms)
 
void mbuf_dereference_instance (struct mbuf_set *ms, struct multi_instance *mi)
 

Function Documentation

◆ mbuf_add_item()

void mbuf_add_item ( struct mbuf_set ms,
const struct mbuf_item item 
)

◆ mbuf_alloc_buf()

struct mbuf_buffer* mbuf_alloc_buf ( const struct buffer buf)

◆ mbuf_dereference_instance()

void mbuf_dereference_instance ( struct mbuf_set ms,
struct multi_instance mi 
)

◆ mbuf_extract_item()

bool mbuf_extract_item ( struct mbuf_set ms,
struct mbuf_item item 
)

◆ mbuf_free()

void mbuf_free ( struct mbuf_set ms)

◆ mbuf_free_buf()

void mbuf_free_buf ( struct mbuf_buffer mb)

◆ mbuf_init()

struct mbuf_set* mbuf_init ( unsigned int  size)

◆ mbuf_peek_dowork()

struct multi_instance* mbuf_peek_dowork ( struct mbuf_set ms)