]> err.no Git - linux-2.6/blobdiff - include/net/ip6_fib.h
[PATCH] make 1-bit bitfields unsigned
[linux-2.6] / include / net / ip6_fib.h
index 6a3f26a04509c8cfcbb64f4b308e4343864605a5..f9cde44f93b44be4e104812f056b813d59e603c6 100644 (file)
@@ -107,6 +107,11 @@ struct rt6_info
        u8                              rt6i_protocol;
 };
 
+static inline struct inet6_dev *ip6_dst_idev(struct dst_entry *dst)
+{
+       return ((struct rt6_info *)dst)->rt6i_idev;
+}
+
 struct fib6_walker_t
 {
        struct fib6_walker_t *prev, *next;
@@ -173,9 +178,6 @@ struct fib6_table {
 #define RT6_TABLE_LOCAL                RT6_TABLE_MAIN
 #endif
 
-#define RT6_F_STRICT           1
-#define RT6_F_HAS_SADDR                2
-
 typedef struct rt6_info *(*pol_lookup_t)(struct fib6_table *,
                                         struct flowi *, int);