summaryrefslogtreecommitdiffstats
path: root/include/net/ip6_fib.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-11-30 12:27:11 -0800
committerDavid S. Miller <davem@davemloft.net>2010-11-30 12:27:11 -0800
commitb3419363808f2481b24a817f491878e1795db4c7 (patch)
tree76cfa3c55d6798a9bf25d200778dc212841f6cb0 /include/net/ip6_fib.h
parent672f007d65f50468a4a1e55825fe58e5b035324d (diff)
downloadlinux-b3419363808f2481b24a817f491878e1795db4c7.tar.gz
linux-b3419363808f2481b24a817f491878e1795db4c7.tar.bz2
linux-b3419363808f2481b24a817f491878e1795db4c7.zip
ipv6: Add infrastructure to bind inet_peer objects to routes.
They are only allowed on cached ipv6 routes. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/ip6_fib.h')
-rw-r--r--include/net/ip6_fib.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/net/ip6_fib.h b/include/net/ip6_fib.h
index 062a823d311c..708ff7cb8806 100644
--- a/include/net/ip6_fib.h
+++ b/include/net/ip6_fib.h
@@ -21,6 +21,7 @@
#include <net/dst.h>
#include <net/flow.h>
#include <net/netlink.h>
+#include <net/inetpeer.h>
#ifdef CONFIG_IPV6_MULTIPLE_TABLES
#define FIB6_TABLE_HASHSZ 256
@@ -109,6 +110,7 @@ struct rt6_info {
u32 rt6i_metric;
struct inet6_dev *rt6i_idev;
+ struct inet_peer *rt6i_peer;
#ifdef CONFIG_XFRM
u32 rt6i_flow_cache_genid;