OpenVPN
Data Structures | Functions
test_packet_id.c File Reference
#include "syshead.h"
#include <stdarg.h>
#include <stddef.h>
#include <setjmp.h>
#include <cmocka.h>
#include "packet_id.h"
#include "mock_msg.h"
Include dependency graph for test_packet_id.c:

Go to the source code of this file.

Data Structures

struct  test_packet_id_write_data
 

Functions

static int test_packet_id_write_setup (void **state)
 
static int test_packet_id_write_teardown (void **state)
 
static void test_packet_id_write_short (void **state)
 
static void test_packet_id_write_long (void **state)
 
static void test_packet_id_write_short_prepend (void **state)
 
static void test_packet_id_write_long_prepend (void **state)
 
static void test_packet_id_write_short_wrap (void **state)
 
static void test_packet_id_write_long_wrap (void **state)
 
int main (void)
 

Function Documentation

◆ main()

int main ( void  )

◆ test_packet_id_write_long()

static void test_packet_id_write_long ( void **  state)
static

◆ test_packet_id_write_long_prepend()

static void test_packet_id_write_long_prepend ( void **  state)
static

◆ test_packet_id_write_long_wrap()

static void test_packet_id_write_long_wrap ( void **  state)
static

◆ test_packet_id_write_setup()

static int test_packet_id_write_setup ( void **  state)
static

◆ test_packet_id_write_short()

static void test_packet_id_write_short ( void **  state)
static

◆ test_packet_id_write_short_prepend()

static void test_packet_id_write_short_prepend ( void **  state)
static

◆ test_packet_id_write_short_wrap()

static void test_packet_id_write_short_wrap ( void **  state)
static

◆ test_packet_id_write_teardown()

static int test_packet_id_write_teardown ( void **  state)
static

Definition at line 69 of file test_packet_id.c.

References free.

Referenced by main().