mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
[ICSK]: Move generalised functions from tcp to inet_connection_sock
This also improves reqsk_queue_prune and renames it to inet_csk_reqsk_queue_prune, as it deals with both inet_connection_sock and inet_request_sock objects, not just with request_sock ones thus belonging to inet_request_sock. Signed-off-by: Arnaldo Carvalho de Melo <acme@ghostprotocols.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
7c657876b6
commit
a019d6fe2b
7 changed files with 224 additions and 226 deletions
|
@ -423,9 +423,6 @@ extern int tcp_recvmsg(struct kiocb *iocb, struct sock *sk,
|
|||
size_t len, int nonblock,
|
||||
int flags, int *addr_len);
|
||||
|
||||
extern int inet_csk_listen_start(struct sock *sk,
|
||||
const int nr_table_entries);
|
||||
|
||||
extern void tcp_parse_options(struct sk_buff *skb,
|
||||
struct tcp_options_received *opt_rx,
|
||||
int estab);
|
||||
|
@ -861,9 +858,6 @@ static __inline__ void tcp_update_wl(struct tcp_sock *tp, u32 ack, u32 seq)
|
|||
tp->snd_wl1 = seq;
|
||||
}
|
||||
|
||||
extern void inet_csk_destroy_sock(struct sock *sk);
|
||||
|
||||
|
||||
/*
|
||||
* Calculate(/check) TCP checksum
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue