/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | README.md | 1 c-ares 4 …ld Status](https://api.cirrus-ci.com/github/c-ares/c-ares.svg)](https://cirrus-ci.com/github/c-are… 5 …gc5914tm72pvs/branch/master?svg=true)](https://ci.appveyor.com/project/c-ares/c-ares/branch/master) 6 …Status](https://coveralls.io/repos/github/c-ares/c-ares/badge.svg)](https://coveralls.io/github/c-… 8 …orage.googleapis.com/badges/c-ares.svg)](https://bugs.chromium.org/p/oss-fuzz/issues/list?sort=-op… 9 …[Releases](https://coderelease.io/badge/c-ares/c-ares)](https://coderelease.io/github/repository/c… 11 This is c-ares, an asynchronous resolver library. It is intended for 17 The full source code is available in the ['c-ares' release archives](https://c-ares.org/download/), 18 and in a git repository: https://github.com/c-ares/c-ares. See the 22 regard to c-ares (or by all means the original ares too), get in touch with us [all …]
|
D | RELEASE-NOTES | 1 c-ares version 1.19.1 6 (https://ostif.org) for sponsoring a security audit of c-ares performed by X41 43 [1] = https://github.com/c-ares/c-ares/pull/515 44 [2] = https://github.com/c-ares/c-ares/pull/520 45 [3] = https://github.com/c-ares/c-ares/issues/517 46 [4] = https://github.com/c-ares/c-ares/pull/511 47 [5] = https://github.com/c-ares/c-ares/pull/513 48 [6] = https://github.com/c-ares/c-ares/pull/512 49 [7] = https://github.com/c-ares/c-ares/pull/510 50 [8] = https://github.com/c-ares/c-ares/pull/509 [all …]
|
D | CHANGES.0 | 1 Changelog for the c-ares project 16 o man pages: docs for the c-ares utility programs 68 - We switched from CVS to git. See http://github.com/bagder/c-ares 77 Bail, and February 2010 by Jakub Hrozek on the c-ares mailing list. On 84 ares channel as these support both IPv4 and IPv6 name servers. 119 - Changed naming convention for c-ares libraries built with MSVC, details 124 with the ones declared in ares.h 131 adjustments when recompiled using c-ares 1.7.0. 138 with the ones declared in ares.h. Added ares_free_data() along with 147 - Makefile.msvc is now the reference method to build c-ares and sample [all …]
|
D | README.msvc | 9 How to build c-ares using MSVC or Visual Studio 20 Change to c-ares source folder where Makefile.msvc file is located and run: 24 This will build all c-ares libraries as well as three sample programs. 28 depends on the MSVC compiler version being used to build c-ares. 32 holds the c-ares libraries you have just generated, the other three 35 The above command builds four versions of the c-ares library, dynamic 46 In order to allow easy usage of c-ares libraries it may be convenient to 47 install c-ares libraries and header files to a common subdirectory tree. 49 Once that c-ares libraries have been built using procedure described above, 51 to designate the top subdirectory where installation of c-ares libraries and [all …]
|
D | INSTALL.md | 1 ** This file is adapted from libcurl and not yet fully rewritten for c-ares! ** 15 Lots of people download binary distributions of c-ares. This document 16 does not describe how to install c-ares using such a binary package. 17 This document describes how to compile, build and install c-ares from 53 If you want to install c-ares in a different file hierarchy than /usr/local, 56 ./configure --prefix=/path/to/c-ares/tree 80 If you're a c-ares developer and use gcc, you might want to enable more 99 Download and unpack the c-ares package. 101 `cd` to the new directory. (e.g. `cd c-ares-1.7.6`) 131 specifies where c-ares will be installed. If `configure` completes [all …]
|
D | c-ares-config.cmake.in | 5 include("${CMAKE_CURRENT_LIST_DIR}/c-ares-config-version.cmake") 6 include("${CMAKE_CURRENT_LIST_DIR}/c-ares-targets.cmake") 8 set(c-ares_LIBRARY c-ares::cares) 11 if(NOT TARGET c-ares::cares_shared) 12 add_library(c-ares::cares_shared INTERFACE IMPORTED) 13 set_target_properties(c-ares::cares_shared PROPERTIES INTERFACE_LINK_LIBRARIES "c-ares::cares") 15 set(c-ares_SHARED_LIBRARY c-ares::cares_shared) 19 if(NOT TARGET c-ares::cares_static) 20 add_library(c-ares::cares_static INTERFACE IMPORTED) 21 set_target_properties(c-ares::cares_static PROPERTIES INTERFACE_LINK_LIBRARIES "c-ares::cares") [all …]
|
D | README.cares | 1 c-ares 4 This package is based on ares 1.1.1 (written by Greg Hudson). Daniel Stenberg 5 decided to fork and release a separate project since the original ares author 8 This package is dubbed 'c-ares' since Daniel wanted this for use within the 9 curl project (hence the letter C) and it makes a nice pun. c-ares is not API 10 compatible with ares: a new name makes that more obvious to the public. 13 ftp://athena-dist.mit.edu:pub/ATHENA/ares (which seems to not be alive 14 anymore). A local copy of the original ares package is kept here: 15 https://c-ares.org/download/ares-1.1.1.tar.gz
|
D | SECURITY.md | 1 c-ares security 5 should be handled in the c-ares project. 10 All known and public c-ares vulnerabilities will be listed on [the c-ares web 11 site](https://c-ares.org/vulns.html). 31 privately to `c-ares[email protected]`. That's an email alias that reaches a 35 security vulnerability in c-ares are ignored and no further action is 83 the same manner we always announce releases. It gets sent to the c-ares 89 C-ARES-SECURITY (at haxx dot se) 95 c-ares project and you have shown an understanding for the project and its way
|
D | Makefile.msvc | 18 # Makefile for building c-ares libraries and sample programs with MSVC. 23 # <target> must be one of: [ ALL | c-ares | acountry | adig | ahost | clean } 28 # all targets being built for all <config> c-ares library types. 39 # c-ares static and dynamic libraries common base 49 # Base names for c-ares DLL import libraries 80 # Verify that current subdir is the c-ares source one 84 ! MESSAGE Can not process Makefile.msvc from outside of c-ares source subdirectory. 128 ! MESSAGE MSVC c-ares makefile 133 ! MESSAGE <target> must be one of: [ ALL | c-ares | acountry | adig | ahost | clean } 138 ! MESSAGE all targets being built for all <config> c-ares library types. [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/test/ |
D | Makefile.inc | 1 TESTSOURCES = ares-test-main.cc \ 2 ares-test-init.cc \ 3 ares-test.cc \ 4 ares-test-ns.cc \ 5 ares-test-parse.cc \ 6 ares-test-parse-a.cc \ 7 ares-test-parse-aaaa.cc \ 8 ares-test-parse-caa.cc \ 9 ares-test-parse-mx.cc \ 10 ares-test-parse-naptr.cc \ [all …]
|
D | README.md | 1 c-ares Unit Test Suite 5 This directory holds unit tests for the c-ares library. To build the tests: 7 - Build the main c-ares library first, in the directory above this. To 35 - There are live tests (`ares-test-live.cc`), which assume that the 40 - There are some mock tests (`ares-test-mock.cc`) that set up a fake DNS 41 server and inject its port into the c-ares library configuration. 51 c-ares library that allows override of `malloc`/`free`. 53 (`ares-test-internal.c`), but these are only enabled if the library 86 - Configure the c-ares library and test suite with a recent Clang and a sanitizer, for example: 93 - Link each of the fuzzer entrypoints in with `ares-fuzz.cc`: [all …]
|
D | ares-test-main.cc | 4 #include "ares-test.h" 10 ares::test::verbose = true; in main() 13 ares::test::mock_port = atoi(argv[ii]); in main() 15 ares::test::families = ares::test::ipv4_family; in main() 16 ares::test::families_modes = ares::test::ipv4_family_both_modes; in main() 18 ares::test::families = ares::test::ipv6_family; in main() 19 ares::test::families_modes = ares::test::ipv6_family_both_modes; in main()
|
/aosp_15_r20/external/curl/lib/ |
H A D | asyn-ares.c | 28 * Only for ares-enabled builds 67 #include <ares.h> 68 #include <ares_version.h> /* really old c-ares did not include this by 72 /* c-ares 1.5.0 or later, the callback proto is modified */ 102 int num_pending; /* number of outstanding c-ares requests */ 103 struct Curl_addrinfo *temp_ai; /* intermediary result while fetching c-ares 113 obtaining a "definitive" one. For old c-ares without getaddrinfo. 115 This is intended to equal the c-ares default timeout. cURL always uses that 116 default value. Unfortunately, c-ares does not expose its default timeout in 130 * environment. Initializes ares library. [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/cares/cares/docs/ |
D | ares_library_init.3 | 19 ares_library_init \- c-ares library initialization 22 #include <ares.h> 35 function performs initializations internally required by the c-ares 37 c-ares can be used in a program. 40 before the program actually executes any other c-ares library function. 46 call done when c-ares is in an uninitialized state is actually 51 parameter is a bit pattern that tells c-ares exactly which features 55 familiar with it and trying to control some internal c-ares feature. 60 c-ares library will be use instead of \fImalloc(3)\fP, \fIfree(3)\fP and 72 is called before the c-ares library is initialized and used. [all …]
|
D | ares_library_cleanup.3 | 19 ares_library_cleanup \- c-ares library deinitialization 22 #include <ares.h> 30 function uninitializes the c-ares library, freeing all resources 34 \fIares_library_init(3)\fP, this function uninitializes the c-ares 41 This function must be called when the program using c-ares will 42 no longer need any c-ares function. Once the program has called 45 c-ares function. 47 This function does not cancel any pending c-ares lookups or requests 61 This function was first introduced in c-ares version 1.7.0 along with the 66 c-ares version 1.10.0. [all …]
|
/aosp_15_r20/external/curl/m4/ |
H A D | curl-confopts.m4 | 57 dnl --enable-ares or --disable-ares, and 63 AC_MSG_CHECKING([whether to enable c-ares for DNS lookups]) 65 AC_ARG_ENABLE(ares, optenable 66 AS_HELP_STRING([--enable-ares@<:@=PATH@:>@],[Enable c-ares for DNS lookups]) 67 AS_HELP_STRING([--disable-ares],[Disable c-ares for DNS lookups]), 71 dnl --disable-ares option used 79 dnl --enable-ares option used 308 dnl AC_MSG_CHECKING([whether to ignore c-ares enabling assumed setting]) 316 dnl AC_MSG_ERROR([options --enable-ares and --enable-threads are mutually exclusive, at most on… 478 dnl When c-ares library support has been requested, performs necessary checks [all …]
|
/aosp_15_r20/external/grpc-grpc/src/core/lib/event_engine/posix_engine/ |
H A D | grpc_polled_fd_posix.h | 40 #include <ares.h> 57 : name_(absl::StrCat("c-ares fd: ", static_cast<int>(as))), in GrpcPolledFdPosix() 62 // c-ares library will close the fd. This fd may be picked up immediately by in ~GrpcPolledFdPosix() 66 "c-ares query finished"); in ~GrpcPolledFdPosix() 120 poller_->CreateHandle(as, "c-ares socket", poller_->CanTrackErrors())); in NewGrpcPolledFdLocked() 130 /// Overridden socket API for c-ares 136 /// Overridden connect API for c-ares 142 /// Overridden writev API for c-ares 148 /// Overridden recvfrom API for c-ares 155 /// Overridden close API for c-ares [all …]
|
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_ev_driver_windows.cc | 25 #include <ares.h> 49 // Our grpc/c-ares code on Windows uses the ares_set_socket_functions API, 51 // a c-ares header that is not public. 52 // See https://github.com/c-ares/c-ares/issues/206. 60 // c-ares reads and takes action on the error codes of the 63 // c-ares should read, it must do so by calling SetWSAError() on the 86 // c-ares creates its own sockets and is meant to read them when readable and 92 // from c-ares and are used with the grpc windows poller, and it, e.g., 93 // manufactures virtual socket error codes when it e.g. needs to tell the c-ares 110 name_(absl::StrFormat("c-ares socket: %" PRIdPTR, as)), in GrpcPolledFdWindows() [all …]
|
D | grpc_ares_wrapper.cc | 49 #include <ares.h> 282 // by the c-ares code comments. in calculate_next_ares_backup_poll_alarm() 286 "request:%p ev_driver=%p. next ares process poll time in " in calculate_next_ares_backup_poll_alarm() 309 // In case of non-responsive DNS servers, dropped packets, etc., c-ares has 311 // polling ares_process_fd on time intervals. Overall, the c-ares library is 409 // Get the file descriptors used by the ev_driver's ares channel, register 472 fd_node_shutdown_locked(cur, "c-ares fd shutdown"); in grpc_ares_notify_on_event_locked() 531 "Failed to init ares channel. C-ares error: ", ares_strerror(status))); in grpc_ares_ev_driver_create_locked() 553 "(c-ares resolver) request:%p c-ares address sorting: %s[%" PRIuPTR in log_address_sorting_list() 607 // TODO(apolcyn): allow c-ares to return a service config in grpc_ares_complete_request_locked() [all …]
|
/aosp_15_r20/external/curl/tests/ |
H A D | testcurl.pl | 373 # find out if curl source dir has an in-tree c-ares repo 374 $have_embedded_ares = 1 if (-f "$CURLDIR/ares/GIT-INFO"); 377 # find out if curl source dir has an in-tree c-ares extracted tarball 378 $have_embedded_ares = 1 if (-f "$CURLDIR/ares/ares_build.h"); 436 if (-d "ares/.git") { 437 chdir "ares"; 440 logit "skipping git pull (--nogitpull) in ares"; 442 logit "run git pull in ares"; 445 logit "failed to update from ares git ($?), continue anyway" if ($?); 453 logit "The most recent ares git commits:"; [all …]
|
/aosp_15_r20/external/grpc-grpc/src/core/resolver/dns/c_ares/ |
H A D | grpc_ares_ev_driver_posix.cc | 36 #include <ares.h> 57 : name_(absl::StrCat("c-ares fd: ", static_cast<int>(as))), as_(as) { in GrpcPolledFdPosix() 65 // c-ares library will close the fd inside grpc_fd. This fd may be picked up in ~GrpcPolledFdPosix() 69 grpc_fd_orphan(fd_, nullptr, &phony_release_fd, "c-ares query finished"); in ~GrpcPolledFdPosix() 130 /// Overridden socket API for c-ares 136 /// Overridden connect API for c-ares 142 /// Overridden writev API for c-ares 148 /// Overridden recvfrom API for c-ares 155 /// Overridden close API for c-ares 160 // c-ares owns this fd, grpc has never seen it in Close() [all …]
|
H A D | grpc_ares_ev_driver_windows.cc | 29 #include <ares.h> 54 // Our grpc/c-ares code on Windows uses the ares_set_socket_functions API, 56 // a c-ares header that is not public. 57 // See https://github.com/c-ares/c-ares/issues/206. 67 // c-ares reads and takes action on the error codes of the 70 // c-ares should read, it must do so by calling SetWSAError() on the 93 // c-ares creates its own sockets and is meant to read them when readable and 99 // from c-ares and are used with the grpc windows poller, and it, e.g., 100 // manufactures virtual socket error codes when it e.g. needs to tell the c-ares 117 name_(absl::StrFormat("c-ares socket: %" PRIdPTR, as)), in GrpcPolledFdWindows() [all …]
|
H A D | grpc_ares_wrapper.cc | 48 #include <ares.h> 281 // by the c-ares code comments. in calculate_next_ares_backup_poll_alarm() 285 "request:%p ev_driver=%p. next ares process poll time in " in calculate_next_ares_backup_poll_alarm() 308 // In case of non-responsive DNS servers, dropped packets, etc., c-ares has 310 // polling ares_process_fd on time intervals. Overall, the c-ares library is 406 // Get the file descriptors used by the ev_driver's ares channel, register 478 fd_node_shutdown_locked(cur, "c-ares fd shutdown"); in grpc_ares_notify_on_event_locked() 542 "Failed to init ares channel. C-ares error: ", ares_strerror(status))); in grpc_ares_ev_driver_create_locked() 564 "(c-ares resolver) request:%p c-ares address sorting: %s[%" PRIuPTR in log_address_sorting_list() 619 // TODO(apolcyn): allow c-ares to return a service config in grpc_ares_complete_request_locked() [all …]
|
/aosp_15_r20/external/grpc-grpc/test/cpp/naming/ |
H A D | cancel_ares_query_test.cc | 197 overrides.dns_resolver = "ares"; in SetUpTestSuite() 256 // Note that running the cancellation c-ares test is somewhat irrelevant for in TEST_F() 257 // this test. This test only cares about what happens to fd's that c-ares in TEST_F() 260 // This test relies on the assumption that cancelling a c-ares query in TEST_F() 424 // c-ares to pick up a socket read error, while the previous socket in TEST_F() 425 // connect/writes succeeded. Meanwhile, force c-ares to only use TCP. in TEST_F() 464 // The problem with that loop is that c-ares *can* in certain situations stop 473 // 1) We force c-ares to use TCP for its DNS queries 476 // 3) When the c-ares library receives the three-zero-byte response from the 478 // https://github.com/c-ares/c-ares/blob/6360e96b5cf8e5980c887ce58ef727e53d77243a/src/lib/ares… [all …]
|
/aosp_15_r20/external/grpc-grpc/src/core/lib/event_engine/windows/ |
H A D | grpc_polled_fd_windows.cc | 23 #include <ares.h> 42 // Our grpc/c-ares code on Windows uses the ares_set_socket_functions API, 44 // a c-ares header that is not public. 45 // See https://github.com/c-ares/c-ares/issues/206. 76 // c-ares reads and takes action on the error codes of the 79 // c-ares should read, it must do so by calling SetWSAError() on the 102 // c-ares creates its own sockets and is meant to read them when readable and 108 // to and read from c-ares and are used with the grpc windows poller, and it, 110 // the c-ares library to wait for an async read. 116 : name_(absl::StrFormat("c-ares socket: %" PRIdPTR, in GrpcPolledFdWindows() [all …]
|