aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authordavem <davem>2001-10-26 14:51:13 +0000
committerdavem <davem>2001-10-26 14:51:13 +0000
commit71f6ce735959f76b56268910b39a2b8ea981813a (patch)
tree4dda5477e5ec129122a210c4531035b92cd7fbbe /include
parentf1c30d5d5d9ea42fb111beddffd9c44e8f1139b6 (diff)
downloadnetdev-vger-cvs-71f6ce735959f76b56268910b39a2b8ea981813a.tar.gz
On connect, allow TCP to allocate local ports multiple
times if the destination IP is different. From Andi Kleen.
Diffstat (limited to 'include')
-rw-r--r--include/net/tcp.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 2cd60784a..fd137efd8 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -568,9 +568,7 @@ struct tcp_func {
struct sk_buff *skb,
struct open_request *req,
struct dst_entry *dst);
-
- int (*hash_connecting) (struct sock *sk);
-
+
int (*remember_stamp) (struct sock *sk);
__u16 net_header_len;
@@ -772,8 +770,9 @@ extern int tcp_v4_connect(struct sock *sk,
struct sockaddr *uaddr,
int addr_len);
-extern int tcp_connect(struct sock *sk,
- struct sk_buff *skb);
+extern void tcp_connect_init(struct sock *sk);
+
+extern void tcp_connect_send(struct sock *sk, struct sk_buff *skb);
extern struct sk_buff * tcp_make_synack(struct sock *sk,
struct dst_entry *dst,