Home
last modified time | relevance | path

Searched refs:TCP_NODELAY (Results 1 - 25 of 76) sorted by relevance

1234

/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbio_sock2.c102 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in BIO_connect()
256 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in BIO_listen()
H A Dbio_sock.c296 # if defined(TCP_NODELAY) && (defined(IPPROTO_TCP) || defined(SOL_TCP)) in BIO_set_tcp_ndelay()
307 ret = setsockopt(s, opt, TCP_NODELAY, (char *)&on, sizeof(on)); in BIO_set_tcp_ndelay()
/third_party/openssl/crypto/bio/
H A Dbio_sock2.c102 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in BIO_connect()
256 if (setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, in BIO_listen()
H A Dbio_sock.c296 # if defined(TCP_NODELAY) && (defined(IPPROTO_TCP) || defined(SOL_TCP)) in BIO_set_tcp_ndelay()
307 ret = setsockopt(s, opt, TCP_NODELAY, (char *)&on, sizeof(on)); in BIO_set_tcp_ndelay()
/third_party/musl/libc-test/src/api/
H A Dnetinet_tcp.c5 C(TCP_NODELAY) in f()
/third_party/musl/libc-test/src/functionalext/supplement/network/
H A Dgetsockopt_network.c22 #define TCP_NODELAY 1 macro
336 * @tc.desc : IPPROTO_IP,TCP_NODELAY
344 int content = getsockopt(sockfd, IPPROTO_IP, TCP_NODELAY, &optval, (socklen_t *)(&optlen)); in getsockopt_2300()
/third_party/pulseaudio/src/pulsecore/
H A Dsocket-util.c156 if (setsockopt(fd, SOL_TCP, TCP_NODELAY, (const void *) &on, sizeof(on)) < 0) in pa_make_tcp_socket_low_delay()
158 if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (const void *) &on, sizeof(on)) < 0) in pa_make_tcp_socket_low_delay()
160 pa_log_warn("TCP_NODELAY failed: %s", pa_cstrerror(errno)); in pa_make_tcp_socket_low_delay()
/third_party/libwebsockets/lib/plat/unix/
H A Dunix-sockets.c181 if (!unix_skt && setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, (const void *)&optval, optlen) < 0) in lws_plat_set_socket_options()
188 if (!unix_skt && setsockopt(fd, SOL_TCP, TCP_NODELAY, (const void *)&optval, optlen) < 0) in lws_plat_set_socket_options()
192 if (!unix_skt && setsockopt(fd, tcp_proto->p_proto, TCP_NODELAY, &optval, optlen) < 0) in lws_plat_set_socket_options()
/third_party/skia/third_party/externals/microhttpd/src/microspdy/
H A Dio_raw.c76 ret = setsockopt(session->socket_fd, IPPROTO_TCP, TCP_NODELAY, &val, (socklen_t)sizeof(val)); in SPDYF_raw_new_session()
78 SPDYF_DEBUG("WARNING: Couldn't set the new connection to TCP_NODELAY"); in SPDYF_raw_new_session()
/third_party/toybox/toys/other/
H A Dnbd_client.c57 setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, &temp, sizeof(int)); in nbd_client_main()
/third_party/node/deps/cares/src/lib/
H A Dares__socket.c301 #ifdef TCP_NODELAY in ares__open_connection()
311 setsockopt(s, IPPROTO_TCP, TCP_NODELAY, (void *)&opt, sizeof(opt)) == in ares__open_connection()
/third_party/curl/tests/server/
H A Dsws.c47 #include <netinet/tcp.h> /* for TCP_NODELAY */
1315 #ifdef TCP_NODELAY in connect_to()
1319 if(0 != setsockopt(serverfd, IPPROTO_TCP, TCP_NODELAY, in connect_to()
1321 logmsg("====> TCP_NODELAY for server connection failed"); in connect_to()
1530 #ifdef TCP_NODELAY in http_connect()
1534 if(0 != setsockopt(datafd, IPPROTO_TCP, TCP_NODELAY, in http_connect()
1536 logmsg("====> TCP_NODELAY for client DATA connection failed"); in http_connect()
1856 #ifdef TCP_NODELAY in accept_connection()
1862 if(0 != setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, in accept_connection()
1864 logmsg("====> TCP_NODELAY faile in accept_connection()
[all...]
H A Drtspd.c46 #include <netinet/tcp.h> /* for TCP_NODELAY */
1301 #ifdef TCP_NODELAY in main()
1307 if(setsockopt(msgsock, IPPROTO_TCP, TCP_NODELAY, in main()
1309 logmsg("====> TCP_NODELAY failed"); in main()
/third_party/libwebsockets/lib/plat/freertos/
H A Dfreertos-sockets.c136 if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &optval, optlen) < 0) in lws_plat_set_socket_options()
/third_party/musl/porting/uniproton/kernel/include/netinet/
H A Dtcp.h6 #define TCP_NODELAY 1 macro
/third_party/musl/porting/liteos_m_iccarm/kernel/include/netinet/
H A Dtcp.h6 #define TCP_NODELAY 1 macro
/third_party/musl/porting/liteos_a/kernel/include/netinet/
H A Dtcp.h6 #define TCP_NODELAY 1 macro
/third_party/musl/porting/liteos_m/kernel/include/netinet/
H A Dtcp.h6 #define TCP_NODELAY 1 macro
/third_party/musl/include/netinet/
H A Dtcp.h6 #define TCP_NODELAY 1 macro
/third_party/skia/third_party/externals/tint/tools/src/cmd/remote-compile/
H A Dsocket.cc157 // Enable TCP_NODELAY. in setOptions()
158 setsockopt(s, IPPROTO_TCP, TCP_NODELAY, reinterpret_cast<char*>(&enable), in setOptions()
/third_party/ffmpeg/libavformat/
H A Dtcp.c59 { "tcp_nodelay", "Use TCP_NODELAY to disable nagle's algorithm", OFFSET(tcp_nodelay), AV_OPT_TYPE_BOOL, { .i64 = 0 }, 0, 1, .flags = D|E },
89 if (setsockopt (fd, IPPROTO_TCP, TCP_NODELAY, &s->tcp_nodelay, sizeof (s->tcp_nodelay))) { in customize_fd()
90 ff_log_net_error(ctx, AV_LOG_WARNING, "setsockopt(TCP_NODELAY)"); in customize_fd()
/third_party/ltp/testcases/network/stress/ns-tools/
H A Dns-tcpserver.c254 IPPROTO_TCP, TCP_NODELAY, &on, sizeof(int))) in create_listen_socket()
/third_party/node/deps/v8/src/debug/wasm/gdb-server/
H A Dtransport.cc101 if (::setsockopt(socket, IPPROTO_TCP, TCP_NODELAY, in DisableNagleAlgorithm()
103 TRACE_GDB_REMOTE("Failed to set TCP_NODELAY option.\n"); in DisableNagleAlgorithm()
/third_party/skia/third_party/externals/microhttpd/src/examples/
H A Dmhd2spdy_http.c108 ret = setsockopt(info->connect_fd, IPPROTO_TCP, TCP_NODELAY, &val, (socklen_t)sizeof(val)); in http_cb_response()
/third_party/backends/backend/
H A Dnet.c326 #ifdef TCP_NODELAY
397 #ifdef TCP_NODELAY
457 #ifdef TCP_NODELAY
473 setsockopt (dev->ctl, level, TCP_NODELAY, &on, sizeof (on)))
474 DBG (1, "connect_dev: failed to put send socket in TCP_NODELAY mode (%s)",
476 #endif /* !TCP_NODELAY */

Completed in 27 milliseconds

1234