Searched refs:enableSockopt (Results 1 – 6 of 6) sorted by relevance
/system/netd/libnetdutils/ |
D | SocketOption.cpp | 29 Status enableSockopt(Fd sock, int level, int optname) { in enableSockopt() function 36 RETURN_IF_NOT_OK(enableSockopt(sock, SOL_SOCKET, SO_KEEPALIVE)); in enableTcpKeepAlives()
|
/system/netd/libnetdutils/include/netdutils/ |
D | SocketOption.h | 36 Status enableSockopt(Fd sock, int level, int optname);
|
/system/netd/resolv/dns_responder/ |
D | dns_tls_frontend.cpp | 36 using android::netdutils::enableSockopt; 213 enableSockopt(s.get(), SOL_SOCKET, SO_REUSEPORT).ignoreError(); in startServer() 214 enableSockopt(s.get(), SOL_SOCKET, SO_REUSEADDR).ignoreError(); in startServer()
|
D | dns_responder.cpp | 43 using android::netdutils::enableSockopt; 612 enableSockopt(socket_.get(), SOL_SOCKET, SO_REUSEPORT).ignoreError(); in startServer() 613 enableSockopt(socket_.get(), SOL_SOCKET, SO_REUSEADDR).ignoreError(); in startServer()
|
/system/netd/resolv/ |
D | DnsTlsSocket.cpp | 40 using netdutils::enableSockopt; 90 const Status tfo = enableSockopt(mSslFd.get(), SOL_TCP, TCP_FASTOPEN_CONNECT); in tcpConnect()
|
D | resolver_test.cpp | 82 using android::netdutils::enableSockopt; 1217 ASSERT_TRUE(enableSockopt(s, SOL_SOCKET, SO_REUSEPORT).ok()); in TEST_F() 1218 ASSERT_TRUE(enableSockopt(s, SOL_SOCKET, SO_REUSEADDR).ok()); in TEST_F()
|