Lines Matching refs:tc_action
23 struct tc_action { struct
89 int (*act)(struct sk_buff *, const struct tc_action *,
91 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
92 void (*cleanup)(struct tc_action *);
93 int (*lookup)(struct net *net, struct tc_action **a, u32 index);
95 struct nlattr *est, struct tc_action **act, int ovr,
102 void (*stats_update)(struct tc_action *, u64, u32, u64, bool);
103 size_t (*get_fill_size)(const struct tc_action *act);
104 struct net_device *(*get_dev)(const struct tc_action *a,
107 (*get_psample_group)(const struct tc_action *a,
154 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index);
156 struct tc_action **a, const struct tc_action_ops *ops,
158 void tcf_idr_insert(struct tc_action_net *tn, struct tc_action *a);
162 struct tc_action **a, int bind);
163 int __tcf_idr_release(struct tc_action *a, bool bind, bool strict);
165 static inline int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release()
173 int tcf_action_destroy(struct tc_action *actions[], int bind);
174 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions,
178 struct tc_action *actions[], size_t *attr_size,
180 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
185 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
187 int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
188 int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);
189 int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
194 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action,
198 static inline void tcf_action_stats_update(struct tc_action *a, u64 bytes, in tcf_action_stats_update()