From 326cb4061a7d6ec4107f298b6f947d645512ad76 Mon Sep 17 00:00:00 2001 From: Susant Sahani Date: Mon, 16 Jun 2014 11:54:33 +0530 Subject: networkd: introduce vxlan This patch enables netwokd to create vxlan Changes: Added: 1. File networkd networkd-vxlan.c 2. to netdev bool learning struct in_addr group uint64_t vxlanid; 3. VXLAN subsection and config parameters --- src/network/networkd-netdev-gperf.gperf | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/network/networkd-netdev-gperf.gperf') diff --git a/src/network/networkd-netdev-gperf.gperf b/src/network/networkd-netdev-gperf.gperf index 784f0f4685..9125e1db4e 100644 --- a/src/network/networkd-netdev-gperf.gperf +++ b/src/network/networkd-netdev-gperf.gperf @@ -33,3 +33,8 @@ Tunnel.TTL, config_parse_unsigned, 0, Tunnel.DiscoverPathMTU, config_parse_bool, 0, offsetof(NetDev, tunnel_pmtudisc) Peer.Name, config_parse_ifname, 0, offsetof(NetDev, ifname_peer) Peer.MACAddress, config_parse_hwaddr, 0, offsetof(NetDev, mac_peer) +VXLAN.Id, config_parse_uint64, 0, offsetof(NetDev, vxlanid) +VXLAN.Group, config_parse_tunnel_address, 0, offsetof(NetDev, group) +VXLAN.TOS, config_parse_unsigned, 0, offsetof(NetDev, tos) +VXLAN.TTL, config_parse_unsigned, 0, offsetof(NetDev, ttl) +VXLAN.MacLearning, config_parse_bool, 0, offsetof(NetDev, learning) -- cgit v1.2.3-54-g00ecf