OpenVPN
Functions
test_mbuf.c File Reference
#include "syshead.h"
#include <setjmp.h>
#include <cmocka.h>
#include "buffer.h"
#include "multi.h"
#include "mbuf.h"
#include "test_common.h"
Include dependency graph for test_mbuf.c:

Go to the source code of this file.

Functions

static void test_mbuf_init (void **state)
 
static void test_mbuf_add_remove (void **state)
 
int main (void)
 

Function Documentation

◆ main()

int main ( void  )

Definition at line 152 of file test_mbuf.c.

References test_mbuf_add_remove(), and test_mbuf_init().

◆ test_mbuf_add_remove()

static void test_mbuf_add_remove ( void **  state)
static

◆ test_mbuf_init()

static void test_mbuf_init ( void **  state)
static

Definition at line 38 of file test_mbuf.c.

References mbuf_set::len, mbuf_defined(), mbuf_free(), mbuf_init(), and MBUF_SIZE_MAX.

Referenced by main().