IFLA_GRE_ENCAP_TYPE
data[IFLA_GRE_ENCAP_TYPE] &&
nla_get_u16(data[IFLA_GRE_ENCAP_TYPE]) != TUNNEL_ENCAP_NONE)
if (data[IFLA_GRE_ENCAP_TYPE]) {
ipencap->type = nla_get_u16(data[IFLA_GRE_ENCAP_TYPE]);
if (nla_put_u16(skb, IFLA_GRE_ENCAP_TYPE,
[IFLA_GRE_ENCAP_TYPE] = { .type = NLA_U16 },
if (data[IFLA_GRE_ENCAP_TYPE]) {
ipencap->type = nla_get_u16(data[IFLA_GRE_ENCAP_TYPE]);
if (nla_put_u16(skb, IFLA_GRE_ENCAP_TYPE,
[IFLA_GRE_ENCAP_TYPE] = { .type = NLA_U16 },