OpenVPN
src
openvpn
networking_iproute2.h
Go to the documentation of this file.
1
/*
2
* Generic interface to platform specific networking code
3
*
4
* Copyright (C) 2016-2024 Antonio Quartulli <a@unstable.cc>
5
*
6
* This program is free software; you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License version 2
8
* as published by the Free Software Foundation.
9
*
10
* This program is distributed in the hope that it will be useful,
11
* but WITHOUT ANY WARRANTY; without even the implied warranty of
12
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
* GNU General Public License for more details.
14
*
15
* You should have received a copy of the GNU General Public License
16
* along with this program (see the file COPYING included with this
17
* distribution); if not, write to the Free Software Foundation, Inc.,
18
* 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19
*/
20
21
22
#ifndef NETWORKING_IP_H_
23
#define NETWORKING_IP_H_
24
25
#include "
env_set.h
"
26
27
typedef
char
openvpn_net_iface_t
;
28
29
struct
openvpn_net_ctx
30
{
31
struct
env_set
*
es
;
32
struct
gc_arena
gc
;
33
};
34
35
typedef
struct
openvpn_net_ctx
openvpn_net_ctx_t
;
36
37
#endif
/* NETWORKING_IP_H_ */
openvpn_net_ctx
Definition:
networking_iproute2.h:29
openvpn_net_ctx::gc
struct gc_arena gc
Definition:
networking_iproute2.h:32
openvpn_net_ctx_t
void * openvpn_net_ctx_t
Definition:
networking.h:28
openvpn_net_ctx::es
struct env_set * es
Definition:
networking_iproute2.h:31
env_set.h
openvpn_net_iface_t
char openvpn_net_iface_t
Definition:
networking_iproute2.h:27
gc_arena
Garbage collection arena used to keep track of dynamically allocated memory.
Definition:
buffer.h:116
env_set
Definition:
env_set.h:42
Generated by
1.8.17