Home
last modified time | relevance | path

Searched refs:sndbuf (Results 1 – 2 of 2) sorted by relevance

/system/chre/host/common/
Dsocket_client.cc230 int sndbuf = 2 * 1024 * 1024; in tryConnect() local
240 if ((ret = setsockopt(sockFd, SOL_SOCKET, SO_SNDBUF, &sndbuf, in tryConnect()
241 sizeof(sndbuf))) != 0) { in tryConnect()
243 LOGE("Failed to set SO_SNDBUF to %d: %s", sndbuf, strerror(errno)); in tryConnect()
/system/core/libstats/push_compat/
Dstatsd_writer.c93 int sndbuf = 1 * 1024 * 1024; // set max send buffer size 1MB in statsdOpen() local
94 socklen_t bufLen = sizeof(sndbuf); in statsdOpen()
97 setsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, bufLen); in statsdOpen()