Home
last modified time | relevance | path

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

/linux-6.1.9/net/sched/
Dact_mpls.c150 [TCA_MPLS_PROTO] = { .type = NLA_U16 },
194 if (!tb[TCA_MPLS_PROTO]) { in tcf_mpls_init()
198 if (!eth_proto_is_802_3(nla_get_be16(tb[TCA_MPLS_PROTO]))) { in tcf_mpls_init()
209 if (tb[TCA_MPLS_PROTO] || tb[TCA_MPLS_LABEL] || in tcf_mpls_init()
221 if (tb[TCA_MPLS_PROTO] && in tcf_mpls_init()
222 !eth_p_mpls(nla_get_be16(tb[TCA_MPLS_PROTO]))) { in tcf_mpls_init()
237 if (tb[TCA_MPLS_PROTO]) { in tcf_mpls_init()
289 p->tcfm_proto = tb[TCA_MPLS_PROTO] ? nla_get_be16(tb[TCA_MPLS_PROTO]) : in tcf_mpls_init()
357 if (nla_put_be16(skb, TCA_MPLS_PROTO, p->tcfm_proto)) in tcf_mpls_dump()
/linux-6.1.9/include/uapi/linux/tc_act/
Dtc_mpls.h25 TCA_MPLS_PROTO, /* be16; eth_type of pushed or next (for pop) header. */ enumerator