netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* tcp_recvmsg()
@ 2003-10-24 11:07 an7
  0 siblings, 0 replies; only message in thread
From: an7 @ 2003-10-24 11:07 UTC (permalink / raw)
  To: netdev

Hi here,

I need a confirmation, please :

tcp_recvmsg() is called to retrieve messages from the
socket receive queue, isn't it ? It is used when
userland applications use the recv() call,from BSD
socket API 

as i said in a post before, i didn't understand a syn
check that was in this function.

Dave Miller told me the check was just here if one
day, the stack will allow data reception with a
syn/ack segment, with data attached (it is technically
possible).

When the established state is reached, the
syn/ack+data segment will be on the socket receive
queue, and so, we have to account for the syn sequence
number, as this sequence number doesn't correspond to
any real data byte.

So i need to effectively confirm that the
tcp_recvmsg() retrieves messages from the socket
receive queue, and which function is responsible for
putting packets in queue (i think it is tcp_data_queue
?)

Thanks

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

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

only message in thread, other threads:[~2003-10-24 11:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-24 11:07 tcp_recvmsg() an7

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).