summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-bridge.h
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2014-07-16 13:17:10 +0200
committerTom Gundersen <teg@jklm.no>2014-07-21 13:32:27 +0200
commitaa9f11405829fd4755fef28602a7167dba3ddc89 (patch)
treef86bcda9b90b0e72b1f1e7ffe3f50e9c5d736612 /src/network/networkd-netdev-bridge.h
parent653912918f594ebbca46806b302ef6b477402575 (diff)
networkd: netdev - split NetDev struct into per-kind structs
Similarly to how unit types work.
Diffstat (limited to 'src/network/networkd-netdev-bridge.h')
-rw-r--r--src/network/networkd-netdev-bridge.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-bridge.h b/src/network/networkd-netdev-bridge.h
index 4d971c62e0..a7d02b1c91 100644
--- a/src/network/networkd-netdev-bridge.h
+++ b/src/network/networkd-netdev-bridge.h
@@ -21,6 +21,12 @@
#pragma once
+typedef struct Bridge Bridge;
+
#include "networkd-netdev.h"
+struct Bridge {
+ NetDev meta;
+};
+
extern const NetDevVTable bridge_vtable;