Lines Matching refs:exts
71 static inline void tcf_exts_init(struct tcf_exts *exts, int action, int police) in tcf_exts_init() argument
74 exts->type = 0; in tcf_exts_init()
75 INIT_LIST_HEAD(&exts->actions); in tcf_exts_init()
77 exts->action = action; in tcf_exts_init()
78 exts->police = police; in tcf_exts_init()
89 tcf_exts_is_predicative(struct tcf_exts *exts) in tcf_exts_is_predicative() argument
92 return !list_empty(&exts->actions); in tcf_exts_is_predicative()
105 tcf_exts_is_available(struct tcf_exts *exts) in tcf_exts_is_available() argument
108 return tcf_exts_is_predicative(exts); in tcf_exts_is_available()
123 tcf_exts_exec(struct sk_buff *skb, struct tcf_exts *exts, in tcf_exts_exec() argument
127 if (!list_empty(&exts->actions)) in tcf_exts_exec()
128 return tcf_action_exec(skb, &exts->actions, res); in tcf_exts_exec()
135 struct tcf_exts *exts, bool ovr);
136 void tcf_exts_destroy(struct tcf_exts *exts);
139 int tcf_exts_dump(struct sk_buff *skb, struct tcf_exts *exts);
140 int tcf_exts_dump_stats(struct sk_buff *skb, struct tcf_exts *exts);