Searched refs:enableSockopt (Results 1 – 6 of 6) sorted by relevance
/packages/modules/Connectivity/staticlibs/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()
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/ |
D | SocketOption.h | 36 Status enableSockopt(Fd sock, int level, int optname);
|
/packages/modules/DnsResolver/tests/dns_responder/ |
D | dns_tls_frontend.cpp | 38 using android::netdutils::enableSockopt; 114 enableSockopt(s.get(), SOL_SOCKET, SO_REUSEADDR).ignoreError(); in startServer()
|
D | dns_responder.cpp | 48 using android::netdutils::enableSockopt; 1237 enableSockopt(fd.get(), SOL_SOCKET, SO_REUSEADDR).ignoreError(); in createListeningSocket()
|
/packages/modules/DnsResolver/ |
D | DnsTlsSocket.cpp | 46 using netdutils::enableSockopt; 99 const Status tfo = enableSockopt(mSslFd.get(), SOL_TCP, TCP_FASTOPEN_CONNECT); in tcpConnect()
|
/packages/modules/DnsResolver/tests/ |
D | resolv_integration_test.cpp | 123 using android::netdutils::enableSockopt; 2058 ASSERT_TRUE(enableSockopt(s, SOL_SOCKET, SO_REUSEPORT).ok()); in TEST_F() 2059 ASSERT_TRUE(enableSockopt(s, SOL_SOCKET, SO_REUSEADDR).ok()); in TEST_F()
|