/device/generic/goldfish/wifi/ipv6proxy/ |
address.cpp | 63 struct addrinfo hints; 67 struct addrinfo* addrinfo; local 68 int res = ::getaddrinfo(address.c_str(), nullptr, &hints, &addrinfo); 72 mStorage.resize(addrinfo->ai_addrlen); 73 memcpy(mStorage.data(), addrinfo->ai_addr, mStorage.size()); 74 freeaddrinfo(addrinfo);
|
/external/syslinux/core/lwip/src/include/lwip/ |
netdb.h | 83 struct addrinfo { struct 91 struct addrinfo *ai_next; /* Pointer to next in list. */ 103 void lwip_freeaddrinfo(struct addrinfo *ai); 106 const struct addrinfo *hints, 107 struct addrinfo **res); 113 #define freeaddrinfo(addrinfo) lwip_freeaddrinfo(addrinfo)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Modules/ |
addrinfo.h | 91 /* valid flags for addrinfo */
128 struct addrinfo {
struct 136 struct addrinfo *ai_next; /* next structure in linked list */
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Modules/ |
addrinfo.h | 91 /* valid flags for addrinfo */
127 struct addrinfo {
struct 135 struct addrinfo *ai_next; /* next structure in linked list */
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/PyMod-2.7.10/Modules/ |
addrinfo.h | 100 /* valid flags for addrinfo */
137 struct addrinfo {
struct 145 struct addrinfo *ai_next; /* next structure in linked list */
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
addrinfo.h | 91 /* valid flags for addrinfo */
128 struct addrinfo {
struct 136 struct addrinfo *ai_next; /* next structure in linked list */
|
/external/libpcap/ |
pcap-new.c | 92 struct addrinfo hints; /* temp variable needed to resolve hostnames into to socket representation */ 93 struct addrinfo *addrinfo; /* temp variable needed to resolve hostnames into to socket representation */ local 366 addrinfo = NULL; 368 memset(&hints, 0, sizeof(struct addrinfo)); 375 if (sock_initaddress(host, RPCAP_DEFAULT_NETPORT, &hints, &addrinfo, errbuf, PCAP_ERRBUF_SIZE) == -1) 380 if (sock_initaddress(host, port, &hints, &addrinfo, errbuf, PCAP_ERRBUF_SIZE) == -1) 384 if ((sockctrl = sock_open(addrinfo, SOCKOPEN_CLIENT, 0, errbuf, PCAP_ERRBUF_SIZE)) == -1) 387 /* addrinfo is no longer used */ 388 freeaddrinfo(addrinfo); 1005 struct addrinfo *addrinfo; \/* keeps the addrinfo chain; required to open a new socket *\/ local 1137 struct addrinfo hints, *addrinfo, *ai_next; \/* temp var needed to translate between hostname to its address *\/ local [all...] |
sockutils.c | 263 * \param addrinfo: pointer to an addrinfo variable which will be used to 283 SOCKET sock_open(struct addrinfo *addrinfo, int server, int nconn, char *errbuf, int errbuflen) 287 sock = socket(addrinfo->ai_family, addrinfo->ai_socktype, addrinfo->ai_protocol); 305 if (addrinfo->ai_family == PF_INET6) 319 if (bind(sock, addrinfo->ai_addr, (int) addrinfo->ai_addrlen) != 0 875 struct addrinfo *addrinfo, *ai_next; local 1204 struct addrinfo *addrinfo; local [all...] |
pcap-rpcap.c | 711 struct addrinfo hints; /* temp, needed to open a socket connection */ 712 struct addrinfo *addrinfo; /* temp, needed to open a socket connection */ local 738 addrinfo = NULL; 757 memset(&hints, 0, sizeof(struct addrinfo)); 764 if (sock_initaddress(host, RPCAP_DEFAULT_NETPORT, &hints, &addrinfo, fp->errbuf, PCAP_ERRBUF_SIZE) == -1) 770 if (sock_initaddress(host, ctrlport, &hints, &addrinfo, fp->errbuf, PCAP_ERRBUF_SIZE) == -1) 774 if ((sockctrl = sock_open(addrinfo, SOCKOPEN_CLIENT, 0, fp->errbuf, PCAP_ERRBUF_SIZE)) == INVALID_SOCKET) 777 freeaddrinfo(addrinfo); 778 addrinfo = NULL 919 struct addrinfo *addrinfo; \/* temp, needed to open a socket connection *\/ local 2084 struct addrinfo hints, *addrinfo, *ai_next; \/* temp var needed to translate between hostname to its address *\/ local [all...] |
gencode.c | 130 struct addrinfo { struct 138 struct addrinfo *ai_next; /* next structure in linked list */ 143 #include <netdb.h> /* for "struct addrinfo" */ 288 * any addrinfo structure that would need to be freed. 290 struct addrinfo *ai; [all...] |
/external/python/cpython2/Modules/ |
addrinfo.h | 91 /* valid flags for addrinfo */ 127 struct addrinfo { struct 135 struct addrinfo *ai_next; /* next structure in linked list */
|
/external/python/cpython3/Modules/ |
addrinfo.h | 91 /* valid flags for addrinfo */ 127 struct addrinfo { struct 135 struct addrinfo *ai_next; /* next structure in linked list */
|
/bionic/libc/include/ |
netdb.h | 110 struct addrinfo { struct 118 struct addrinfo *ai_next; /* next structure in linked list */ 160 /* valid flags for addrinfo (not a standard def, apps should not use it) */ 199 int getaddrinfo(const char* __node, const char* __service, const struct addrinfo* __hints, struct addrinfo** __result); 200 void freeaddrinfo(struct addrinfo* __ptr);
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
netdb.h | 169 struct addrinfo {
struct 180 struct addrinfo *ai_next; /**< next structure in linked list */
218 /* valid flags for addrinfo (not a standard def, apps should not use it) */
259 const struct addrinfo * __restrict,
260 struct addrinfo ** __restrict);
264 void freeaddrinfo (struct addrinfo *);
|
/external/tensorflow/tensorflow/contrib/gdr/ |
gdr_memory_manager.cc | 222 rdma_addrinfo* addrinfo; local 227 const_cast<char*>(port_.c_str()), &hints, &addrinfo)) { 241 if (rdma_create_ep(&id, addrinfo, nullptr, &init_attr)) { 246 rdma_freeaddrinfo(addrinfo); 648 rdma_addrinfo* addrinfo; local 652 const_cast<char*>(port.c_str()), &hints, &addrinfo)) { 665 if (rdma_create_ep(&id, addrinfo, nullptr, &init_attr)) { 666 rdma_freeaddrinfo(addrinfo); 671 rdma_freeaddrinfo(addrinfo);
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/ |
netdb.h | 569 struct addrinfo struct 578 struct addrinfo *ai_next; /* Pointer to next in list. */ 587 const struct addrinfo *ar_request; /* Additional request specification. */ 588 struct addrinfo *ar_result; /* Pointer to result. */ 599 /* Possible values for `ai_flags' field in `addrinfo' structure. */ 666 __const struct addrinfo *__restrict __req, 667 struct addrinfo **__restrict __pai); 669 /* Free `addrinfo' structure AI including associated storage. */ 670 extern void freeaddrinfo (struct addrinfo *__ai) __THROW;
|
/external/toybox/toys/pending/ |
ip.c | 55 } addrinfo; variable in typeref:struct:__anon40278 760 if (TT.is_addr && addrinfo.label && fnmatch(addrinfo.label, link->iface, 0)) 967 if ((addrinfo.scope ^ ifa->ifa_scope)&addrinfo.scopemask) return 0; 968 if (addrinfo.ifindex && addrinfo.ifindex != ifa->ifa_index) return 0; 970 if (flag_l && addrinfo.label && ifa->ifa_family == AF_INET6) return 0; 974 if (addrinfo.label && fnmatch(addrinfo.label, label, 0) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32/include/ |
ws2tcpip.h | 182 typedef struct addrinfo { struct 190 struct addrinfo *ai_next; 204 typedef __MINGW_NAME_AW(ADDRINFO) ADDRINFOT,*PADDRINFOT; 206 typedef ADDRINFOA ADDRINFO,*LPADDRINFO; 234 WINSOCK_API_LINKAGE int WSAAPI getaddrinfo(const char *nodename,const char *servname,const struct addrinfo *hints,struct addrinfo **res); 240 typedef int (WSAAPI *LPFN_GETADDRINFO)(const char *nodename,const char *servname,const struct addrinfo *hints,struct addrinfo **res); 256 typedef void (WSAAPI *LPFN_FREEADDRINFO)(struct addrinfo *ai);
|
/external/mdnsresponder/mDNSShared/ |
uds_daemon.c | 196 } addrinfo; member in union:request_state::__anon28886 [all...] |
/external/compiler-rt/lib/sanitizer_common/ |
sanitizer_platform_limits_posix.cc | 993 CHECK_TYPE_SIZE(addrinfo); variable [all...] |