Home
last modified time | relevance | path

Searched refs:socket_type (Results 1 – 2 of 2) sorted by relevance

/packages/modules/DnsResolver/tests/dns_responder/
Ddns_responder.cpp1215 unique_fd DNSResponder::createListeningSocket(int socket_type) { in createListeningSocket() argument
1219 .ai_socktype = socket_type, in createListeningSocket()
1239 if ((listen_service_ == kDefaultMdnsListenService) && (socket_type == SOCK_DGRAM)) { in createListeningSocket()
1284 const char* socket_str = (socket_type == SOCK_STREAM) ? "TCP" : "UDP"; in createListeningSocket()
Ddns_responder.h296 android::base::unique_fd createListeningSocket(int socket_type);