Lines Matching full:sockets

10  * - There are two kinds of sockets: those created by user action (such as
13 * - There are two "global" tables, one for bound sockets (sockets that have
15 * sockets (sockets that have established a connection with another socket).
16 * These tables are "global" in that all sockets on the system are placed
18 * for a list of unbound sockets and SOCK_DGRAM sockets will always remain in
19 * that list. The bound table is used solely for lookup of sockets when packets
20 * are received and that's not necessary for SOCK_DGRAM sockets since we create
22 * sockets out of the bound hash buckets will reduce the chance of collisions
23 * when looking for SOCK_STREAM sockets and prevents us from having to check the
26 * - Sockets created by user action will either be "client" sockets that
27 * initiate a connection or "server" sockets that listen for connections; we do
28 * not support simultaneous connects (two "client" sockets connecting).
30 * - "Server" sockets are referred to as listener sockets throughout this
34 * sockets are placed on the pending connection list of the listener socket.
40 * socket's accept queue. Callers of accept(2) will accept connected sockets
46 * - It is possible that these pending sockets will never reach the connected
53 * function will also cleanup rejected sockets, those that reach the connected
56 * - Lock ordering for pending or accept queue sockets is:
64 * - Sockets created by user action will be cleaned up when the user process
68 * perform additional cleanup that's common for both types of sockets.
155 * Unbound sockets are all put on the same list attached to the end of the hash
156 * table (vsock_unbound_sockets). Bound sockets are added to the hash table in
162 * vsock_bind_table[VSOCK_HASH_SIZE - 1] are for bound sockets and
163 * vsock_bind_table[VSOCK_HASH_SIZE] is for unbound sockets. The hash function
495 * while there are open sockets assigned to it. in vsock_assign_transport()
601 * just need to drop our references to the sockets and be on in vsock_pending_work()
608 /* We need to remove ourself from the global connected sockets list so in vsock_pending_work()
672 /* Remove connection oriented sockets from the unbound list and add them in __vsock_bind_connectible()
746 * non-NULL. We make sure that our sockets always have a type by in __vsock_create()
824 /* Clean up any sockets that never were accepted. */ in __vsock_release()
1043 /* INET sockets treat local write shutdown and peer write shutdown as a in vsock_poll()
1058 /* For datagram sockets we can read if there is something in in vsock_poll()
1077 /* Listening sockets that have connections in their accept in vsock_poll()
1100 /* Sockets whose connections have been closed, reset, or in vsock_poll()
1109 /* Connected sockets that can produce data can be written. */ in vsock_poll()
1120 * sockets are not setting it. in vsock_poll()
1262 /* sock map disallows redirection of non-TCP sockets with sk_state != in vsock_dgram_connect()
1266 * This doesn't seem to be abnormal state for datagram sockets, as the in vsock_dgram_connect()
1268 * (such as unix sockets). in vsock_dgram_connect()
1586 /* Wait for children sockets to appear; these are the new sockets in vsock_accept()
1901 * sockets. in vsock_connectible_sendmsg()
1948 /* Don't wait for non-blocking sockets. */ in vsock_connectible_sendmsg()
2065 /* Don't wait for non-blocking sockets. */ in vsock_connectible_wait_data()