summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-tuntap.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-netdev-tuntap.h')
-rw-r--r--src/network/networkd-netdev-tuntap.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-tuntap.h b/src/network/networkd-netdev-tuntap.h
index 2b6e48f79b..b804875bbb 100644
--- a/src/network/networkd-netdev-tuntap.h
+++ b/src/network/networkd-netdev-tuntap.h
@@ -21,7 +21,19 @@
#pragma once
+typedef struct TunTap TunTap;
+
#include "networkd-netdev.h"
+struct TunTap {
+ NetDev meta;
+
+ char *user_name;
+ char *group_name;
+ bool one_queue;
+ bool multi_queue;
+ bool packet_info;
+};
+
extern const NetDevVTable tun_vtable;
extern const NetDevVTable tap_vtable;