/aosp_15_r20/external/grpc-grpc/test/cpp/naming/ |
H A D | resolver_test_record_groups.yaml | 1 resolver_tests_common_zone_name: resolver-tests-version-4.grpctestingexp. 3 # Tests for which we enable SRV queries 4 - expected_addrs: 5 - {address: '5.5.5.5:443', is_balancer: false} 13 record_to_resolve: no-srv-ipv4-single-target 15 no-srv-ipv4-single-target: 16 - {TTL: '2100', data: 5.5.5.5, type: A} 17 - expected_addrs: 18 - {address: '1.2.3.4:1234', is_balancer: true} 26 record_to_resolve: srv-ipv4-single-target [all …]
|
H A D | resolver_component_tests_runner.py | 8 # http://www.apache.org/licenses/LICENSE-2.0 16 # This file is auto-generated 27 argp = argparse.ArgumentParser(description='Run c-ares resolver tests') 28 argp.add_argument('--test_bin_path', default=None, type=str, 30 argp.add_argument('--dns_server_bin_path', default=None, type=str, 32 argp.add_argument('--records_config_path', default=None, type=str, 35 argp.add_argument('--dns_server_port', default=None, type=int, 37 argp.add_argument('--dns_resolver_bin_path', default=None, type=str, 39 argp.add_argument('--tcp_connect_bin_path', default=None, type=str, 41 argp.add_argument('--extra_args', default='', type=str, [all …]
|
/aosp_15_r20/external/mdnsresponder/mDNSCore/ |
H A D | mDNSEmbeddedAPI.h | 1 /* -*- 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 …]
|
H A D | DNSCommon.c | 1 /* -*- 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 …]
|
H A D | uDNS.c | 1 /* -*- 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 …]
|
H A D | mDNS.c | 1 /* -*- 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 …]
|
/aosp_15_r20/prebuilts/go/linux-x86/src/net/ |
D | lookup_test.go | 2 // Use of this source code is governed by a BSD-style 33 {IP: IPv4(127, 0, 0, 1)}, 42 // mDNS, and may use platform-dependent DNS stub resolver if possible. 44 // encodings, UTF-8 encoded net name, domain name, FQDN or absolute 50 cname, target string 61 // non-standard back door 79 t.Skip("no resolv.conf on iOS") 83 t.Skip("IPv4 is required") 97 i-- 103 t.Error("got no record") [all …]
|
D | dnsclient_unix_test.go | 2 // Use of this source code is governed by a BSD-style 158 …{mustQuestion("1.0.168.192.in-addr.arpa.", dnsmessage.TypePTR, dnsmessage.ClassINET), dnsmessage.R… 165 // answers at DNS query-response interaction level. 306 dir, err := os.MkdirTemp("", "go-resolvconftest") 424 t.Errorf("no records for %s", name) 443 a, aaaa bool // whether response contains A, AAAA-record 445 // no records, transport timeout 456 // no records, non-existent domain 467 // a few A records, no AAAA records 469 "ipv4.google.com.", [all …]
|
/aosp_15_r20/external/openthread/src/core/net/ |
H A D | dns_types.hpp | 19 * ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 37 #include "openthread-core-config.h" 63 * @addtogroup core-dns 103 * Sets the Message ID to a crypto-secure randomly generated number. 263 kResponseSuccess = 0, ///< Success (no error condition). 303 … * - kResponseSuccess (0) : Success (no error condition) -> kErrorNone 304 … * - kResponseFormatError (1) : Server unable to interpret due to format error -> kErrorParse 305 … * - kResponseServerFailure (2) : Server encountered an internal failure -> kErrorFailed 306 …* - kResponseNameError (3) : Name that ought to exist, does not exists -> kErrorNotFou… 307 …* - kResponseNotImplemented (4) : Server does not support the query type (OpCode) -> kErrorNotImp… [all …]
|
/aosp_15_r20/external/mdnsresponder/mDNSShared/ |
H A D | dns_sd.h | 1 /* -*- 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 …]
|
H A D | uds_daemon.c | 1 /* -*- 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 …]
|
/aosp_15_r20/external/libcups/vcnet/ |
H A D | dns_sd.h | 1 /* -*- 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 …]
|
/aosp_15_r20/external/openthread/src/cli/ |
H A D | README.md | 24 - [ba](#ba) 25 - [bbr](#bbr) 26 - [br](README_BR.md) 27 - [bufferinfo](#bufferinfo) 28 - [ccathreshold](#ccathreshold) 29 - [channel](#channel) 30 - [child](#child-list) 31 - [childip](#childip) 32 - [childmax](#childmax) 33 - [childsupervision](#childsupervision-interval) [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | CHANGES.0 | 1 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 …]
|
/aosp_15_r20/external/dnsmasq/ |
H A D | dnsmasq.conf.example | 5 # "/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 …]
|
H A D | CHANGELOG.archive | 1 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 …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | asyncio-eventloop.rst | 4 .. _asyncio-event-loop: 13 ------------------------------------ 21 Application developers should typically use the high-level asyncio functions, 24 of lower-level code, libraries, and frameworks, who need finer control over 29 The following low-level functions can be used to get, set, or create 36 Raise a :exc:`RuntimeError` if there is no running event loop. 50 If there is no running event loop set, the function will return 58 As noted above, consider using the higher-level :func:`asyncio.run` function, 63 In Python versions 3.10.0--3.10.8 and 3.11.0 this function 65 :exc:`DeprecationWarning` if there was no running event loop, even if [all …]
|
/aosp_15_r20/external/dnsmasq/src/ |
H A D | option.c | 1 /* 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 …]
|
/aosp_15_r20/external/python/cpython3/Lib/test/ |
D | test_socket.py | 44 MSG = 'Michael Gilfix was here\u1234\r\n'.encode('utf-8') 205 """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 …]
|
/aosp_15_r20/external/mdnsresponder/mDNSPosix/ |
H A D | NetMonitor.c | 1 /* -*- 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 …]
|
/aosp_15_r20/external/curl/docs/ |
H A D | TODO | 23 1.4 alt-svc sharing 25 1.6 thread-safe sharing 28 1.10 auto-detect proxy 31 1.13 c-ares and CURLOPT_OPENSOCKETFUNCTION 38 1.20 SRV and URI DNS records 50 2. libcurl - multi interface 51 2.1 More non-blocking 53 2.3 Non-blocking curl_multi_remove_handle() 55 2.5 Edge-triggered sockets should work 72 5.2 Obey Retry-After in redirects [all …]
|
/aosp_15_r20/external/toybox/android/mac/generated/ |
H A D | help.h | 1 …-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 #define HELP_toybox_zhelp "Compress help with gzip -9, deflating when displayed. This makes the\nbi… 15 …t --help argument in all commands, even ones with a NULL\noptstring. (Use TOYFLAG_NOHELP to disabl… 23 #define HELP_toybox_libcrypto "Use faster hash functions out of external -lcrypto library." 27 #define HELP_toybox_selinux "Include SELinux options in commands such as ls, and add\nSELinux-speci… 33 …--long | --help | --version | [COMMAND] [ARGUMENTS...]]\n\nWith no arguments, \"toybox\" shows ava… 41 …-D] [-F] [-R] [-n] [-v] FILE...\n\nRestores the default security contexts for the given files.\n\n… 43 …-p PRI] [-t TAG] [MESSAGE...]\n\nLogs message (or stdin) to logcat.\n\n-p Use the given priority i… 49 #define HELP_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command… [all …]
|
/aosp_15_r20/external/toybox/android/linux/generated/ |
H A D | help.h | 1 …-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 #define HELP_toybox_zhelp "Compress help with gzip -9, deflating when displayed. This makes the\nbi… 15 …t --help argument in all commands, even ones with a NULL\noptstring. (Use TOYFLAG_NOHELP to disabl… 23 #define HELP_toybox_libcrypto "Use faster hash functions out of external -lcrypto library." 27 #define HELP_toybox_selinux "Include SELinux options in commands such as ls, and add\nSELinux-speci… 33 …--long | --help | --version | [COMMAND] [ARGUMENTS...]]\n\nWith no arguments, \"toybox\" shows ava… 41 …-D] [-F] [-R] [-n] [-v] FILE...\n\nRestores the default security contexts for the given files.\n\n… 43 …-p PRI] [-t TAG] [MESSAGE...]\n\nLogs message (or stdin) to logcat.\n\n-p Use the given priority i… 49 #define HELP_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command… [all …]
|
/aosp_15_r20/external/toybox/android/device/generated/ |
H A D | help.h | 1 …-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 #define HELP_toybox_zhelp "Compress help with gzip -9, deflating when displayed. This makes the\nbi… 15 …t --help argument in all commands, even ones with a NULL\noptstring. (Use TOYFLAG_NOHELP to disabl… 23 #define HELP_toybox_libcrypto "Use faster hash functions out of external -lcrypto library." 27 #define HELP_toybox_selinux "Include SELinux options in commands such as ls, and add\nSELinux-speci… 33 …--long | --help | --version | [COMMAND] [ARGUMENTS...]]\n\nWith no arguments, \"toybox\" shows ava… 41 …-D] [-F] [-R] [-n] [-v] FILE...\n\nRestores the default security contexts for the given files.\n\n… 43 …-p PRI] [-t TAG] [MESSAGE...]\n\nLogs message (or stdin) to logcat.\n\n-p Use the given priority i… 49 #define HELP_skeleton_alias "usage: skeleton_alias [-dq] [-b NUMBER]\n\nExample of a second command… [all …]
|
/aosp_15_r20/external/openthread/tests/scripts/thread-cert/ |
H A D | node.py | 20 # ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE 82 … self._socat_proc = subprocess.Popen(['socat', '-d', '-d', 'pty,raw,echo=0', 'pty,raw,echo=0'], 103 # We expect ot-rcp not to quit in 1 second. 106 raise Exception(f"ot-rcp {nodeid} exited unexpectedly!") 108 def _get_ot_rcp_path(self) -> str: 110 path = '%s/examples/apps/ncp/ot-rcp' % srcdir 111 logging.info("ot-rcp path: %s", path) 116 subprocess.check_call(f"docker rm -f {self._docker_name} || true", shell=True) 118 dns = ['--dns=127.0.0.1'] if INFRA_DNS64 == 1 else ['--dns=8.8.8.8'] 119 nat64_prefix = ['--nat64-prefix', '2001:db8:1:ffff::/96'] if INFRA_DNS64 == 1 else [] [all …]
|