]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/network/netdev/netdev-gperf.gperf
networkd: Add support for ipvlan L3s and flags (#7726)
[thirdparty/systemd.git] / src / network / netdev / netdev-gperf.gperf
index 89f600ef623045946d45999d762139350a403e6b..3aeba06ee01826aec0ff02831f1efb6e14d09162 100644 (file)
@@ -17,6 +17,7 @@ _Pragma("GCC diagnostic ignored \"-Wimplicit-fallthrough\"")
 #include "netdev/vxlan.h"
 #include "netdev/vrf.h"
 #include "netdev/netdev.h"
+#include "netdev/vxcan.h"
 #include "vlan-util.h"
 %}
 struct ConfigPerfItem;
@@ -47,6 +48,7 @@ VLAN.ReorderHeader,          config_parse_tristate,                0,
 MACVLAN.Mode,                config_parse_macvlan_mode,            0,                             offsetof(MacVlan, mode)
 MACVTAP.Mode,                config_parse_macvlan_mode,            0,                             offsetof(MacVlan, mode)
 IPVLAN.Mode,                 config_parse_ipvlan_mode,             0,                             offsetof(IPVlan, mode)
+IPVLAN.Flags,                config_parse_ipvlan_flags,             0,                            offsetof(IPVlan, flags)
 Tunnel.Local,                config_parse_tunnel_address,          0,                             offsetof(Tunnel, local)
 Tunnel.Remote,               config_parse_tunnel_address,          0,                             offsetof(Tunnel, remote)
 Tunnel.TOS,                  config_parse_unsigned,                0,                             offsetof(Tunnel, tos)
@@ -62,6 +64,7 @@ Tunnel.EncapsulationLimit,   config_parse_encap_limit,             0,
 Tunnel.Independent,          config_parse_bool,                    0,                             offsetof(Tunnel, independent)
 Peer.Name,                   config_parse_ifname,                  0,                             offsetof(Veth, ifname_peer)
 Peer.MACAddress,             config_parse_hwaddr,                  0,                             offsetof(Veth, mac_peer)
+VXCAN.Peer,                  config_parse_ifname,                  0,                             offsetof(VxCan, ifname_peer)
 VXLAN.Id,                    config_parse_uint64,                  0,                             offsetof(VxLan, id)
 VXLAN.Group,                 config_parse_vxlan_address,           0,                             offsetof(VxLan, remote)
 VXLAN.Local,                 config_parse_vxlan_address,           0,                             offsetof(VxLan, local)