Home
last modified time | relevance | path

Searched refs:TCA_MPLS_PROTO (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/net/sched/
H A Dact_mpls.c152 [TCA_MPLS_PROTO] = { .type = NLA_U16 },
217 if (!tb[TCA_MPLS_PROTO]) { in tcf_mpls_init()
222 if (!eth_proto_is_802_3(nla_get_be16(tb[TCA_MPLS_PROTO]))) { in tcf_mpls_init()
235 if (tb[TCA_MPLS_PROTO] || tb[TCA_MPLS_LABEL] || in tcf_mpls_init()
249 if (tb[TCA_MPLS_PROTO] && in tcf_mpls_init()
250 !eth_p_mpls(nla_get_be16(tb[TCA_MPLS_PROTO]))) { in tcf_mpls_init()
266 if (tb[TCA_MPLS_PROTO]) { in tcf_mpls_init()
299 p->tcfm_proto = tb[TCA_MPLS_PROTO] ? nla_get_be16(tb[TCA_MPLS_PROTO]) : in tcf_mpls_init()
367 if (nla_put_be16(skb, TCA_MPLS_PROTO, p->tcfm_proto)) in tcf_mpls_dump()
/openbmc/linux/include/uapi/linux/tc_act/
H A Dtc_mpls.h25 TCA_MPLS_PROTO, /* be16; eth_type of pushed or next (for pop) header. */ enumerator