TCA_MPLS_PROTO
[TCA_MPLS_PROTO] = { .type = NLA_U16 },
if (!tb[TCA_MPLS_PROTO]) {
if (!eth_proto_is_802_3(nla_get_be16(tb[TCA_MPLS_PROTO]))) {
if (tb[TCA_MPLS_PROTO] || tb[TCA_MPLS_LABEL] ||
if (tb[TCA_MPLS_PROTO] &&
!eth_p_mpls(nla_get_be16(tb[TCA_MPLS_PROTO]))) {
if (tb[TCA_MPLS_PROTO]) {
p->tcfm_proto = nla_get_be16_default(tb[TCA_MPLS_PROTO],
if (nla_put_be16(skb, TCA_MPLS_PROTO, p->tcfm_proto))