OpenVPN
Macros | 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.

Macros

#define IFACE_TYPE_LEN_MAX   64
 

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)
 

Macro Definition Documentation

◆ IFACE_TYPE_LEN_MAX

#define IFACE_TYPE_LEN_MAX   64

Definition at line 26 of file networking.h.

Typedef Documentation

◆ openvpn_net_ctx_t

typedef void* openvpn_net_ctx_t

Definition at line 28 of file networking.h.

◆ openvpn_net_iface_t

typedef void* openvpn_net_iface_t

Definition at line 40 of file networking.h.

Function Documentation

◆ net_ctx_free()

static void net_ctx_free ( openvpn_net_ctx_t ctx)
inlinestatic

Definition at line 63 of file networking.h.

Referenced by do_ifconfig(), and uninit_early().

◆ net_ctx_init()

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

Definition at line 48 of file networking.h.

Referenced by add_option(), and init_early().

◆ net_ctx_reset()

static void net_ctx_reset ( openvpn_net_ctx_t ctx)
inlinestatic