Lines Matching refs:a
28 #define to_mpls(a) ((struct tcf_mpls *)a) argument
30 static inline bool is_tcf_mpls(const struct tc_action *a) in is_tcf_mpls() argument
33 if (a->ops && a->ops->id == TCA_ID_MPLS) in is_tcf_mpls()
39 static inline u32 tcf_mpls_action(const struct tc_action *a) in tcf_mpls_action() argument
44 tcfm_action = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_action; in tcf_mpls_action()
50 static inline __be16 tcf_mpls_proto(const struct tc_action *a) in tcf_mpls_proto() argument
55 tcfm_proto = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_proto; in tcf_mpls_proto()
61 static inline u32 tcf_mpls_label(const struct tc_action *a) in tcf_mpls_label() argument
66 tcfm_label = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_label; in tcf_mpls_label()
72 static inline u8 tcf_mpls_tc(const struct tc_action *a) in tcf_mpls_tc() argument
77 tcfm_tc = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_tc; in tcf_mpls_tc()
83 static inline u8 tcf_mpls_bos(const struct tc_action *a) in tcf_mpls_bos() argument
88 tcfm_bos = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_bos; in tcf_mpls_bos()
94 static inline u8 tcf_mpls_ttl(const struct tc_action *a) in tcf_mpls_ttl() argument
99 tcfm_ttl = rcu_dereference(to_mpls(a)->mpls_p)->tcfm_ttl; in tcf_mpls_ttl()