Searched refs:DnsTlsSocket (Results 1 – 6 of 6) sorted by relevance
/packages/modules/DnsResolver/ |
D | DnsTlsSocket.cpp | 73 Status DnsTlsSocket::tcpConnect() { in tcpConnect() 120 bool DnsTlsSocket::setTestCaCertificate() { in setTestCaCertificate() 138 bool DnsTlsSocket::initialize() { in initialize() 192 bool DnsTlsSocket::startHandshake() { in startHandshake() 214 mLoopThread.reset(new std::thread(&DnsTlsSocket::loop, this)); in startHandshake() 219 bssl::UniquePtr<SSL> DnsTlsSocket::prepareForSslConnect(int fd) { in prepareForSslConnect() 265 bssl::UniquePtr<SSL> DnsTlsSocket::sslConnect(int fd) { in sslConnect() 310 bssl::UniquePtr<SSL> DnsTlsSocket::sslConnectV2(int fd) { in sslConnectV2() 363 void DnsTlsSocket::sslDisconnect() { in sslDisconnect() 371 bool DnsTlsSocket::sslWrite(const Slice buffer) { in sslWrite() [all …]
|
D | README-DoT.md | 10 * `DnsTlsSocket` 18 `DnsTlsTransport` sends each query over a `DnsTlsSocket`, opening a 20 `DnsTlsSocket`, which happen on a different thread. 21 `IDnsTlsSocketObserver` is an interface defining how `DnsTlsSocket` returns 28 `DnsTlsSocket` interleaves all queries onto a single socket, and reports all 48 ### Threading in `DnsTlsSocket` 50 `DnsTlsSocket` can receive queries on any thread, and send them over a 82 `DnsTlsSocket` imposes a 20-second inactivity timeout. A socket that has been idle for 108 `DnsTlsSocket` (which requires `CAP_NET_ADMIN` because it uses `setsockopt(SO_MARK)`) and 114 For unit testing, we would like to be able to mock out `DnsTlsSocket`. This is [all …]
|
D | DnsTlsSocket.h | 71 class DnsTlsSocket : public IDnsTlsSocket { 81 DnsTlsSocket(const DnsTlsServer& server, unsigned mark, in DnsTlsSocket() function 84 ~DnsTlsSocket();
|
D | DnsTlsSocketFactory.h | 38 auto socket = std::make_unique<DnsTlsSocket>(server, mark, observer, cache); in createDnsTlsSocket()
|
D | Android.bp | 186 "DnsTlsSocket.cpp",
|
/packages/modules/DnsResolver/tests/ |
D | resolv_tls_unit_test.cpp | 1022 std::unique_ptr<DnsTlsSocket> makeDnsTlsSocket(IDnsTlsSocketObserver* observer) { in makeDnsTlsSocket() 1023 return std::make_unique<DnsTlsSocket>(this->server, MARK, observer, &this->cache); in makeDnsTlsSocket() 1026 void enableAsyncHandshake(const std::unique_ptr<DnsTlsSocket>& socket) { in enableAsyncHandshake() 1028 DnsTlsSocket* delegate = socket.get(); in enableAsyncHandshake() 1090 std::unique_ptr<DnsTlsSocket> socket; in TEST_F()
|