net: sched: introduce helpers to work with filter chains
[platform/kernel/linux-rpi.git] / include / net / sch_generic.h
index 98cf2f2..52bceed 100644 (file)
@@ -248,10 +248,15 @@ struct qdisc_skb_cb {
        unsigned char           data[QDISC_CB_PRIV_LEN];
 };
 
-struct tcf_block {
+struct tcf_chain {
+       struct tcf_proto __rcu *filter_chain;
        struct tcf_proto __rcu **p_filter_chain;
 };
 
+struct tcf_block {
+       struct tcf_chain *chain;
+};
+
 static inline void qdisc_cb_private_validate(const struct sk_buff *skb, int sz)
 {
        struct qdisc_skb_cb *qcb;