uv_tcp_t 196 include/uv.h typedef struct uv_tcp_s uv_tcp_t; uv_tcp_t 727 include/uv.h UV_EXTERN int uv_tcp_init(uv_loop_t*, uv_tcp_t* handle); uv_tcp_t 732 include/uv.h UV_EXTERN int uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock); uv_tcp_t 735 include/uv.h UV_EXTERN int uv_tcp_nodelay(uv_tcp_t* handle, int enable); uv_tcp_t 742 include/uv.h UV_EXTERN int uv_tcp_keepalive(uv_tcp_t* handle, uv_tcp_t 754 include/uv.h UV_EXTERN int uv_tcp_simultaneous_accepts(uv_tcp_t* handle, int enable); uv_tcp_t 756 include/uv.h UV_EXTERN int uv_tcp_bind(uv_tcp_t* handle, struct sockaddr_in); uv_tcp_t 757 include/uv.h UV_EXTERN int uv_tcp_bind6(uv_tcp_t* handle, struct sockaddr_in6); uv_tcp_t 758 include/uv.h UV_EXTERN int uv_tcp_getsockname(uv_tcp_t* handle, struct sockaddr* name, uv_tcp_t 760 include/uv.h UV_EXTERN int uv_tcp_getpeername(uv_tcp_t* handle, struct sockaddr* name, uv_tcp_t 769 include/uv.h UV_EXTERN int uv_tcp_connect(uv_connect_t* req, uv_tcp_t* handle, uv_tcp_t 771 include/uv.h UV_EXTERN int uv_tcp_connect6(uv_connect_t* req, uv_tcp_t* handle, uv_tcp_t 99 src/unix/core.c uv__tcp_close((uv_tcp_t*)handle); uv_tcp_t 171 src/unix/internal.h int uv_tcp_listen(uv_tcp_t* tcp, int backlog, uv_connection_cb cb); uv_tcp_t 210 src/unix/internal.h void uv__tcp_close(uv_tcp_t* handle); uv_tcp_t 606 src/unix/stream.c err = uv_tcp_listen((uv_tcp_t*)stream, backlog, cb); uv_tcp_t 31 src/unix/tcp.c int uv_tcp_init(uv_loop_t* loop, uv_tcp_t* tcp) { uv_tcp_t 37 src/unix/tcp.c static int maybe_new_socket(uv_tcp_t* handle, int domain, int flags) { uv_tcp_t 59 src/unix/tcp.c static int uv__bind(uv_tcp_t* tcp, uv_tcp_t 84 src/unix/tcp.c uv_tcp_t* handle, uv_tcp_t 136 src/unix/tcp.c int uv__tcp_bind(uv_tcp_t* handle, struct sockaddr_in addr) { uv_tcp_t 144 src/unix/tcp.c int uv__tcp_bind6(uv_tcp_t* handle, struct sockaddr_in6 addr) { uv_tcp_t 152 src/unix/tcp.c int uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock) { uv_tcp_t 159 src/unix/tcp.c int uv_tcp_getsockname(uv_tcp_t* handle, uv_tcp_t 181 src/unix/tcp.c int uv_tcp_getpeername(uv_tcp_t* handle, uv_tcp_t 203 src/unix/tcp.c int uv_tcp_listen(uv_tcp_t* tcp, int backlog, uv_connection_cb cb) { uv_tcp_t 236 src/unix/tcp.c uv_tcp_t* handle, uv_tcp_t 244 src/unix/tcp.c uv_tcp_t* handle, uv_tcp_t 278 src/unix/tcp.c int uv_tcp_nodelay(uv_tcp_t* handle, int on) { uv_tcp_t 296 src/unix/tcp.c int uv_tcp_keepalive(uv_tcp_t* handle, int on, unsigned int delay) { uv_tcp_t 318 src/unix/tcp.c int uv_tcp_simultaneous_accepts(uv_tcp_t* handle, int enable) { uv_tcp_t 327 src/unix/tcp.c void uv__tcp_close(uv_tcp_t* handle) { uv_tcp_t 192 src/uv-common.c int uv_tcp_bind(uv_tcp_t* handle, struct sockaddr_in addr) { uv_tcp_t 200 src/uv-common.c int uv_tcp_bind6(uv_tcp_t* handle, struct sockaddr_in6 addr) { uv_tcp_t 229 src/uv-common.c uv_tcp_t* handle, uv_tcp_t 240 src/uv-common.c uv_tcp_t* handle, uv_tcp_t 62 src/uv-common.h int uv__tcp_bind(uv_tcp_t* handle, struct sockaddr_in addr); uv_tcp_t 63 src/uv-common.h int uv__tcp_bind6(uv_tcp_t* handle, struct sockaddr_in6 addr); uv_tcp_t 69 src/uv-common.h uv_tcp_t* handle, uv_tcp_t 74 src/uv-common.h uv_tcp_t* handle, uv_tcp_t 108 src/win/handle-inl.h uv_tcp_endgame(loop, (uv_tcp_t*) handle); uv_tcp_t 79 src/win/handle.c uv_tcp_close(loop, (uv_tcp_t*)handle); uv_tcp_t 104 src/win/internal.h int uv_tcp_listen(uv_tcp_t* handle, int backlog, uv_connection_cb cb); uv_tcp_t 105 src/win/internal.h int uv_tcp_accept(uv_tcp_t* server, uv_tcp_t* client); uv_tcp_t 106 src/win/internal.h int uv_tcp_read_start(uv_tcp_t* handle, uv_alloc_cb alloc_cb, uv_tcp_t 108 src/win/internal.h int uv_tcp_write(uv_loop_t* loop, uv_write_t* req, uv_tcp_t* handle, uv_tcp_t 111 src/win/internal.h void uv_process_tcp_read_req(uv_loop_t* loop, uv_tcp_t* handle, uv_req_t* req); uv_tcp_t 112 src/win/internal.h void uv_process_tcp_write_req(uv_loop_t* loop, uv_tcp_t* handle, uv_tcp_t 114 src/win/internal.h void uv_process_tcp_accept_req(uv_loop_t* loop, uv_tcp_t* handle, uv_tcp_t 116 src/win/internal.h void uv_process_tcp_connect_req(uv_loop_t* loop, uv_tcp_t* handle, uv_tcp_t 119 src/win/internal.h void uv_tcp_close(uv_loop_t* loop, uv_tcp_t* tcp); uv_tcp_t 120 src/win/internal.h void uv_tcp_endgame(uv_loop_t* loop, uv_tcp_t* handle); uv_tcp_t 122 src/win/internal.h int uv_tcp_import(uv_tcp_t* tcp, WSAPROTOCOL_INFOW* socket_protocol_info, uv_tcp_t 125 src/win/internal.h int uv_tcp_duplicate_socket(uv_tcp_t* handle, int pid, uv_tcp_t 725 src/win/pipe.c return uv_tcp_import((uv_tcp_t*)client, server->pending_ipc_info.socket_info, uv_tcp_t 849 src/win/pipe.c uv_tcp_t* handle; uv_tcp_t 853 src/win/pipe.c handle = (uv_tcp_t*)req->data; uv_tcp_t 868 src/win/pipe.c uv_tcp_t* handle; uv_tcp_t 872 src/win/pipe.c handle = (uv_tcp_t*)req->handle; uv_tcp_t 1038 src/win/pipe.c uv_tcp_t* tcp_send_handle; uv_tcp_t 1070 src/win/pipe.c tcp_send_handle = (uv_tcp_t*)send_handle; uv_tcp_t 111 src/win/req-inl.h (uv_tcp_t*) ((req)->handle_at), \ uv_tcp_t 36 src/win/stream.c err = uv_tcp_listen((uv_tcp_t*)stream, backlog, cb); uv_tcp_t 55 src/win/stream.c err = uv_tcp_accept((uv_tcp_t*)server, (uv_tcp_t*)client); uv_tcp_t 83 src/win/stream.c err = uv_tcp_read_start((uv_tcp_t*)handle, alloc_cb, read_cb); uv_tcp_t 154 src/win/stream.c err = uv_tcp_write(loop, req, (uv_tcp_t*) handle, bufs, bufcnt, cb); uv_tcp_t 48 src/win/tcp.c static int uv__tcp_nodelay(uv_tcp_t* handle, SOCKET socket, int enable) { uv_tcp_t 60 src/win/tcp.c static int uv__tcp_keepalive(uv_tcp_t* handle, SOCKET socket, int enable, unsigned int delay) { uv_tcp_t 81 src/win/tcp.c static int uv_tcp_set_socket(uv_loop_t* loop, uv_tcp_t* handle, uv_tcp_t 149 src/win/tcp.c int uv_tcp_init(uv_loop_t* loop, uv_tcp_t* handle) { uv_tcp_t 164 src/win/tcp.c void uv_tcp_endgame(uv_loop_t* loop, uv_tcp_t* handle) { uv_tcp_t 238 src/win/tcp.c static int uv__bind(uv_tcp_t* handle, uv_tcp_t 284 src/win/tcp.c int uv__tcp_bind(uv_tcp_t* handle, struct sockaddr_in addr) { uv_tcp_t 290 src/win/tcp.c int uv__tcp_bind6(uv_tcp_t* handle, struct sockaddr_in6 addr) { uv_tcp_t 298 src/win/tcp.c uv_tcp_t* handle; uv_tcp_t 302 src/win/tcp.c handle = (uv_tcp_t*)req->data; uv_tcp_t 317 src/win/tcp.c uv_tcp_t* handle; uv_tcp_t 321 src/win/tcp.c handle = (uv_tcp_t*)req->handle; uv_tcp_t 334 src/win/tcp.c static void uv_tcp_queue_accept(uv_tcp_t* handle, uv_tcp_accept_t* req) { uv_tcp_t 419 src/win/tcp.c static void uv_tcp_queue_read(uv_loop_t* loop, uv_tcp_t* handle) { uv_tcp_t 493 src/win/tcp.c int uv_tcp_listen(uv_tcp_t* handle, int backlog, uv_connection_cb cb) { uv_tcp_t 581 src/win/tcp.c int uv_tcp_accept(uv_tcp_t* server, uv_tcp_t* client) { uv_tcp_t 650 src/win/tcp.c int uv_tcp_read_start(uv_tcp_t* handle, uv_alloc_cb alloc_cb, uv_tcp_t 677 src/win/tcp.c uv_tcp_t* handle, uv_tcp_t 734 src/win/tcp.c uv_tcp_t* handle, uv_tcp_t 788 src/win/tcp.c int uv_tcp_getsockname(uv_tcp_t* handle, struct sockaddr* name, uv_tcp_t 809 src/win/tcp.c int uv_tcp_getpeername(uv_tcp_t* handle, struct sockaddr* name, uv_tcp_t 830 src/win/tcp.c int uv_tcp_write(uv_loop_t* loop, uv_write_t* req, uv_tcp_t* handle, uv_tcp_t 890 src/win/tcp.c void uv_process_tcp_read_req(uv_loop_t* loop, uv_tcp_t* handle, uv_tcp_t 1016 src/win/tcp.c void uv_process_tcp_write_req(uv_loop_t* loop, uv_tcp_t* handle, uv_tcp_t 1051 src/win/tcp.c void uv_process_tcp_accept_req(uv_loop_t* loop, uv_tcp_t* handle, uv_tcp_t 1100 src/win/tcp.c void uv_process_tcp_connect_req(uv_loop_t* loop, uv_tcp_t* handle, uv_tcp_t 1130 src/win/tcp.c int uv_tcp_import(uv_tcp_t* tcp, WSAPROTOCOL_INFOW* socket_protocol_info, uv_tcp_t 1174 src/win/tcp.c int uv_tcp_nodelay(uv_tcp_t* handle, int enable) { uv_tcp_t 1193 src/win/tcp.c int uv_tcp_keepalive(uv_tcp_t* handle, int enable, unsigned int delay) { uv_tcp_t 1214 src/win/tcp.c int uv_tcp_duplicate_socket(uv_tcp_t* handle, int pid, uv_tcp_t 1244 src/win/tcp.c int uv_tcp_simultaneous_accepts(uv_tcp_t* handle, int enable) { uv_tcp_t 1276 src/win/tcp.c static int uv_tcp_try_cancel_io(uv_tcp_t* tcp) { uv_tcp_t 1313 src/win/tcp.c void uv_tcp_close(uv_loop_t* loop, uv_tcp_t* tcp) { uv_tcp_t 1385 src/win/tcp.c int uv_tcp_open(uv_tcp_t* handle, uv_os_sock_t sock) { uv_tcp_t 30 test/benchmark-multi-accept.c uv_tcp_t tcp; uv_tcp_t 117 test/benchmark-multi-accept.c ASSERT(0 == uv_tcp_init(loop, (uv_tcp_t*) &pc->peer_handle)); uv_tcp_t 178 test/benchmark-multi-accept.c ASSERT(0 == uv_tcp_init(loop, (uv_tcp_t*) ctx->server_handle)); uv_tcp_t 204 test/benchmark-multi-accept.c ASSERT(0 == uv_tcp_init(loop, (uv_tcp_t*) &ctx.server_handle)); uv_tcp_t 205 test/benchmark-multi-accept.c ASSERT(0 == uv_tcp_bind((uv_tcp_t*) &ctx.server_handle, listen_addr)); uv_tcp_t 286 test/benchmark-multi-accept.c ASSERT(0 == uv_tcp_init(server_handle->loop, (uv_tcp_t*) storage)); uv_tcp_t 334 test/benchmark-multi-accept.c ASSERT(0 == uv_tcp_init(handle->loop, (uv_tcp_t*) &ctx->client_handle)); uv_tcp_t 336 test/benchmark-multi-accept.c (uv_tcp_t*) &ctx->client_handle, uv_tcp_t 346 test/benchmark-multi-accept.c uv_tcp_t* handle; uv_tcp_t 373 test/benchmark-multi-accept.c handle = (uv_tcp_t*) &ctx->client_handle; uv_tcp_t 35 test/benchmark-ping-pongs.c uv_tcp_t tcp; uv_tcp_t 56 test/benchmark-pound.c uv_tcp_t stream; uv_tcp_t 199 test/benchmark-pound.c r = uv_tcp_init(loop, (uv_tcp_t*)&p->stream); uv_tcp_t 204 test/benchmark-pound.c r = uv_tcp_connect(&((tcp_conn_rec*)p)->conn_req, (uv_tcp_t*)&p->stream, addr, connect_cb); uv_tcp_t 49 test/benchmark-pump.c static uv_tcp_t tcpServer; uv_tcp_t 76 test/benchmark-pump.c static uv_tcp_t tcp_write_handles[MAX_WRITE_HANDLES]; uv_tcp_t 230 test/benchmark-pump.c uv_tcp_t* tcp; uv_tcp_t 266 test/benchmark-pump.c stream = (uv_stream_t*)malloc(sizeof(uv_tcp_t)); uv_tcp_t 267 test/benchmark-pump.c r = uv_tcp_init(loop, (uv_tcp_t*)stream); uv_tcp_t 31 test/benchmark-sizes.c LOGF("uv_tcp_t: %u bytes\n", (unsigned int) sizeof(uv_tcp_t)); uv_tcp_t 38 test/benchmark-tcp-write-batch.c static uv_tcp_t tcp_client; uv_tcp_t 29 test/blackhole-server.c uv_tcp_t handle; uv_tcp_t 33 test/blackhole-server.c static uv_tcp_t tcp_server; uv_tcp_t 45 test/dns-server.c uv_tcp_t handle; uv_tcp_t 53 test/dns-server.c static uv_tcp_t server; uv_tcp_t 280 test/dns-server.c r = uv_tcp_init(loop, (uv_tcp_t*)handle); uv_tcp_t 36 test/echo-server.c static uv_tcp_t tcpServer; uv_tcp_t 149 test/echo-server.c stream = malloc(sizeof(uv_tcp_t)); uv_tcp_t 151 test/echo-server.c r = uv_tcp_init(loop, (uv_tcp_t*)stream); uv_tcp_t 33 test/test-callback-stack.c static uv_tcp_t client; uv_tcp_t 29 test/test-connection-fail.c static uv_tcp_t tcp; uv_tcp_t 51 test/test-delayed-accept.c uv_tcp_t* server; uv_tcp_t 52 test/test-delayed-accept.c uv_tcp_t* accepted_handle = (uv_tcp_t*)malloc(sizeof *accepted_handle); uv_tcp_t 62 test/test-delayed-accept.c server = (uv_tcp_t*)timer_handle->data; uv_tcp_t 105 test/test-delayed-accept.c uv_tcp_t* server = (uv_tcp_t*)malloc(sizeof *server); uv_tcp_t 156 test/test-delayed-accept.c uv_tcp_t* client = (uv_tcp_t*)malloc(sizeof *client); uv_tcp_t 37 test/test-getsockname.c static uv_tcp_t tcp; uv_tcp_t 40 test/test-getsockname.c static uv_tcp_t tcpServer; uv_tcp_t 108 test/test-getsockname.c uv_tcp_t* handle; uv_tcp_t 152 test/test-getsockname.c r = uv_tcp_getsockname((uv_tcp_t*) req->handle, &sockname, &namelen); uv_tcp_t 158 test/test-getsockname.c r = uv_tcp_getpeername((uv_tcp_t*) req->handle, &peername, &namelen); uv_tcp_t 37 test/test-ipc-send-recv.c uv_tcp_t tcp; uv_tcp_t 29 test/test-ipc.c static uv_tcp_t tcp_server; uv_tcp_t 30 test/test-ipc.c static uv_tcp_t tcp_connection; uv_tcp_t 42 test/test-ipc.c static uv_tcp_t tcp_server; uv_tcp_t 52 test/test-ipc.c uv_tcp_t conn; uv_tcp_t 64 test/test-ipc.c uv_tcp_t* conn; uv_tcp_t 127 test/test-ipc.c r = uv_tcp_connect(&conn->conn_req, (uv_tcp_t*)&conn->conn, addr, connect_cb); uv_tcp_t 359 test/test-ipc.c uv_tcp_t server; uv_tcp_t 382 test/test-ipc.c uv_tcp_t server; uv_tcp_t 500 test/test-ipc.c uv_tcp_t* conn; uv_tcp_t 610 test/test-ipc.c r = uv_tcp_connect(&conn.conn_req, (uv_tcp_t*)&conn.conn, addr, connect_child_process_cb); uv_tcp_t 30 test/test-multiple-listen.c static uv_tcp_t server; uv_tcp_t 31 test/test-multiple-listen.c static uv_tcp_t client; uv_tcp_t 43 test/test-ping-pong.c uv_tcp_t tcp; uv_tcp_t 221 test/test-ref.c uv_tcp_t h; uv_tcp_t 232 test/test-ref.c uv_tcp_t h; uv_tcp_t 244 test/test-ref.c uv_tcp_t h; uv_tcp_t 258 test/test-ref.c uv_tcp_t h; uv_tcp_t 273 test/test-ref.c uv_tcp_t h; uv_tcp_t 69 test/test-shutdown-close.c uv_tcp_t h; uv_tcp_t 28 test/test-shutdown-eof.c static uv_tcp_t tcp; uv_tcp_t 51 test/test-shutdown-eof.c ASSERT((uv_tcp_t*)t == &tcp); uv_tcp_t 39 test/test-tcp-bind-error.c uv_tcp_t server1, server2; uv_tcp_t 71 test/test-tcp-bind-error.c uv_tcp_t server; uv_tcp_t 94 test/test-tcp-bind-error.c uv_tcp_t server; uv_tcp_t 116 test/test-tcp-bind-error.c uv_tcp_t server; uv_tcp_t 141 test/test-tcp-bind-error.c uv_tcp_t server; uv_tcp_t 165 test/test-tcp-bind-error.c uv_tcp_t server; uv_tcp_t 180 test/test-tcp-bind-error.c uv_tcp_t server; uv_tcp_t 39 test/test-tcp-bind6-error.c uv_tcp_t server1, server2; uv_tcp_t 71 test/test-tcp-bind6-error.c uv_tcp_t server; uv_tcp_t 93 test/test-tcp-bind6-error.c uv_tcp_t server; uv_tcp_t 118 test/test-tcp-bind6-error.c uv_tcp_t server; uv_tcp_t 142 test/test-tcp-bind6-error.c uv_tcp_t server; uv_tcp_t 27 test/test-tcp-close-while-connecting.c static uv_tcp_t tcp_handle; uv_tcp_t 30 test/test-tcp-close.c static uv_tcp_t tcp_handle; uv_tcp_t 79 test/test-tcp-close.c static void start_server(uv_loop_t* loop, uv_tcp_t* handle) { uv_tcp_t 100 test/test-tcp-close.c uv_tcp_t tcp_server; uv_tcp_t 61 test/test-tcp-connect-error-after-write.c uv_tcp_t conn; uv_tcp_t 49 test/test-tcp-connect-error.c uv_tcp_t server; uv_tcp_t 33 test/test-tcp-connect-timeout.c static uv_tcp_t conn; uv_tcp_t 47 test/test-tcp-connect6-error.c uv_tcp_t server; uv_tcp_t 31 test/test-tcp-flags.c uv_tcp_t handle; uv_tcp_t 149 test/test-tcp-open.c uv_tcp_t client; uv_tcp_t 26 test/test-tcp-read-stop.c static uv_tcp_t tcp_handle; uv_tcp_t 28 test/test-tcp-shutdown-after-write.c static uv_tcp_t conn; uv_tcp_t 27 test/test-tcp-unexpected-read.c static uv_tcp_t server_handle; uv_tcp_t 28 test/test-tcp-unexpected-read.c static uv_tcp_t client_handle; uv_tcp_t 29 test/test-tcp-unexpected-read.c static uv_tcp_t peer_handle; uv_tcp_t 35 test/test-tcp-write-to-half-open-connection.c static uv_tcp_t tcp_server; uv_tcp_t 36 test/test-tcp-write-to-half-open-connection.c static uv_tcp_t tcp_client; uv_tcp_t 37 test/test-tcp-write-to-half-open-connection.c static uv_tcp_t tcp_peer; /* client socket as accept()-ed by server */ uv_tcp_t 61 test/test-tcp-writealot.c uv_tcp_t* tcp; uv_tcp_t 66 test/test-tcp-writealot.c tcp = (uv_tcp_t*)(req->handle); uv_tcp_t 144 test/test-tcp-writealot.c uv_tcp_t client;