sd-netlink: add vxlan netlink properties.
authorSusant Sahani <susant@redhat.com>
Wed, 8 Mar 2017 13:10:15 +0000 (18:40 +0530)
committerSusant Sahani <susant@redhat.com>
Tue, 14 Mar 2017 04:41:49 +0000 (10:11 +0530)
src/libsystemd/sd-netlink/netlink-types.c

index ff0e995..fc13a4c 100644 (file)
@@ -170,6 +170,9 @@ static const NLType rtnl_link_info_data_vxlan_types[] = {
         [IFLA_VXLAN_REMCSUM_RX]        = { .type = NETLINK_TYPE_U8 },
         [IFLA_VXLAN_GBP]               = { .type = NETLINK_TYPE_FLAG },
         [IFLA_VXLAN_REMCSUM_NOPARTIAL] = { .type = NETLINK_TYPE_FLAG },
+        [IFLA_VXLAN_COLLECT_METADATA]  = { .type = NETLINK_TYPE_U8 },
+        [IFLA_VXLAN_LABEL]             = { .type = NETLINK_TYPE_U32 },
+        [IFLA_VXLAN_GPE]               = { .type = NETLINK_TYPE_FLAG },
 };
 
 static const NLType rtnl_bond_arp_target_types[] = {