Home
last modified time | relevance | path

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

/system/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()
/system/netd/libnetdutils/include/netdutils/
DSocketOption.h36 Status enableSockopt(Fd sock, int level, int optname);
/system/netd/resolv/dns_responder/
Ddns_tls_frontend.cpp36 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()
Ddns_responder.cpp43 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/
DDnsTlsSocket.cpp40 using netdutils::enableSockopt;
90 const Status tfo = enableSockopt(mSslFd.get(), SOL_TCP, TCP_FASTOPEN_CONNECT); in tcpConnect()
Dresolver_test.cpp82 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()