summaryrefslogtreecommitdiff
path: root/src/network/networkd-netdev-gperf.gperf
diff options
context:
space:
mode:
authorSusant Sahani <ssahani@gmail.com>2015-07-27 11:18:28 +0530
committerSusant Sahani <ssahani@gmail.com>2015-07-27 11:18:28 +0530
commitf33ff02b1aca5272ec678d3f4a211b4337882348 (patch)
treefae4205eb67486d9dddf82d892b5fec84b8011f5 /src/network/networkd-netdev-gperf.gperf
parentd13125752d6fdac84f7b4b6983f79a0b0acabc40 (diff)
networkd: add support for macvtap
This patch add support for macvtap. see http://virt.kernelnewbies.org/MacVTap
Diffstat (limited to 'src/network/networkd-netdev-gperf.gperf')
-rw-r--r--src/network/networkd-netdev-gperf.gperf1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/networkd-netdev-gperf.gperf b/src/network/networkd-netdev-gperf.gperf
index be76022bc7..403f810dc1 100644
--- a/src/network/networkd-netdev-gperf.gperf
+++ b/src/network/networkd-netdev-gperf.gperf
@@ -29,6 +29,7 @@ NetDev.MTUBytes, config_parse_iec_size, 0,
NetDev.MACAddress, config_parse_hwaddr, 0, offsetof(NetDev, mac)
VLAN.Id, config_parse_uint64, 0, offsetof(VLan, id)
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)
Tunnel.Local, config_parse_tunnel_address, 0, offsetof(Tunnel, local)
Tunnel.Remote, config_parse_tunnel_address, 0, offsetof(Tunnel, remote)