summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-gperf.gperf
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@gmail.com>2015-11-28 08:05:28 +0530
committerSusant Sahani <ssahani@gmail.com>2016-01-19 12:17:54 +0530
commitea0288d17c0713eea601ea6c7715a649842d229d (patch)
treedfc30bf04e4da03f74aa09607c9b80706ae0dc61 /src/network/networkd-netdev-gperf.gperf
parent17af840b1df9ca3664b96bbc2414702b47658049 (diff)
networkd: VXLAN add support to configure port
This patch add support to configure port PortRange: VXLAN bases source UDP port based on flow to help the receiver to be able to load balance based on outer header flow. DestinatinPort: Allow configuring the default destination port on a per-device basis.
Diffstat (limited to 'src/network/networkd-netdev-gperf.gperf')
-rw-r--r--src/network/networkd-netdev-gperf.gperf2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-gperf.gperf b/src/network/networkd-netdev-gperf.gperf
index 4a4b400e41..8f506af092 100644
--- a/src/network/networkd-netdev-gperf.gperf
+++ b/src/network/networkd-netdev-gperf.gperf
@@ -57,6 +57,8 @@ VXLAN.UDP6ZeroCheckSumTx, config_parse_bool, 0,
VXLAN.FDBAgeingSec, config_parse_sec, 0, offsetof(VxLan, fdb_ageing)
VXLAN.GroupPolicyExtension, config_parse_bool, 0, offsetof(VxLan, group_policy)
VXLAN.MaximumFDBEntries, config_parse_unsigned, 0, offsetof(VxLan, max_fdb)
+VXLAN.PortRange, config_parse_port_range, 0, 0
+VXLAN.DestinationPort, config_parse_destination_port, 0, offsetof(VxLan, dest_port)
Tun.OneQueue, config_parse_bool, 0, offsetof(TunTap, one_queue)
Tun.MultiQueue, config_parse_bool, 0, offsetof(TunTap, multi_queue)
Tun.PacketInfo, config_parse_bool, 0, offsetof(TunTap, packet_info)