aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@ghostprotocols.net>2005-08-09 23:11:41 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2005-08-29 18:49:24 -0400
commit0a5578cf8e5e045aaa68643c17ce885426697c6b (patch)
tree1c58ba5c3236499ec5abeedcc43faa7bed816b07 /include/net/tcp.h
parent9f1d2604c71498579609b1532fedc5a89276bb00 (diff)
[ICSK]: Generalise tcp_listen_{start,stop}
This also moved inet_iif from tcp to inet_hashtables.h, as it is needed by the inet_lookup callers, perhaps this needs a bit of polishing, but for now seems fine. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index dd9a5a288f88..68f1ec1c583a 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -860,7 +860,7 @@ static __inline__ void tcp_update_wl(struct tcp_sock *tp, u32 ack, u32 seq)
860 tp->snd_wl1 = seq; 860 tp->snd_wl1 = seq;
861} 861}
862 862
863extern void tcp_destroy_sock(struct sock *sk); 863extern void inet_csk_destroy_sock(struct sock *sk);
864 864
865 865
866/* 866/*
@@ -987,7 +987,7 @@ static __inline__ void tcp_done(struct sock *sk)
987 if (!sock_flag(sk, SOCK_DEAD)) 987 if (!sock_flag(sk, SOCK_DEAD))
988 sk->sk_state_change(sk); 988 sk->sk_state_change(sk);
989 else 989 else
990 tcp_destroy_sock(sk); 990 inet_csk_destroy_sock(sk);
991} 991}
992 992
993static __inline__ void tcp_sack_reset(struct tcp_options_received *rx_opt) 993static __inline__ void tcp_sack_reset(struct tcp_options_received *rx_opt)