summaryrefslogtreecommitdiffstats
path: root/src/network/netdev/vxlan.h
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2021-12-12 05:28:06 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2021-12-25 07:32:06 +0100
commitb886649c95f6aac257e57268facc0fda6362581b (patch)
treec519e8755fe0511be496a259b838b4cc187fffc3 /src/network/netdev/vxlan.h
parentMerge pull request #20833 from pdmorrow/onfailure_env (diff)
downloadsystemd-b886649c95f6aac257e57268facc0fda6362581b.tar.xz
systemd-b886649c95f6aac257e57268facc0fda6362581b.zip
network: vxlan: support to select an address assigned on underlying interface as local address
Diffstat (limited to 'src/network/netdev/vxlan.h')
-rw-r--r--src/network/netdev/vxlan.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/network/netdev/vxlan.h b/src/network/netdev/vxlan.h
index 12ef46ef9a..141ac4db4d 100644
--- a/src/network/netdev/vxlan.h
+++ b/src/network/netdev/vxlan.h
@@ -6,6 +6,7 @@ typedef struct VxLan VxLan;
#include <linux/if_link.h>
#include "in-addr-util.h"
+#include "netdev-util.h"
#include "netdev.h"
#define VXLAN_VID_MAX (1u << 24) - 1
@@ -30,8 +31,9 @@ struct VxLan {
VxLanDF df;
- union in_addr_union remote;
+ NetDevLocalAddressType local_type;
union in_addr_union local;
+ union in_addr_union remote;
union in_addr_union group;
unsigned tos;