summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-tunnel.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/networkd-netdev-tunnel.h')
-rw-r--r--src/network/networkd-netdev-tunnel.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-tunnel.h b/src/network/networkd-netdev-tunnel.h
index b30204b76b..000a6460e7 100644
--- a/src/network/networkd-netdev-tunnel.h
+++ b/src/network/networkd-netdev-tunnel.h
@@ -21,8 +21,22 @@
#pragma once
+typedef struct Tunnel Tunnel;
+
#include "networkd-netdev.h"
+struct Tunnel {
+ NetDev meta;
+
+ int family;
+
+ unsigned ttl;
+ unsigned tos;
+ union in_addr_union local;
+ union in_addr_union remote;
+ bool pmtudisc;
+};
+
extern const NetDevVTable ipip_vtable;
extern const NetDevVTable sit_vtable;
extern const NetDevVTable vti_vtable;