Lines Matching defs:tc_action
73 struct tc_action {
78 struct tc_action *next;
89 int (*act)(struct sk_buff *, struct tc_action *, struct tcf_result *);
90 int (*get_stats)(struct sk_buff *, struct tc_action *);
91 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
92 int (*cleanup)(struct tc_action *, int bind);
93 int (*lookup)(struct tc_action *, u32);
94 int (*init)(struct nlattr *, struct nlattr *, struct tc_action *, int , int);
95 int (*walk)(struct sk_buff *, struct netlink_callback *, int, struct tc_action *);
104 int type, struct tc_action *a);
106 extern int tcf_hash_search(struct tc_action *a, u32 index);
107 extern struct tcf_common *tcf_hash_check(u32 index, struct tc_action *a,
110 struct tc_action *a, int size,
117 extern void tcf_action_destroy(struct tc_action *a, int bind);
118 extern int tcf_action_exec(struct sk_buff *skb, struct tc_action *a, struct tcf_result *res);
119 extern struct tc_action *tcf_action_init(struct nlattr *nla, struct nlattr *est, char *n, int ovr, int bind);
120 extern struct tc_action *tcf_action_init_1(struct nlattr *nla, struct nlattr *est, char *n, int ovr, int bind);
121 extern int tcf_action_dump(struct sk_buff *skb, struct tc_action *a, int, int);
122 extern int tcf_action_dump_old(struct sk_buff *skb, struct tc_action *a, int, int);
123 extern int tcf_action_dump_1(struct sk_buff *skb, struct tc_action *a, int, int);
124 extern int tcf_action_copy_stats (struct sk_buff *,struct tc_action *, int);