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

12

/external/apache-http/src/org/apache/http/params/
H A DCoreConnectionPNames.java60 * performance, they can disable Nagle's algorithm (that is enable TCP_NODELAY).
65 * @see java.net.SocketOptions#TCP_NODELAY
67 public static final String TCP_NODELAY = "http.tcp.nodelay"; field in interface:CoreConnectionPNames
H A DHttpConnectionParams.java90 * (that is enable TCP_NODELAY), <tt>false</tt> otherwise.
97 (CoreConnectionPNames.TCP_NODELAY, true);
104 * performance, they can disable Nagle's algorithm (that is enable TCP_NODELAY).
108 * (that is enable TCP_NODELAY), <tt>false</tt> otherwise.
114 params.setBooleanParameter(CoreConnectionPNames.TCP_NODELAY, value);
/external/chromium_org/tools/android/common/
H A Dnet.cc18 return setsockopt(socket, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
/external/qemu/slirp/
H A Dtcp.h113 #undef TCP_NODELAY macro
114 #define TCP_NODELAY 0x01 /* don't delay send to coalesce packets */ macro
/external/qemu/slirp-android/
H A Dtcp.h115 #undef TCP_NODELAY macro
116 #define TCP_NODELAY 0x01 /* don't delay send to coalesce packets */ macro
/external/chromium_org/native_client_sdk/src/libraries/third_party/newlib-extras/netinet/
H A Dtcp.h162 #define TCP_NODELAY 0x01 /* don't delay send to coalesce packets */ macro
/external/chromium/net/tools/flip_server/
H A Dacceptor_thread.cc8 #include <netinet/tcp.h> // For TCP_NODELAY
88 rc = setsockopt(server_fd, IPPROTO_TCP, TCP_NODELAY,
H A Dcreate_listener.cc12 #include <netinet/tcp.h> // For TCP_NODELAY
90 rc = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY,
94 LOG(FATAL) << "setsockopt() TCP_NODELAY: failed on fd " << fd;
/external/chromium_org/net/tools/flip_server/
H A Dacceptor_thread.cc8 #include <netinet/tcp.h> // For TCP_NODELAY
88 TCP_NODELAY,
H A Dcreate_listener.cc81 fd, IPPROTO_TCP, TCP_NODELAY, reinterpret_cast<char*>(&on), sizeof(on));
84 LOG(FATAL) << "setsockopt() TCP_NODELAY: failed on fd " << fd;
/external/iproute2/include/netinet/
H A Dtcp.h40 #define TCP_NODELAY 1 /* Don't delay send to coalesce packets */ macro
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/
H A Dmount_node_tcp.cc329 if (lvl == IPPROTO_TCP && optname == TCP_NODELAY) {
358 if (lvl == IPPROTO_TCP && optname == TCP_NODELAY) {
/external/qemu/telephony/
H A Dsysdeps_posix.c603 setsockopt(channel->fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
642 setsockopt( channel->fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on) );
/external/chromium_org/native_client_sdk/src/tests/nacl_io_socket_test/
H A Dsocket_test.cc428 // Getting and setting TCP_NODELAY on UDP socket should fail
430 ASSERT_EQ(-1, ki_setsockopt(sock1_, IPPROTO_TCP, TCP_NODELAY, &option, len));
432 ASSERT_EQ(-1, ki_getsockopt(sock1_, IPPROTO_TCP, TCP_NODELAY, &option, &len));
435 // Getting and setting TCP_NODELAY on TCP socket should preserve value
437 ASSERT_EQ(0, ki_getsockopt(sock2_, IPPROTO_TCP, TCP_NODELAY, &option, &len));
443 ASSERT_EQ(0, ki_setsockopt(sock2_, IPPROTO_TCP, TCP_NODELAY, &option, len))
/external/kernel-headers/original/linux/
H A Dtcp.h84 #define TCP_NODELAY 1 /* Turn off Nagle's algorithm. */ macro
/external/chromium_org/third_party/npapi/npspy/extern/nspr/md/
H A D_macos.h448 #define TCP_NODELAY TCP_NODELAY macro
/external/chromium_org/third_party/openssl/openssl/crypto/bio/
H A Db_sock.c949 #if defined(TCP_NODELAY) && (defined(IPPROTO_TCP) || defined(SOL_TCP))
960 ret=setsockopt(s,opt,TCP_NODELAY,(char *)&on,sizeof(on));
/external/openssl/crypto/bio/
H A Db_sock.c949 #if defined(TCP_NODELAY) && (defined(IPPROTO_TCP) || defined(SOL_TCP))
960 ret=setsockopt(s,opt,TCP_NODELAY,(char *)&on,sizeof(on));
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/
H A Dsocket.rb51 @connection.setsockopt( Socket::SOL_TCP, Socket::TCP_NODELAY, 1 )
/external/dropbear/
H A Ddbutil.c162 setsockopt(sock, IPPROTO_TCP, TCP_NODELAY, (void*)&val, sizeof(val));
/external/openssh/
H A Dmisc.c143 if (getsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, &optlen) == -1) {
144 debug("getsockopt TCP_NODELAY: %.100s", strerror(errno));
148 debug2("fd %d is TCP_NODELAY", fd);
152 debug2("fd %d setting TCP_NODELAY", fd);
153 if (setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &opt, sizeof opt) == -1)
154 error("setsockopt TCP_NODELAY: %.100s", strerror(errno));
/external/chromium/net/socket/
H A Dtcp_client_socket_libevent.cc46 // After calling this function, the kernel will not wait. See TCP_NODELAY in
50 return setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));
H A Dtcp_client_socket_win.cc686 int rv = setsockopt(socket_, IPPROTO_TCP, TCP_NODELAY,
/external/chromium/third_party/libjingle/source/talk/base/
H A Dwin32socketserver.cc588 *sopt = TCP_NODELAY;
/external/chromium_org/net/socket/
H A Dtcp_socket_libevent.cc42 // After calling this function, the kernel will not wait. See TCP_NODELAY in
46 int error = setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &on, sizeof(on));

Completed in 613 milliseconds

12