Lines Matching refs:tc_action
23 struct tc_action {
96 int (*act)(struct sk_buff *, const struct tc_action *,
98 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
99 void (*cleanup)(struct tc_action *);
100 int (*lookup)(struct net *net, struct tc_action **a, u32 index);
102 struct nlattr *est, struct tc_action **act, int ovr,
109 void (*stats_update)(struct tc_action *, u64, u64, u64, u64, bool);
110 size_t (*get_fill_size)(const struct tc_action *act);
111 struct net_device *(*get_dev)(const struct tc_action *a,
114 (*get_psample_group)(const struct tc_action *a,
161 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index);
163 struct tc_action **a, const struct tc_action_ops *ops,
166 struct nlattr *est, struct tc_action **a,
169 void tcf_idr_insert_many(struct tc_action *actions[]);
172 struct tc_action **a, int bind);
173 int tcf_idr_release(struct tc_action *a, bool bind);
178 int tcf_action_destroy(struct tc_action *actions[], int bind);
179 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions,
183 struct tc_action *actions[], int init_res[], size_t *attr_size,
188 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
194 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
196 int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
197 int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);
199 static inline void tcf_action_update_bstats(struct tc_action *a,
211 static inline void tcf_action_inc_drop_qstats(struct tc_action *a)
222 static inline void tcf_action_inc_overlimit_qstats(struct tc_action *a)
233 void tcf_action_update_stats(struct tc_action *a, u64 bytes, u64 packets,
235 int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
240 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action,
244 static inline void tcf_action_stats_update(struct tc_action *a, u64 bytes,