OpenVPN
Typedefs | Functions
networking.h File Reference
#include "syshead.h"
Include dependency graph for networking.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef void * openvpn_net_ctx_t
 
typedef void * openvpn_net_iface_t
 

Functions

static int net_ctx_init (struct context *c, openvpn_net_ctx_t *ctx)
 
static void net_ctx_reset (openvpn_net_ctx_t *ctx)
 
static void net_ctx_free (openvpn_net_ctx_t *ctx)
 

Typedef Documentation

◆ openvpn_net_ctx_t

typedef void* openvpn_net_ctx_t

Definition at line 26 of file networking.h.

◆ openvpn_net_iface_t

typedef void* openvpn_net_iface_t

Definition at line 35 of file networking.h.

Function Documentation

◆ net_ctx_free()

static void net_ctx_free ( openvpn_net_ctx_t ctx)
inlinestatic

Definition at line 50 of file networking.h.

References dst, iface, in_addr_t, net_ctx_init(), and net_ctx_reset().

Referenced by do_ifconfig(), and openvpn_main().

◆ net_ctx_init()

static int net_ctx_init ( struct context c,
openvpn_net_ctx_t ctx 
)
inlinestatic

Definition at line 38 of file networking.h.

Referenced by add_option(), net_ctx_free(), and openvpn_main().

◆ net_ctx_reset()

static void net_ctx_reset ( openvpn_net_ctx_t ctx)
inlinestatic