Lines Matching refs:tc_action

24 struct tc_action {  struct
121 int (*act)(struct sk_buff *, const struct tc_action *,
123 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
124 void (*cleanup)(struct tc_action *);
125 int (*lookup)(struct net *net, struct tc_action **a, u32 index);
127 struct nlattr *est, struct tc_action **act,
134 void (*stats_update)(struct tc_action *, u64, u64, u64, u64, bool);
135 size_t (*get_fill_size)(const struct tc_action *act);
136 struct net_device *(*get_dev)(const struct tc_action *a,
139 (*get_psample_group)(const struct tc_action *a,
141 int (*offload_act_setup)(struct tc_action *act, void *entry_data,
193 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index);
195 struct tc_action **a, const struct tc_action_ops *ops,
198 struct nlattr *est, struct tc_action **a,
201 void tcf_idr_insert_many(struct tc_action *actions[], int init_res[]);
204 struct tc_action **a, int bind);
205 int tcf_idr_release(struct tc_action *a, bool bind);
212 int tcf_action_destroy(struct tc_action *actions[], int bind);
213 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions,
217 struct tc_action *actions[], int init_res[], size_t *attr_size,
221 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
225 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
227 int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
229 static inline void tcf_action_update_bstats(struct tc_action *a, in tcf_action_update_bstats()
241 static inline void tcf_action_inc_drop_qstats(struct tc_action *a) in tcf_action_inc_drop_qstats()
250 static inline void tcf_action_inc_overlimit_qstats(struct tc_action *a) in tcf_action_inc_overlimit_qstats()
259 void tcf_action_update_stats(struct tc_action *a, u64 bytes, u64 packets,
261 int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
263 int tcf_action_update_hw_stats(struct tc_action *action);
269 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action,
287 static inline void tcf_action_stats_update(struct tc_action *a, u64 bytes, in tcf_action_stats_update()