diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-08-23 20:22:24 -0400 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 17:55:51 -0400 |
commit | 7fc33165a74301b2c5c90b2f2a1f6907cbd5c6f1 (patch) | |
tree | 377c2299e95fcaae378a3498ccda7b09517722cc /include/net/ip6_fib.h | |
parent | fefc2a6c201aeafc1d0329a140de502d49f69d04 (diff) |
[IPV6] ROUTE: Put SUBTREE() as FIB6_SUBTREE() into ip6_fib.h for future use.
Based on MIPL2 kernel patch.
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: Ville Nuorvala <vnuorval@tcs.hut.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r-- | include/net/ip6_fib.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h index 9610b887ffb5..6a3f26a04509 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h | |||
@@ -60,6 +60,11 @@ struct fib6_node | |||
60 | __u32 fn_sernum; | 60 | __u32 fn_sernum; |
61 | }; | 61 | }; |
62 | 62 | ||
63 | #ifndef CONFIG_IPV6_SUBTREES | ||
64 | #define FIB6_SUBTREE(fn) NULL | ||
65 | #else | ||
66 | #define FIB6_SUBTREE(fn) ((fn)->subtree) | ||
67 | #endif | ||
63 | 68 | ||
64 | /* | 69 | /* |
65 | * routing information | 70 | * routing information |