diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-12-12 05:28:06 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-12-25 07:32:06 +0100 |
commit | b886649c95f6aac257e57268facc0fda6362581b (patch) | |
tree | c519e8755fe0511be496a259b838b4cc187fffc3 /src/network/netdev/vxlan.h | |
parent | Merge pull request #20833 from pdmorrow/onfailure_env (diff) | |
download | systemd-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.h | 4 |
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; |