Lines Matching refs:tc_action

24 struct tc_action {
113 int (*act)(struct sk_buff *, const struct tc_action *,
115 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
116 void (*cleanup)(struct tc_action *);
117 int (*lookup)(struct net *net, struct tc_action **a, u32 index);
119 struct nlattr *est, struct tc_action **act,
126 void (*stats_update)(struct tc_action *, u64, u64, u64, u64, bool);
127 size_t (*get_fill_size)(const struct tc_action *act);
128 struct net_device *(*get_dev)(const struct tc_action *a,
131 (*get_psample_group)(const struct tc_action *a,
133 int (*offload_act_setup)(struct tc_action *act, void *entry_data,
187 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index);
189 struct tc_action **a, const struct tc_action_ops *ops,
192 struct nlattr *est, struct tc_action **a,
195 void tcf_idr_insert_many(struct tc_action *actions[], int init_res[]);
198 struct tc_action **a, int bind);
199 int tcf_idr_release(struct tc_action *a, bool bind);
206 int tcf_action_destroy(struct tc_action *actions[], int bind);
207 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions,
211 struct tc_action *actions[], int init_res[], size_t *attr_size,
215 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
219 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
221 int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
222 int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);
224 static inline void tcf_action_update_bstats(struct tc_action *a,
236 static inline void tcf_action_inc_drop_qstats(struct tc_action *a)
247 static inline void tcf_action_inc_overlimit_qstats(struct tc_action *a)
258 void tcf_action_update_stats(struct tc_action *a, u64 bytes, u64 packets,
260 int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
262 int tcf_action_update_hw_stats(struct tc_action *action);
268 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action,
286 static inline void tcf_action_stats_update(struct tc_action *a, u64 bytes,