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-2025 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, see <https://www.gnu.org/licenses/>.
18
*/
19
20
21
#ifndef NETWORKING_IP_H_
22
#define NETWORKING_IP_H_
23
24
#include "
env_set.h
"
25
26
typedef
char
openvpn_net_iface_t
;
27
28
struct
openvpn_net_ctx
29
{
30
struct
env_set
*
es
;
31
struct
gc_arena
gc
;
32
};
33
34
typedef
struct
openvpn_net_ctx
openvpn_net_ctx_t
;
35
36
#endif
/* NETWORKING_IP_H_ */
env_set.h
openvpn_net_ctx_t
void * openvpn_net_ctx_t
Definition
networking.h:38
openvpn_net_iface_t
char openvpn_net_iface_t
Definition
networking_iproute2.h:26
env_set
Definition
env_set.h:43
gc_arena
Garbage collection arena used to keep track of dynamically allocated memory.
Definition
buffer.h:116
openvpn_net_ctx
Definition
networking_iproute2.h:29
openvpn_net_ctx::es
struct env_set * es
Definition
networking_iproute2.h:30
openvpn_net_ctx::gc
struct gc_arena gc
Definition
networking_iproute2.h:31
Generated by
1.9.8