aboutsummaryrefslogtreecommitdiffstats
path: root/include/net
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@mandriva.com>2005-12-14 02:14:47 -0500
committerDavid S. Miller <davem@sunset.davemloft.net>2006-01-03 16:10:33 -0500
commit971af18bbfabb7b7c9c548da34a51e30869c08fc (patch)
tree02597aa6885b9937e1d6526f4789d6841953d551 /include/net
parent89cee8b1cbb9dac40c92ef1968aea2b45f82fd18 (diff)
[IPV6]: Reuse inet_csk_get_port in tcp_v6_get_port
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/inet_connection_sock.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h
index b0c99060b78d..edc68e858d51 100644
--- a/include/net/inet_connection_sock.h
+++ b/include/net/inet_connection_sock.h
@@ -192,8 +192,12 @@ extern struct request_sock *inet_csk_search_req(const struct sock *sk,
192 const __u16 rport, 192 const __u16 rport,
193 const __u32 raddr, 193 const __u32 raddr,
194 const __u32 laddr); 194 const __u32 laddr);
195extern int inet_csk_bind_conflict(const struct sock *sk,
196 const struct inet_bind_bucket *tb);
195extern int inet_csk_get_port(struct inet_hashinfo *hashinfo, 197extern int inet_csk_get_port(struct inet_hashinfo *hashinfo,
196 struct sock *sk, unsigned short snum); 198 struct sock *sk, unsigned short snum,
199 int (*bind_conflict)(const struct sock *sk,
200 const struct inet_bind_bucket *tb));
197 201
198extern struct dst_entry* inet_csk_route_req(struct sock *sk, 202extern struct dst_entry* inet_csk_route_req(struct sock *sk,
199 const struct request_sock *req); 203 const struct request_sock *req);