diff options
author | David S. Miller <davem@davemloft.net> | 2011-05-18 18:32:03 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-05-18 18:32:03 -0400 |
commit | 6bd023f3dddfc7c5f660089598c10e1f4167083b (patch) | |
tree | 925a7a31d3db434cfda8679cb46e466697ef8bdd /include/net/inet_connection_sock.h | |
parent | 6882f933ccee5c3a86443ffc7621ce888b93ab6b (diff) |
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.h | 1 |
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, | |||
249 | extern int inet_csk_get_port(struct sock *sk, unsigned short snum); | 249 | extern int inet_csk_get_port(struct sock *sk, unsigned short snum); |
250 | 250 | ||
251 | extern struct dst_entry* inet_csk_route_req(struct sock *sk, | 251 | extern struct dst_entry* inet_csk_route_req(struct sock *sk, |
252 | struct flowi4 *fl4, | ||
252 | const struct request_sock *req); | 253 | const struct request_sock *req); |
253 | extern struct dst_entry* inet_csk_route_child_sock(struct sock *sk, | 254 | extern struct dst_entry* inet_csk_route_child_sock(struct sock *sk, |
254 | struct sock *newsk, | 255 | struct sock *newsk, |