diff options
author | Susant Sahani <ssahani@gmail.com> | 2015-07-27 11:18:28 +0530 |
---|---|---|
committer | Susant Sahani <ssahani@gmail.com> | 2015-07-27 11:18:28 +0530 |
commit | f33ff02b1aca5272ec678d3f4a211b4337882348 (patch) | |
tree | fae4205eb67486d9dddf82d892b5fec84b8011f5 /src/network/networkd-netdev.h | |
parent | d13125752d6fdac84f7b4b6983f79a0b0acabc40 (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.h')
-rw-r--r-- | src/network/networkd-netdev.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/networkd-netdev.h b/src/network/networkd-netdev.h index a004f2fe5f..19fb5bb185 100644 --- a/src/network/networkd-netdev.h +++ b/src/network/networkd-netdev.h @@ -40,6 +40,7 @@ typedef enum NetDevKind { NETDEV_KIND_BOND, NETDEV_KIND_VLAN, NETDEV_KIND_MACVLAN, + NETDEV_KIND_MACVTAP, NETDEV_KIND_IPVLAN, NETDEV_KIND_VXLAN, NETDEV_KIND_IPIP, @@ -161,6 +162,7 @@ DEFINE_CAST(BRIDGE, Bridge); DEFINE_CAST(BOND, Bond); DEFINE_CAST(VLAN, VLan); DEFINE_CAST(MACVLAN, MacVlan); +DEFINE_CAST(MACVTAP, MacVlan); DEFINE_CAST(IPVLAN, IPVlan); DEFINE_CAST(VXLAN, VxLan); DEFINE_CAST(IPIP, Tunnel); |