Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/net/sched/
H A Dact_mpls.c146 [TCA_MPLS_PROTO] = { .type = NLA_U16 },
189 if (!tb[TCA_MPLS_PROTO]) { in tcf_mpls_init()
193 if (!eth_proto_is_802_3(nla_get_be16(tb[TCA_MPLS_PROTO]))) { in tcf_mpls_init()
204 if (tb[TCA_MPLS_PROTO] || tb[TCA_MPLS_LABEL] || in tcf_mpls_init()
216 if (tb[TCA_MPLS_PROTO] && in tcf_mpls_init()
217 !eth_p_mpls(nla_get_be16(tb[TCA_MPLS_PROTO]))) { in tcf_mpls_init()
232 if (tb[TCA_MPLS_PROTO]) { in tcf_mpls_init()
284 p->tcfm_proto = tb[TCA_MPLS_PROTO] ? nla_get_be16(tb[TCA_MPLS_PROTO]) : in tcf_mpls_init()
352 if (nla_put_be16(skb, TCA_MPLS_PROTO, p->tcfm_proto)) in tcf_mpls_dump()
/OK3568_Linux_fs/kernel/include/uapi/linux/tc_act/
H A Dtc_mpls.h25 TCA_MPLS_PROTO, /* be16; eth_type of pushed or next (for pop) header. */ enumerator