netdev
[Top] [All Lists]

tcp_poll? What is that?

To: "netdev@xxxxxxxxxxx" <netdev@xxxxxxxxxxx>
Subject: tcp_poll? What is that?
From: Andy <andy@xxxxxx>
Date: Mon, 10 Jul 2000 17:07:05 -0400
Sender: owner-netdev@xxxxxxxxxxx
Hello!

I am working on a new transport layer protocol and am using TCP as an
example.
Here is my problem. I found function tcp_poll (Linux 2.4 - pre3 test3:
net/ipv4/tcp.c:554).

The description says:

547 /*
548  *      Wait for a TCP event.
549  *
550  *      Note that we don't need to lock the socket, as the upper
poll layers
551  *      take care of normal races (between the test and the event)
and we don't
552  *      go look at any of the socket buffers directly.
553  */

Can anybody explain if this is used and what is the condition when this
is used?

                        Andy

<Prev in Thread] Current Thread [Next in Thread>