diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-08-23 20:25:05 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:55:56 -0400 |
commit | 77d16f450ae0452d7d4b009f78debb1294fb435c (patch) | |
tree | 464c7c05b32a03068f47af064285a9bce876962d /include | |
parent | 4e96c2b4180aff4f080b77314712073c6ca430e7 (diff) |
[IPV6] ROUTE: Unify RT6_F_xxx and RT6_SELECT_F_xxx flags
Unify RT6_F_xxx and RT6_SELECT_F_xxx flags into
RT6_LOOKUP_F_xxx flags, and put them into ip6_route.h
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Acked-by: Ville Nuorvala <vnuorval@tcs.hut.fi
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/net/ip6_fib.h | 3 | ||||
-rw-r--r-- | include/net/ip6_route.h | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 6a3f26a04509..e4438de3bd6b 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h | |||
@@ -173,9 +173,6 @@ struct fib6_table { | |||
173 | #define RT6_TABLE_LOCAL RT6_TABLE_MAIN | 173 | #define RT6_TABLE_LOCAL RT6_TABLE_MAIN |
174 | #endif | 174 | #endif |
175 | 175 | ||
176 | #define RT6_F_STRICT 1 | ||
177 | #define RT6_F_HAS_SADDR 2 | ||
178 | |||
179 | typedef struct rt6_info *(*pol_lookup_t)(struct fib6_table *, | 176 | typedef struct rt6_info *(*pol_lookup_t)(struct fib6_table *, |
180 | struct flowi *, int); | 177 | struct flowi *, int); |
181 | 178 | ||
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h index 0d40f84df21b..297909570041 100644 --- a/include/net/ip6_route.h +++ b/include/net/ip6_route.h | |||
@@ -32,6 +32,10 @@ struct route_info { | |||
32 | #include <linux/ip.h> | 32 | #include <linux/ip.h> |
33 | #include <linux/ipv6.h> | 33 | #include <linux/ipv6.h> |
34 | 34 | ||
35 | #define RT6_LOOKUP_F_IFACE 0x1 | ||
36 | #define RT6_LOOKUP_F_REACHABLE 0x2 | ||
37 | #define RT6_LOOKUP_F_HAS_SADDR 0x4 | ||
38 | |||
35 | struct pol_chain { | 39 | struct pol_chain { |
36 | int type; | 40 | int type; |
37 | int priority; | 41 | int priority; |