Home
last modified time | relevance | path

Searched refs:enableSockopt (Results 1 – 6 of 6) sorted by relevance

/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DSocketOption.cpp29 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/
DSocketOption.h36 Status enableSockopt(Fd sock, int level, int optname);
/packages/modules/DnsResolver/tests/dns_responder/
Ddns_tls_frontend.cpp38 using android::netdutils::enableSockopt;
114 enableSockopt(s.get(), SOL_SOCKET, SO_REUSEADDR).ignoreError(); in startServer()
Ddns_responder.cpp48 using android::netdutils::enableSockopt;
1237 enableSockopt(fd.get(), SOL_SOCKET, SO_REUSEADDR).ignoreError(); in createListeningSocket()
/packages/modules/DnsResolver/
DDnsTlsSocket.cpp46 using netdutils::enableSockopt;
99 const Status tfo = enableSockopt(mSslFd.get(), SOL_TCP, TCP_FASTOPEN_CONNECT); in tcpConnect()
/packages/modules/DnsResolver/tests/
Dresolv_integration_test.cpp123 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()