summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2015-08-27 13:59:06 +0200
committerLennart Poettering <lennart@poettering.net>2015-08-27 14:01:23 +0200
commitfc2f9534d07db2b185c02b1961428b53daf1986e (patch)
treea6a8d6417b63ab59dd16890dd1be0da14ceb3eac /src/network/networkd-netdev.c
parentf6b8196f7cf1e366e15597283bc3d13af72a7eb5 (diff)
networkd: split up networkd.h into per-object header files
No functional changes, just moving definitions into separate header files.
Diffstat (limited to 'src/network/networkd-netdev.c')
-rw-r--r--src/network/networkd-netdev.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/network/networkd-netdev.c b/src/network/networkd-netdev.c
index cd31387b41..ff1edf2c39 100644
--- a/src/network/networkd-netdev.c
+++ b/src/network/networkd-netdev.c
@@ -21,15 +21,18 @@
#include <net/if.h>
-#include "networkd-netdev.h"
-#include "networkd-link.h"
-#include "network-internal.h"
#include "conf-files.h"
#include "conf-parser.h"
#include "list.h"
#include "siphash24.h"
+#include "netlink-util.h"
+#include "network-internal.h"
+
+#include "networkd.h"
+#include "networkd-netdev.h"
const NetDevVTable * const netdev_vtable[_NETDEV_KIND_MAX] = {
+
[NETDEV_KIND_BRIDGE] = &bridge_vtable,
[NETDEV_KIND_BOND] = &bond_vtable,
[NETDEV_KIND_VLAN] = &vlan_vtable,