summaryrefslogtreecommitdiffstats
path: root/include/net/inet6_connection_sock.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-12-02 19:59:22 +0100
committerDavid S. Miller <davem@davemloft.net>2010-12-02 19:59:22 +0100
commitae4694b2d3e4c0f47c0e804a68417be57e5daf85 (patch)
treef432ea91b11a003f70e27c346252db91d5876bd0 /include/net/inet6_connection_sock.h
parentipv6: Add rt6_get_peer() helper. (diff)
downloadlinux-ae4694b2d3e4c0f47c0e804a68417be57e5daf85.tar.xz
linux-ae4694b2d3e4c0f47c0e804a68417be57e5daf85.zip
ipv6: Create inet6_csk_route_req().
Brother of ipv4's inet_csk_route_req(). Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet6_connection_sock.h')
-rw-r--r--include/net/inet6_connection_sock.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/net/inet6_connection_sock.h b/include/net/inet6_connection_sock.h
index aae08f686633..ff013505236b 100644
--- a/include/net/inet6_connection_sock.h
+++ b/include/net/inet6_connection_sock.h
@@ -25,6 +25,9 @@ struct sockaddr;
extern int inet6_csk_bind_conflict(const struct sock *sk,
const struct inet_bind_bucket *tb);
+extern struct dst_entry* inet6_csk_route_req(struct sock *sk,
+ const struct request_sock *req);
+
extern struct request_sock *inet6_csk_search_req(const struct sock *sk,
struct request_sock ***prevp,
const __be16 rport,