kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* Confusion about icsk_accept_queue
@ 2020-08-06 16:34 tianyu chen
  0 siblings, 0 replies; only message in thread
From: tianyu chen @ 2020-08-06 16:34 UTC (permalink / raw)
  To: kernelnewbies


[-- Attachment #1.1: Type: text/plain, Size: 702 bytes --]

When learning TCP three way handshake, I learn that TCP has a syn queue for
those connections that haven't been established, and an accept queue for
those who have been established. But I can only find one queue named
*icsk_accept_queue* in  *inet_connection_sock *struct, and I find that when
the function *tcp_conn_request() *is called, the connection in the queue
will be removed. But I haven't seen the connection being added to another
queue. The accept() just return this connection. So I'm really confused.

- Why is there only one queue *icsk_accept_queue?*

- Is  *icsk_accept_queue *the syn queue?

- If it is, then where is the accept queue?

Thanks for reading, hope for any possible help.

[-- Attachment #1.2: Type: text/html, Size: 871 bytes --]

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-08-19 17:51 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-06 16:34 Confusion about icsk_accept_queue tianyu chen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).