vserver 1.9.3
[linux-2.6.git] / include / net / pkt_sched.h
index bce3aaf..dab127c 100644 (file)
@@ -80,6 +80,7 @@ struct Qdisc
        int                     padded;
        struct Qdisc_ops        *ops;
        u32                     handle;
+       u32                     parent;
        atomic_t                refcnt;
        struct sk_buff_head     q;
        struct net_device       *dev;
@@ -375,7 +376,7 @@ struct tc_action_ops
 extern int tcf_register_action(struct tc_action_ops *a);
 extern int tcf_unregister_action(struct tc_action_ops *a);
 extern void tcf_action_destroy(struct tc_action *a, int bind);
-extern int tcf_action_exec(struct sk_buff *skb, struct tc_action *a);
+extern int tcf_action_exec(struct sk_buff *skb, struct tc_action *a, struct tcf_result *res);
 extern int tcf_action_init(struct rtattr *rta, struct rtattr *est, struct tc_action *a,char *n, int ovr, int bind);
 extern int tcf_action_init_1(struct rtattr *rta, struct rtattr *est, struct tc_action *a,char *n, int ovr, int bind);
 extern int tcf_action_dump(struct sk_buff *skb, struct tc_action *a, int, int);