Home
last modified time | relevance | path

Searched +full:no +full:- +full:srv +full:- +full:ipv4 +full:- +full:single +full:- +full:target (Results 1 – 25 of 28) sorted by relevance

12

/external/grpc-grpc/test/cpp/naming/
Dresolver_test_record_groups.yaml1 resolver_tests_common_zone_name: resolver-tests-version-4.grpctestingexp.
3 - expected_addrs:
4 - {address: '5.5.5.5:443', is_balancer: false}
7 record_to_resolve: no-srv-ipv4-single-target
9 no-srv-ipv4-single-target:
10 - {TTL: '2100', data: 5.5.5.5, type: A}
11 - expected_addrs:
12 - {address: '1.2.3.4:1234', is_balancer: true}
15 record_to_resolve: srv-ipv4-single-target
17 _grpclb._tcp.srv-ipv4-single-target:
[all …]
Dresolver_component_tests_runner.py8 # http://www.apache.org/licenses/LICENSE-2.0
16 # This file is auto-generated
28 argp = argparse.ArgumentParser(description='Run c-ares resolver tests')
29 argp.add_argument('--test_bin_path', default=None, type=str,
31 argp.add_argument('--dns_server_bin_path', default=None, type=str,
33 argp.add_argument('--records_config_path', default=None, type=str,
36 argp.add_argument('--dns_server_port', default=None, type=int,
38 argp.add_argument('--dns_resolver_bin_path', default=None, type=str,
40 argp.add_argument('--tcp_connect_bin_path', default=None, type=str,
68 '--server_host', '127.0.0.1',
[all …]
/external/mdnsresponder/mDNSCore/
DmDNSEmbeddedAPI.h1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2002-2003 Apple Computer, Inc. All rights reserved.
9 * http://www.apache.org/licenses/LICENSE-2.0
24 runs in a single address space and memory is extremely constrained.
25 All the APIs here are malloc-free, which means that the caller is
31 because memory is so limited that no more is available.
33 memory requirements, with absolutely no uncertainty or run-time variation,
36 For applications running on general-purpose desktop operating systems
40 requests to a single "mdnsd" daemon running in the background.
46 using malloc(), and then calls through to the low-level malloc-free
[all …]
DDNSCommon.c1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2002-2003 Apple Computer, Inc. All rights reserved.
9 * http://www.apache.org/licenses/LICENSE-2.0
29 // -- domain labels have an initial length byte, not a terminating null character
35 #pragma mark - Program Constants
39 mDNSexport const mDNSInterfaceID mDNSInterfaceMark = (mDNSInterfaceID)-1;
40 mDNSexport const mDNSInterfaceID mDNSInterface_LocalOnly = (mDNSInterfaceID)-2;
41 mDNSexport const mDNSInterfaceID mDNSInterface_Unicast = (mDNSInterfaceID)-3;
42 mDNSexport const mDNSInterfaceID mDNSInterface_P2P = (mDNSInterfaceID)-4;
47 // LLMNR uses IPv4 multicast address 224.0.0.252, IPv6 multicast address FF02::0001:0003, and UDP p…
[all …]
DuDNS.c1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2002-2006 Apple Computer, Inc. All rights reserved.
9 * http://www.apache.org/licenses/LICENSE-2.0
18 * Elimate all mDNSPlatformMemAllocate/mDNSPlatformMemFree from this code -- the core code
19 * is supposed to be malloc-free so that it runs in constant memory determined at compile-time.
20 …* Any dynamic run-time requirements should be handled by the platform layer below or client layer …
31 …// of parentheses, this signals to the compiler that you really intended an assignment and no warn…
39 // In each of these domains we search for our special pointer records (lb._dns-sd._udp.<domain>, et…
57 #pragma mark - General Utility Functions
63 rr->LastAPTime = m->timenow; in SetRecordRetry()
[all …]
DmDNS.c1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2002-2006 Apple Computer, Inc. All rights reserved.
9 * http://www.apache.org/licenses/LICENSE-2.0
18 * from outside the mDNS project -- all the types it expects to find are defined right here.
22 * making *any* assumptions about availability of so-called "standard" C functions,
34 * thinking that variables x and y are both of type "char*" -- and anyone who doesn't
40 #include "uDNS.h" // Defines entry points into unicast-specific routines
51 …// of parentheses, this signals to the compiler that you really intended an assignment and no warn…
84 #pragma mark - Program Constants
98 "b._dns-sd._udp.", // Browse
[all …]
/external/dnsmasq/
Ddnsmasq.conf.example5 # "/usr/sbin/dnsmasq --help" or "man 8 dnsmasq" for details.
10 # uneccessarily. If you have a dial-on-demand link they also stop
14 #domain-needed
15 # Never forward addresses in the non-routed address spaces.
16 #bogus-priv
19 # Uncomment this to filter useless windows-originated DNS requests
20 # which can trigger dial-on-demand links needlessly.
21 # Note that (amongst other things) this blocks all SRV requests,
22 # so don't use it if you use eg Kerberos, SIP, XMMP or Google-talk.
23 # This option only affects forwarding, SRV records originating for
[all …]
DCHANGELOG.archive1 release 0.4 - initial public release
3 release 0.5 - added caching, removed compiler warning on linux PPC
5 release 0.6 - TCP handling: close socket and return to connect state if we
9 Added a patch from Cris Bailiff <c.bailiff@e-secure.com.au>
28 Fix bad bug resulting from not initialising value-result
29 address-length parameter to recvfrom() and accept() - it
35 (1) Dnsmasq no longer blocks during long lookups.
39 (3) Time-to-live data from upstream server is read and
42 the -h option is given).
44 a file other than /etc/resolv.conf (-r option) this allows
[all …]
/external/openthread/src/core/net/
Ddns_types.hpp19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
37 #include "openthread-core-config.h"
66 * @addtogroup core-dns
106 * This method sets the Message ID to a crypto-secure randomly generated number.
266 kResponseSuccess = 0, ///< Success (no error condition).
306 … * - kResponseSuccess (0) : Success (no error condition) -> kErrorNone
307 … * - kResponseFormatError (1) : Server unable to interpret due to format error -> kErrorParse
308 … * - kResponseServerFailure (2) : Server encountered an internal failure -> kErrorFailed
309 …* - kResponseNameError (3) : Name that ought to exist, does not exists -> kErrorNotFou…
310 …* - kResponseNotImplemented (4) : Server does not support the query type (OpCode) -> kErrorNotImp…
[all …]
/external/mdnsresponder/mDNSShared/
Ddns_sd.h1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2003-2004, Apple Computer, Inc. All rights reserved.
20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
36 * of zero-configuration networking (ZEROCONF).
42 * all the information -- such as name, IP address, and port --
46 * AppleTalk. Bonjour allows applications to provide user-friendly printer
61 * For example, Mac OS X 10.4.9 has mDNSResponder-108.4, which would be represented as
62 * version 1080400. This allows C code to do simple greater-than and less-than comparisons:
63 …* e.g. an application that requires the DNSServiceGetProperty() call (new in mDNSResponder-126) ca…
69 * The version defined in this header file symbol allows for compile-time
[all …]
Duds_daemon.c1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2003-2006 Apple Computer, Inc. All rights reserved.
9 * http://www.apache.org/licenses/LICENSE-2.0
42 // Normally we append search domains only for queries with a single label that are not
47 // Apple-specific functionality, not required for other platforms
72 // User IDs 0-500 are system-wide processes, not actual users in the usual sense
78 #pragma mark -
79 #pragma mark - Types and Data Structures
103 …AuthRecord *rr; // Pointer to variable-sized AuthRecord (Why a pointer? Why not just embed it h…
106 // A single registered service: ServiceRecordSet + bookkeeping
[all …]
/external/libcups/vcnet/
Ddns_sd.h1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2003-2004, Apple Computer, Inc. All rights reserved.
20 * DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
36 * of zero-configuration networking (ZEROCONF).
42 * all the information -- such as name, IP address, and port --
46 * AppleTalk. Bonjour allows applications to provide user-friendly printer
61 * For example, Mac OS X 10.4.9 has mDNSResponder-108.4, which would be represented as
62 * version 1080400. This allows C code to do simple greater-than and less-than comparisons:
63 …* e.g. an application that requires the DNSServiceGetProperty() call (new in mDNSResponder-126) ca…
69 * The version defined in this header file symbol allows for compile-time
[all …]
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/
DCHANGES.01 Changelog for the c-ares project
8 o avoid using system's inet_net_pton affected by the WLB-2008080064 advisory
9 o replacement ares_inet_net_pton affected by the WLB-2008080064 advisory
11 o added install target to Makefile.msvc
15 o IPv6-on-windows: find DNS servers correctly
16 o man pages: docs for the c-ares utility programs
27 o local-bind: Support binding to local interface/IPs, see
65 - Use the last instance of domain/search, not the first one
68 - We switched from CVS to git. See http://github.com/bagder/c-ares
71 - Daniel Johnson provided fixes for building with the clang compiler.
[all …]
/external/python/cpython3/Doc/library/
Dasyncio-eventloop.rst11 ------------------------------------
19 Application developers should typically use the high-level asyncio functions,
22 of lower-level code, libraries, and frameworks, who need finer control over
27 The following low-level functions can be used to get, set, or create
34 If there is no running event loop a :exc:`RuntimeError` is raised.
43 If there is no current event loop set in the current OS thread,
57 Deprecation warning is emitted if there is no running event loop.
71 :ref:`setting a custom event loop policy <asyncio-policies>`.
95 .. _asyncio-event-loop:
100 Event loops have **low-level** APIs for the following:
[all …]
/external/dnsmasq/src/
Doption.c1 /* dnsmasq is Copyright (c) 2000-2009 Simon Kelley
39 /* options which don't have a one-char version */
86 {"no-hosts", 0, 0, 'h'},
87 {"no-poll", 0, 0, 'n'},
89 {"no-daemon", 0, 0, 'd'},
90 {"log-queries", 0, 0, 'q'},
93 {"resolv-file", 2, 0, 'r'},
94 {"mx-host", 1, 0, 'm'},
95 {"mx-target", 1, 0, 't'},
96 {"cache-size", 2, 0, 'c'},
[all …]
Drfc1035.c1 /* dnsmasq is Copyright (c) 2000-2009 Simon Kelley
24 ((size_t)((pp) - (unsigned char*) (header) + (len)) <= (plen))
45 /* check that there are the correct no of bytes after the name */ in extract_name()
49 if (cp != (unsigned char*) name) cp--; in extract_name()
90 digs = ((count - 1) >> 2) + 1; in extract_name()
93 if (cp - (unsigned char*) name + digs + 9 >= MAXDNAME) return 0; in extract_name()
94 if (!CHECK_LEN(header, p, plen, (count - 1) >> 3)) return 0; in extract_name()
106 *cp++ = dig < 10 ? dig + '0' : dig + 'A' - 10; in extract_name()
111 } else { /* label_type = 0 -> label. */ in extract_name()
112 if (cp - (unsigned char*) name + l + 1 >= MAXDNAME) return 0; in extract_name()
[all …]
/external/mdnsresponder/mDNSPosix/
DNetMonitor.c1 /* -*- Mode: C; tab-width: 4 -*-
3 * Copyright (c) 2002-2004 Apple Computer, Inc. All rights reserved.
9 * http://www.apache.org/licenses/LICENSE-2.0
26 * thinking that variables x and y are both of type "char*" -- and anyone who doesn't
49 // Both mDNS.c and mDNSWin32.h declare UDPSocket_struct type resulting in a compile-time error, so
78 // These are meta-categories;
131 #define ExactlyOneFilter (Filters && !Filters->next)
143 // Special version of printf that knows how to print IP addresses, DNS-format name strings, etc.
185 #define HostEntryTotalPackets(H) ((H)->pkts[HostPkt_Q] + (H)->pkts[HostPkt_L] + (H)->pkts[HostPkt_R…
201 for (i = 0; i < list->num; i++) in FindHost()
[all …]
/external/python/cpython3/Lib/test/
Dtest_socket.py42 MSG = 'Michael Gilfix was here\u1234\r\n'.encode('utf-8')
203 """Subclass of unittest.TestCase with thread-safe cleanup methods.
523 """Socket tests for client-server connection.
579 # gives a drop-in replacement for SocketConnectedTest, but different
682 """Base class for Unix-domain socket tests."""
700 """Base class for Unix-domain SOCK_STREAM tests."""
707 """Base class for IPv4 socket tests."""
719 """Base class for TCP-over-IPv4 tests."""
725 """Base class for UDP-over-IPv4 tests."""
731 """Base class for UDPLITE-over-IPv4 tests."""
[all …]
/external/toybox/android/mac/generated/
Dhelp.h1-libc on a nommu system, you'll need to say \"y\" here\nunless you used the patch in the mcm-build…
9 … even when it has a built-in version of that command. This requires\n toybox symlinks to be …
13 …t --help argument in all commands, even ones with a NULL\noptstring. (Use TOYFLAG_NOHELP to disabl…
21 #define HELP_toybox_libcrypto "Use faster hash functions out of external -lcrypto library."
25 #define HELP_toybox_selinux "Include SELinux options in commands such as ls, and add\nSELinux-speci…
31--long | --help | --version | [COMMAND] [ARGUMENTS...]]\n\nWith no arguments, \"toybox\" shows ava…
39-D] [-F] [-R] [-n] [-v] FILE...\n\nRestores the default security contexts for the given files.\n\n
41-p PRI] [-t TAG] [MESSAGE...]\n\nLogs message (or stdin) to logcat.\n\n-p Use the given priority i…
47 #define HELP_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command…
49 #define HELP_skeleton "usage: skeleton [-a] [-b STRING] [-c NUMBER] [-d LIST] [-e COUNT] [...]\n\nT…
[all …]
/external/toybox/android/linux/generated/
Dhelp.h1-libc on a nommu system, you'll need to say \"y\" here\nunless you used the patch in the mcm-build…
9 … even when it has a built-in version of that command. This requires\n toybox symlinks to be …
13 …t --help argument in all commands, even ones with a NULL\noptstring. (Use TOYFLAG_NOHELP to disabl…
21 #define HELP_toybox_libcrypto "Use faster hash functions out of external -lcrypto library."
25 #define HELP_toybox_selinux "Include SELinux options in commands such as ls, and add\nSELinux-speci…
31--long | --help | --version | [COMMAND] [ARGUMENTS...]]\n\nWith no arguments, \"toybox\" shows ava…
39-D] [-F] [-R] [-n] [-v] FILE...\n\nRestores the default security contexts for the given files.\n\n
41-p PRI] [-t TAG] [MESSAGE...]\n\nLogs message (or stdin) to logcat.\n\n-p Use the given priority i…
47 #define HELP_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command…
49 #define HELP_skeleton "usage: skeleton [-a] [-b STRING] [-c NUMBER] [-d LIST] [-e COUNT] [...]\n\nT…
[all …]
/external/toybox/android/device/generated/
Dhelp.h1-libc on a nommu system, you'll need to say \"y\" here\nunless you used the patch in the mcm-build…
9 … even when it has a built-in version of that command. This requires\n toybox symlinks to be …
13 …t --help argument in all commands, even ones with a NULL\noptstring. (Use TOYFLAG_NOHELP to disabl…
21 #define HELP_toybox_libcrypto "Use faster hash functions out of external -lcrypto library."
25 #define HELP_toybox_selinux "Include SELinux options in commands such as ls, and add\nSELinux-speci…
31--long | --help | --version | [COMMAND] [ARGUMENTS...]]\n\nWith no arguments, \"toybox\" shows ava…
39-D] [-F] [-R] [-n] [-v] FILE...\n\nRestores the default security contexts for the given files.\n\n
41-p PRI] [-t TAG] [MESSAGE...]\n\nLogs message (or stdin) to logcat.\n\n-p Use the given priority i…
47 #define HELP_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command…
49 #define HELP_skeleton "usage: skeleton [-a] [-b STRING] [-c NUMBER] [-d LIST] [-e COUNT] [...]\n\nT…
[all …]
/external/scapy/scapy/layers/
Dinet6.py4 ## inet6.py --- IPv6 support for Scapy ##
100 If no answer is gathered, None is returned. Else, the answer is
167 ip_regex = re.compile(r"^([a-fA-F0-9:]+)(/[1]?[0-3]?[0-9])?$")
174 tmp[0]=socket.getaddrinfo(tmp[0], None, socket.AF_INET6)[0][-1][0]
187 (value | (0xff >> (8 - netmask))) + 1)
192 (x - self.plen for x in range(8, 129, 8)),
257 return "%s [Teredo srv: %s cli: %s:%s]" % (self.i2h(pkt, x), server, maddr,mport)
261 return self.i2h(pkt, x) # No specific information to return
304 ipv6nh = { 0:"Hop-by-Hop Option Header",
315 59:"No Next Header",
[all …]
/external/openthread/tests/scripts/thread-cert/
Dnode.py20 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
74 … self._socat_proc = subprocess.Popen(['socat', '-d', '-d', 'pty,raw,echo=0', 'pty,raw,echo=0'],
95 # We expect ot-rcp not to quit in 1 second.
98 raise Exception(f"ot-rcp {nodeid} exited unexpectedly!")
100 def _get_ot_rcp_path(self) -> str:
102 path = '%s/examples/apps/ncp/ot-rcp' % srcdir
103 logging.info("ot-rcp path: %s", path)
108 subprocess.check_call(f"docker rm -f {self._docker_name} || true", shell=True)
112 '--rm',
113 '--name',
[all …]
/external/cronet/net/dns/
Dhost_resolver_manager_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
239 --num_slots_available_; in Resolve()
240 --num_requests_waiting_; in Resolve()
242 int rv = ParseAddressList("127.0.0.1", &addrlist->endpoints()); in Resolve()
295 top_level_result_error_ = request_->Start(base::BindOnce( in ResolveHostResponseHelper()
302 top_level_result_error_ = request_->Start( in ResolveHostResponseHelper()
321 return request_->GetResolveErrorInfo().error; in result_error()
440 --num_attempts_waiting_; in Resolve()
445 // Since any negative number is considered a network error, with -1 having in Resolve()
448 // resolves the host, then this method returns -4. in Resolve()
[all …]
/external/scapy/test/
Dregression.uts67 data["win_index"] = -1
68 data["guid"] = "{1XX00000-X000-0X0X-X00X-00XXXX000XXX}"
83 = Test read_routes6() - default output
92 # - one route if there is only the loopback interface
93 # - three routes if there is a network interface
110 = Test read_routes6() - check mandatory routes
229 interact(argv=["-s scapy1"] + extra_args, mybanner="What a test")
238 assert not interact_emulator(extra_args=["-?"]) # Failing
239 assert interact_emulator(extra_args=["-d"]) # Extended
308 = Test mysummary functions - Ether
[all …]

12