Lines Matching refs:a
38 #define to_ct(a) ((struct tcf_ct *)a) argument
39 #define to_ct_params(a) \ argument
41 rcu_dereference_protected(to_ct(a)->params, \
42 lockdep_is_held(&a->tcfa_lock)))
44 static inline uint16_t tcf_ct_zone(const struct tc_action *a) in tcf_ct_zone() argument
46 return to_ct_params(a)->zone; in tcf_ct_zone()
49 static inline int tcf_ct_action(const struct tc_action *a) in tcf_ct_action() argument
51 return to_ct_params(a)->ct_action; in tcf_ct_action()
54 static inline struct nf_flowtable *tcf_ct_ft(const struct tc_action *a) in tcf_ct_ft() argument
56 return to_ct_params(a)->nf_ft; in tcf_ct_ft()
60 static inline uint16_t tcf_ct_zone(const struct tc_action *a) { return 0; } in tcf_ct_zone() argument
61 static inline int tcf_ct_action(const struct tc_action *a) { return 0; } in tcf_ct_action() argument
62 static inline struct nf_flowtable *tcf_ct_ft(const struct tc_action *a) in tcf_ct_ft() argument
84 static inline bool is_tcf_ct(const struct tc_action *a) in is_tcf_ct() argument
87 if (a->ops && a->ops->id == TCA_ID_CT) in is_tcf_ct()