RTA_ENCAP_TYPE
nla_entype = nla_find(attrs, attrlen, RTA_ENCAP_TYPE);
[RTA_ENCAP_TYPE] = { .type = NLA_U16 },
case RTA_ENCAP_TYPE:
RTA_ENCAP, RTA_ENCAP_TYPE) < 0)
nla = nla_find(attrs, attrlen, RTA_ENCAP_TYPE);
if (lwtunnel_fill_encap(skb, rt->dst.lwtstate, RTA_ENCAP, RTA_ENCAP_TYPE) < 0)
[RTA_ENCAP_TYPE] = { .type = NLA_U16 },
if (tb[RTA_ENCAP_TYPE]) {
cfg->fc_encap_type = nla_get_u16(tb[RTA_ENCAP_TYPE]);
nla = nla_find(attrs, attrlen, RTA_ENCAP_TYPE);
if (lwtunnel_fill_encap(skb, dst->lwtstate, RTA_ENCAP, RTA_ENCAP_TYPE) < 0)