ipv6: use standard lists for FIB walks
[linux-2.6-block.git] / include / net / ip6_fib.h
index 257808188add82c22d275e0fd3139c128e8ec4eb..86f46c49e3183da8484d436a8aa2cf7dbe2418e7 100644 (file)
@@ -124,11 +124,13 @@ static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst)
 }
 
 struct fib6_walker_t {
-       struct fib6_walker_t *prev, *next;
+       struct list_head lh;
        struct fib6_node *root, *node;
        struct rt6_info *leaf;
        unsigned char state;
        unsigned char prune;
+       unsigned int skip;
+       unsigned int count;
        int (*func)(struct fib6_walker_t *);
        void *args;
 };