summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-vlan.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-netdev-vlan.h')
-rw-r--r--src/network/networkd-netdev-vlan.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-vlan.h b/src/network/networkd-netdev-vlan.h
index 95f630f190..0c0fbbe093 100644
--- a/src/network/networkd-netdev-vlan.h
+++ b/src/network/networkd-netdev-vlan.h
@@ -21,8 +21,16 @@
#pragma once
+typedef struct VLan VLan;
+
#include "networkd-netdev.h"
#define VLANID_MAX 4094
+struct VLan {
+ NetDev meta;
+
+ uint64_t id;
+};
+
extern const NetDevVTable vlan_vtable;