IFLA_INFO_KIND
[IFLA_INFO_KIND] = { .type = NLA_STRING },
if (linfo[IFLA_INFO_KIND]) {
nla_strscpy(kind, linfo[IFLA_INFO_KIND], sizeof(kind));
if (linkinfo[IFLA_INFO_KIND]) {
nla_strscpy(kind, linkinfo[IFLA_INFO_KIND], sizeof(kind));
if (nla_put_string(skb, IFLA_INFO_KIND, ops->kind) < 0)
addattr_l(&req.n, sizeof(req), IFLA_INFO_KIND, type, strlen(type));
addattr_l(&req.n, sizeof(req), IFLA_INFO_KIND, type, strlen(type));
rtattr_add_str(nh, IFLA_INFO_KIND, "xfrm");
if (rtattr_pack(&req.nh, sizeof(req), IFLA_INFO_KIND, veth_type, sizeof(veth_type)))
if (ovpn_addattr(&req.n, sizeof(req), IFLA_INFO_KIND, OVPN_FAMILY_NAME,
rtattr_add_str(&req.nh, IFLA_INFO_KIND, link_type);
if (rtattr_pack(&req.nh, sizeof(req), IFLA_INFO_KIND, veth_type, sizeof(veth_type)))
if (rtattr_pack(&req.nh, sizeof(req), IFLA_INFO_KIND, vrf_type, sizeof(vrf_type)))