diff options
author | Susant Sahani <susant@redhat.com> | 2014-06-16 11:54:33 +0530 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-06-16 20:38:22 +0200 |
commit | 326cb4061a7d6ec4107f298b6f947d645512ad76 (patch) | |
tree | 3508a9288e03c4cc7a5d882b9de7748781b16b9b /src/network/networkd-netdev-gperf.gperf | |
parent | 1324e3ae515719a93a94a8d8316644af6c780909 (diff) |
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
Diffstat (limited to 'src/network/networkd-netdev-gperf.gperf')
-rw-r--r-- | src/network/networkd-netdev-gperf.gperf | 5 |
1 files changed, 5 insertions, 0 deletions
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) |