Home
last modified time | relevance | path

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

/system/chre/host/common/
Dsocket_client.cc232 int sndbuf = 2 * 1024 * 1024; in tryConnect() local
234 sockFd, SOL_SOCKET, SO_SNDBUF, &sndbuf, sizeof(sndbuf)); in tryConnect()
246 LOGE("Failed to set SO_SNDBUF to %d: %s", sndbuf, strerror(errno)); in tryConnect()
/system/core/libstats/
Dstatsd_writer.c112 int sndbuf = 1 * 1024 * 1024; // set max send buffer size 1MB in statsdOpen() local
113 socklen_t bufLen = sizeof(sndbuf); in statsdOpen()
116 setsockopt(sock, SOL_SOCKET, SO_SNDBUF, &sndbuf, bufLen); in statsdOpen()