aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/ip6_route.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_route.h
parentinetpeer: Add inet_getpeer_v6() (diff)
downloadlinux-dev-b3419363808f2481b24a817f491878e1795db4c7.tar.xz
linux-dev-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_route.h')
-rw-r--r--include/net/ip6_route.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/ip6_route.h b/include/net/ip6_route.h
index 278312c95f96..23fed28db4bb 100644
--- a/include/net/ip6_route.h
+++ b/include/net/ip6_route.h
@@ -56,6 +56,9 @@ static inline unsigned int rt6_flags2srcprefs(int flags)
return (flags >> 3) & 7;
}
+extern void rt6_bind_peer(struct rt6_info *rt,
+ int create);
+
extern void ip6_route_input(struct sk_buff *skb);
extern struct dst_entry * ip6_route_output(struct net *net,