Lines Matching refs:tc_action

23 struct tc_action {  struct
104 int (*act)(struct sk_buff *, const struct tc_action *,
106 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
107 void (*cleanup)(struct tc_action *);
108 int (*lookup)(struct net *net, struct tc_action **a, u32 index);
110 struct nlattr *est, struct tc_action **act,
117 void (*stats_update)(struct tc_action *, u64, u64, u64, u64, bool);
118 size_t (*get_fill_size)(const struct tc_action *act);
119 struct net_device *(*get_dev)(const struct tc_action *a,
122 (*get_psample_group)(const struct tc_action *a,
169 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index);
171 struct tc_action **a, const struct tc_action_ops *ops,
174 struct nlattr *est, struct tc_action **a,
177 void tcf_idr_insert_many(struct tc_action *actions[]);
180 struct tc_action **a, int bind);
181 int tcf_idr_release(struct tc_action *a, bool bind);
186 int tcf_action_destroy(struct tc_action *actions[], int bind);
187 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions,
191 struct tc_action *actions[], int init_res[], size_t *attr_size,
196 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
200 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
202 int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
203 int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);
205 static inline void tcf_action_update_bstats(struct tc_action *a, in tcf_action_update_bstats()
217 static inline void tcf_action_inc_drop_qstats(struct tc_action *a) in tcf_action_inc_drop_qstats()
228 static inline void tcf_action_inc_overlimit_qstats(struct tc_action *a) in tcf_action_inc_overlimit_qstats()
239 void tcf_action_update_stats(struct tc_action *a, u64 bytes, u64 packets,
241 int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
246 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action,
256 static inline void tcf_action_stats_update(struct tc_action *a, u64 bytes, in tcf_action_stats_update()