Searched refs:dns (Results 1 - 25 of 71) sorted by relevance

123

/external/syslinux/gpxe/src/net/udp/
H A Ddns.c38 #include <gpxe/dns.h>
84 * @v dns DNS request
87 static void dns_done ( struct dns_request *dns, int rc ) { argument
90 stop_timer ( &dns->timer );
93 xfer_nullify ( &dns->socket );
94 xfer_close ( &dns->socket, rc );
97 resolv_done ( &dns->resolv, &dns->sa, rc );
103 * @v dns DNS request
109 static int dns_name_cmp ( struct dns_request *dns, argument
163 dns_find_rr( struct dns_request *dns, const struct dns_header *reply ) argument
312 struct dns_request *dns = local
332 struct dns_request *dns = local
452 struct dns_request *dns = local
481 struct dns_request *dns; local
[all...]
/external/mdnsresponder/Clients/
H A DMakefile29 TARGETS = build/dns-sd build/dns-sd64
32 TARGETS = build/dns-sd
44 build/dns-sd: build dns-sd.c ClientCommon.c
47 build/dns-sd64: build dns-sd.c ClientCommon.c
50 # Note, we can make a 'fat' version of dns-sd using 'lipo', as shown below, but we
51 # don't, because we don't want or need a 'fat' version of dns-sd, because it will
54 # lipo -create dns
[all...]
/external/libevent/
H A Devdns.h32 A dns subsystem for Libevent.
41 #include <event2/dns.h>
/external/curl/lib/
H A Dhostip.c261 if((data->set.dns_cache_timeout == -1) || !data->dns.hostcache)
272 hostcache_prune(data->dns.hostcache,
294 struct Curl_dns_entry *dns = NULL; local
302 return dns;
306 /* See if its already in our dns cache */
307 dns = Curl_hash_pick(data->dns.hostcache, entry_id, entry_len+1);
309 if(dns && (data->set.dns_cache_timeout != -1)) {
316 if(hostcache_timestamp_remove(&user, dns)) {
318 dns
349 struct Curl_dns_entry *dns = NULL; local
382 struct Curl_dns_entry *dns; local
449 struct Curl_dns_entry *dns = NULL; local
722 Curl_resolv_unlock(struct Curl_easy *data, struct Curl_dns_entry *dns) argument
738 struct Curl_dns_entry *dns = (struct Curl_dns_entry *) freethis; local
819 struct Curl_dns_entry *dns; local
[all...]
H A Dhostasyn.c73 struct Curl_dns_entry *dns = NULL; local
85 dns = Curl_cache_addr(data, ai,
88 if(!dns) {
102 conn->async.dns = dns;
124 if(conn->async.dns) {
125 conn->dns_entry = conn->async.dns;
126 conn->async.dns = NULL;
/external/ltp/testcases/network/stress/dns/
H A DMakefile2 # network/stress/dns test suite Makefile.
27 INSTALL_TARGETS := dns*
H A Ddns-stress01-rmt21 TCID=dns-stress01-rmt
24 . dns-stress-lib.sh
40 # Specify the record of dns accoring to the version of IP
H A Ddns-stress02-rmt21 TCID=dns-stress02-rmt
24 . dns-stress-lib.sh
39 # Specify the option of dns according to the version of IP
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dudhcpd-p2p.conf82 # as the dns option, they can be listed on the same line, or multiple
86 opt dns 192.168.2.1
98 #opt dns
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DRouteSelectorTest.java72 private final FakeDns dns = new FakeDns(); field in class:RouteSelectorTest
86 dns.addresses(makeFakeAddresses(255, 1));
87 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(0), uriPort);
88 dns.assertRequests(uriHost);
103 dns.addresses(makeFakeAddresses(255, 1));
107 assertRoute(routeSelector.next(), address, NO_PROXY, dns.address(0), uriPort);
117 Address address = new Address(uriHost, uriPort, dns, socketFactory, null, null, null,
122 dns.addresses(makeFakeAddresses(255, 2));
123 assertRoute(routeSelector.next(), address, proxyA, dns.address(0), proxyAPort);
124 assertRoute(routeSelector.next(), address, proxyA, dns
[all...]
/external/curl/docs/cmdline-opts/
H A Ddns-interface.d1 Long: dns-interface
5 See-also: dns-ipv4-addr dns-ipv6-addr
H A Ddns-ipv4-addr.d1 Long: dns-ipv4-addr
5 See-also: dns-interface dns-ipv6-addr
H A Ddns-ipv6-addr.d1 Long: dns-ipv6-addr
5 See-also: dns-interface dns-ipv4-addr
H A Ddns-servers.d1 Long: dns-servers
H A Dinterface.d4 See-also: dns-interface
/external/autotest/client/cros/netprotos/
H A Dzeroconf_unittest.py30 @return a list of dpkt.dns.DNS.RR objects, one for each matching record.
32 q = dpkt.dns.DNS.Q(name=name, type=dpkt.dns.DNS_A)
45 q_srv = dpkt.dns.DNS.Q(name=fq_name, type=dpkt.dns.DNS_SRV)
46 q_txt = dpkt.dns.DNS.Q(name=fq_name, type=dpkt.dns.DNS_TXT)
47 q_ptr = dpkt.dns.DNS.Q(name=name, type=dpkt.dns.DNS_PTR)
56 if resp.type == dpkt.dns
[all...]
H A Dzeroconf.py29 """Returns whether the two dpkt.dns.DNS.RR objects are equal."""
32 dpkt.dns.DNS.RR.__slots__)
81 # For example: _peer_records['somehost.local'][dpkt.dns.DNS_A] \
137 mdns = dpkt.dns.DNS(data)
140 dpkt.dns.DNS_A: self._process_A,
141 dpkt.dns.DNS_PTR: self._process_PTR,
142 dpkt.dns.DNS_TXT: self._process_TXT,
143 dpkt.dns.DNS_SRV: self._process_SRV,
150 elif q.type == dpkt.dns.DNS_ANY:
173 if rr.type == dpkt.dns
[all...]
H A Dcros_p2p.py108 ts = self._zeroconf.send_request([(self._p2p_domain, dpkt.dns.DNS_PTR)])
115 self._p2p_domain, dpkt.dns.DNS_PTR, ts)
118 queries.append((p2p_peer, dpkt.dns.DNS_ANY))
121 p2p_peer, dpkt.dns.DNS_SRV, ts)
125 queries.append((srvname, dpkt.dns.DNS_ANY))
140 if rrname == self._p2p_domain and rrtype == dpkt.dns.DNS_PTR:
142 queries.append((ptrname, dpkt.dns.DNS_ANY))
157 self._p2p_domain, dpkt.dns.DNS_PTR, timestamp)
161 p2p_peer, dpkt.dns.DNS_SRV, timestamp)
166 srvname, dpkt.dns
[all...]
/external/ltp/runtest/
H A Dnet_stress.appl2 # Stress test for major application protocol (ssh, dns, http, ftp)
8 dns4-stress dns-stress
9 dns6-stress dns-stress -6
/external/jmdns/src/javax/jmdns/impl/
H A DDNSRecord.java77 abstract boolean handleQuery(JmDNSImpl dns, long expirationTime); argument
84 abstract boolean handleResponse(JmDNSImpl dns); argument
89 abstract DNSOutgoing addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) throws IOException; argument
330 boolean handleQuery(JmDNSImpl dns, long expirationTime) { argument
331 if (dns.getLocalHost().conflictWithRecord(this)) {
332 DNSRecord.Address localAddress = dns.getLocalHost().getDNSAddressRecord(this.getRecordType(), this.isUnique(), DNSConstants.DNS_TTL);
346 if (dns.isProbing() && comparison > 0) {
348 dns.getLocalHost().incrementHostName();
349 dns.getCache().clear();
350 for (ServiceInfo serviceInfo : dns
365 handleResponse(JmDNSImpl dns) argument
384 addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) argument
404 getServiceEvent(JmDNSImpl dns) argument
466 handleQuery(JmDNSImpl dns, long expirationTime) argument
473 handleResponse(JmDNSImpl dns) argument
484 addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) argument
514 getServiceEvent(JmDNSImpl dns) argument
583 handleQuery(JmDNSImpl dns, long expirationTime) argument
590 handleResponse(JmDNSImpl dns) argument
600 addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) argument
618 getServiceEvent(JmDNSImpl dns) argument
724 handleQuery(JmDNSImpl dns, long expirationTime) argument
774 handleResponse(JmDNSImpl dns) argument
794 addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) argument
819 getServiceEvent(JmDNSImpl dns) argument
871 addAnswer(JmDNSImpl dns, DNSIncoming in, InetAddress addr, int port, DNSOutgoing out) argument
880 handleQuery(JmDNSImpl dns, long expirationTime) argument
889 handleResponse(JmDNSImpl dns) argument
948 getServiceEvent(JmDNSImpl dns) argument
998 getServiceEvent(JmDNSImpl dns) argument
[all...]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DAddressTest.java29 private Dns dns = Dns.SYSTEM; field in class:AddressTest
37 Address a = new Address("square.com", 80, dns, socketFactory, null, null, null,
39 Address b = new Address("square.com", 80, dns, socketFactory, null, null, null,
46 Address a = new Address("square.com", 80, dns, socketFactory, null, null, null,
48 Address b = new Address("square.com", 80, dns, socketFactory, null, null, null,
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DAddress.java40 final Dns dns; field in class:Address
51 public Address(String uriHost, int uriPort, Dns dns, SocketFactory socketFactory, argument
61 if (dns == null) throw new IllegalArgumentException("dns == null");
62 this.dns = dns;
116 return dns;
176 && this.dns.equals(that.dns)
192 result = 31 * result + dns
[all...]
/external/ltp/testcases/network/dhcp/
H A Ddnsmasq_tests.sh32 --dhcp-option=option:router --dhcp-option=option:dns-server
43 --dhcp-option=option6:dns-server
/external/autotest/client/cros/cellular/
H A Dlabconfig_write_stanzas32 self.dns = io.StringIO()
37 self.dns.write(u'%(address)s\t%(name)s\n' % d)
60 print f.dns.getvalue()
/external/jmdns/src/javax/jmdns/
H A DJmmDNS.java86 JmmDNS dns = null;
89 dns = delegate.newJmmDNS();
91 return (dns != null ? dns : new JmmDNSImpl());

Completed in 2832 milliseconds

123