OpenVPN
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 (const 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 25 of file networking.h.

Referenced by net__iface_type().

Typedef Documentation

◆ openvpn_net_ctx_t

typedef void* openvpn_net_ctx_t

Definition at line 38 of file networking.h.

◆ openvpn_net_iface_t

typedef void* openvpn_net_iface_t

Definition at line 39 of file networking.h.

Function Documentation

◆ net_ctx_free()

void net_ctx_free ( openvpn_net_ctx_t * ctx)
inlinestatic

Definition at line 62 of file networking.h.

Referenced by do_ifconfig(), and uninit_early().

◆ net_ctx_init()

int net_ctx_init ( const struct context * c,
openvpn_net_ctx_t * ctx )
inlinestatic

Definition at line 47 of file networking.h.

Referenced by add_option(), and init_early().

◆ net_ctx_reset()

void net_ctx_reset ( openvpn_net_ctx_t * ctx)
inlinestatic