diff options
author | YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> | 2006-08-23 17:22:24 -0700 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-09-22 14:55:51 -0700 |
commit | 7fc33165a74301b2c5c90b2f2a1f6907cbd5c6f1 (patch) | |
tree | 377c2299e95fcaae378a3498ccda7b09517722cc /include | |
parent | fefc2a6c201aeafc1d0329a140de502d49f69d04 (diff) | |
download | op-kernel-dev-7fc33165a74301b2c5c90b2f2a1f6907cbd5c6f1.zip op-kernel-dev-7fc33165a74301b2c5c90b2f2a1f6907cbd5c6f1.tar.gz |
[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')
-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 9610b887f..6a3f26a 100644 --- a/include/net/ip6_fib.h +++ b/include/net/ip6_fib.h @@ -60,6 +60,11 @@ struct fib6_node __u32 fn_sernum; }; +#ifndef CONFIG_IPV6_SUBTREES +#define FIB6_SUBTREE(fn) NULL +#else +#define FIB6_SUBTREE(fn) ((fn)->subtree) +#endif /* * routing information |