summaryrefslogtreecommitdiffstats
path: root/include/net/inet_connection_sock.h
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2011-05-19 00:32:03 +0200
committerDavid S. Miller <davem@davemloft.net>2011-05-19 00:32:03 +0200
commit6bd023f3dddfc7c5f660089598c10e1f4167083b (patch)
tree925a7a31d3db434cfda8679cb46e466697ef8bdd /include/net/inet_connection_sock.h
parentipv4: Kill RT_CACHE_DEBUG (diff)
downloadlinux-6bd023f3dddfc7c5f660089598c10e1f4167083b.tar.xz
linux-6bd023f3dddfc7c5f660089598c10e1f4167083b.zip
ipv4: Make caller provide flowi4 key to inet_csk_route_req().
This way the caller can get at the fully resolved fl4->{daddr,saddr} etc. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/inet_connection_sock.h')
-rw-r--r--include/net/inet_connection_sock.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h
index 96546cae1cba..e6db62e756dc 100644
--- a/include/net/inet_connection_sock.h
+++ b/include/net/inet_connection_sock.h
@@ -249,6 +249,7 @@ extern int inet_csk_bind_conflict(const struct sock *sk,
extern int inet_csk_get_port(struct sock *sk, unsigned short snum);
extern struct dst_entry* inet_csk_route_req(struct sock *sk,
+ struct flowi4 *fl4,
const struct request_sock *req);
extern struct dst_entry* inet_csk_route_child_sock(struct sock *sk,
struct sock *newsk,