chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
networkd: always write out locally configured settings first, dhcp-acquired ones...
[elogind.git]
/
src
/
network
/
networkd-netdev-tuntap.h
diff --git
a/src/network/networkd-netdev-tuntap.h
b/src/network/networkd-netdev-tuntap.h
index 2b6e48f79bd7261ef22c180ba21c23cd0e9454f3..b804875bbb9b39ea6b8932f6a6801683b8d080a0 100644
(file)
--- a/
src/network/networkd-netdev-tuntap.h
+++ b/
src/network/networkd-netdev-tuntap.h
@@
-21,7
+21,19
@@
#pragma once
#pragma once
+typedef struct TunTap TunTap;
+
#include "networkd-netdev.h"
#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;
extern const NetDevVTable tun_vtable;
extern const NetDevVTable tap_vtable;