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 | |
parent | 6882f933ccee5c3a86443ffc7621ce888b93ab6b (diff) | |
download | blackbird-op-linux-6bd023f3dddfc7c5f660089598c10e1f4167083b.tar.gz blackbird-op-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')
-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, 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, |