summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-veth.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-netdev-veth.h')
-rw-r--r--src/network/networkd-netdev-veth.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-veth.h b/src/network/networkd-netdev-veth.h
index 93dcdfa1a4..85d8b49a75 100644
--- a/src/network/networkd-netdev-veth.h
+++ b/src/network/networkd-netdev-veth.h
@@ -21,6 +21,15 @@
#pragma once
+typedef struct Veth Veth;
+
#include "networkd-netdev.h"
+struct Veth {
+ NetDev meta;
+
+ char *ifname_peer;
+ struct ether_addr *mac_peer;
+};
+
extern const NetDevVTable veth_vtable;