Home
last modified time | relevance | path

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

/linux/net/sched/
H A Dact_mpls.c150 [TCA_MPLS_PROTO] = { .type = NLA_U16 },
215 if (!tb[TCA_MPLS_PROTO]) { in tcf_mpls_init()
220 if (!eth_proto_is_802_3(nla_get_be16(tb[TCA_MPLS_PROTO]))) { in tcf_mpls_init()
233 if (tb[TCA_MPLS_PROTO] || tb[TCA_MPLS_LABEL] || in tcf_mpls_init()
247 if (tb[TCA_MPLS_PROTO] && in tcf_mpls_init()
248 !eth_p_mpls(nla_get_be16(tb[TCA_MPLS_PROTO]))) { in tcf_mpls_init()
264 if (tb[TCA_MPLS_PROTO]) { in tcf_mpls_init()
295 p->tcfm_proto = nla_get_be16_default(tb[TCA_MPLS_PROTO], in tcf_mpls_init()
364 if (nla_put_be16(skb, TCA_MPLS_PROTO, p->tcfm_proto)) in tcf_mpls_dump()
/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