Lines Matching refs:tc_action

22 struct tc_action {  struct
84 int (*act)(struct sk_buff *, const struct tc_action *,
86 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
87 void (*cleanup)(struct tc_action *);
88 int (*lookup)(struct net *net, struct tc_action **a, u32 index,
91 struct nlattr *est, struct tc_action **act, int ovr,
98 void (*stats_update)(struct tc_action *, u64, u32, u64);
99 size_t (*get_fill_size)(const struct tc_action *act);
100 struct net_device *(*get_dev)(const struct tc_action *a);
146 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index);
148 struct tc_action **a, const struct tc_action_ops *ops,
150 void tcf_idr_insert(struct tc_action_net *tn, struct tc_action *a);
154 struct tc_action **a, int bind);
155 int __tcf_idr_release(struct tc_action *a, bool bind, bool strict);
157 static inline int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release()
165 int tcf_action_destroy(struct tc_action *actions[], int bind);
166 int tcf_action_exec(struct sk_buff *skb, struct tc_action **actions,
170 struct tc_action *actions[], size_t *attr_size,
172 struct tc_action *tcf_action_init_1(struct net *net, struct tcf_proto *tp,
177 int tcf_action_dump(struct sk_buff *skb, struct tc_action *actions[], int bind,
179 int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
180 int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);
181 int tcf_action_copy_stats(struct sk_buff *, struct tc_action *, int);
185 static inline void tcf_action_stats_update(struct tc_action *a, u64 bytes, in tcf_action_stats_update()