]> git.ipfire.org Git - thirdparty/strongswan.git/blob - src/libcharon/plugins/kernel_netlink/kernel_netlink_net.h
Update copyright headers after acquisition by secunet
[thirdparty/strongswan.git] / src / libcharon / plugins / kernel_netlink / kernel_netlink_net.h
1 /*
2 * Copyright (C) 2008 Tobias Brunner
3 *
4 * Copyright (C) secunet Security Networks AG
5 *
6 * This program is free software; you can redistribute it and/or modify it
7 * under the terms of the GNU General Public License as published by the
8 * Free Software Foundation; either version 2 of the License, or (at your
9 * option) any later version. See <http://www.fsf.org/copyleft/gpl.txt>.
10 *
11 * This program is distributed in the hope that it will be useful, but
12 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
13 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
14 * for more details.
15 */
16
17 /**
18 * @defgroup kernel_netlink_net_i kernel_netlink_net
19 * @{ @ingroup kernel_netlink
20 */
21
22 #ifndef KERNEL_NETLINK_NET_H_
23 #define KERNEL_NETLINK_NET_H_
24
25 #include <kernel/kernel_net.h>
26
27 typedef struct kernel_netlink_net_t kernel_netlink_net_t;
28
29 /**
30 * Implementation of the kernel network interface using Netlink.
31 */
32 struct kernel_netlink_net_t {
33
34 /**
35 * Implements kernel_net_t interface
36 */
37 kernel_net_t interface;
38 };
39
40 /**
41 * Create a netlink kernel network interface instance.
42 *
43 * @return kernel_netlink_net_t instance
44 */
45 kernel_netlink_net_t *kernel_netlink_net_create();
46
47 #endif /** KERNEL_NETLINK_NET_H_ @}*/