/external/chromium/net/websockets/ |
websocket_throttle.cc | 23 static std::string AddrinfoToHashkey(const struct addrinfo* addrinfo) { 24 switch (addrinfo->ai_family) { 27 reinterpret_cast<const sockaddr_in*>(addrinfo->ai_addr); 29 addrinfo->ai_family, 34 reinterpret_cast<const sockaddr_in6*>(addrinfo->ai_addr); 37 addrinfo->ai_family, 43 addrinfo->ai_family, 44 base::HexEncode(addrinfo->ai_addr, 45 addrinfo->ai_addrlen).c_str()) [all...] |
websocket_throttle_unittest.cc | 34 struct addrinfo *AddAddr(int a1, int a2, int a3, int a4, 35 struct addrinfo* next) { 36 struct addrinfo* addrinfo = new struct addrinfo; local 37 memset(addrinfo, 0, sizeof(struct addrinfo)); 38 addrinfo->ai_family = AF_INET; 40 addrinfo->ai_addrlen = addrlen; 41 addrinfo->ai_addr = reinterpret_cast<sockaddr*>(new char[addrlen]) [all...] |
/external/compiler-rt/lib/msan/lit_tests/ |
getaddrinfo-positive.cc | 14 struct addrinfo *ai; 15 struct addrinfo hint;
|
getaddrinfo.cc | 16 struct addrinfo *ai;
|
/external/chromium/net/base/ |
address_list.h | 14 struct addrinfo; 18 // An AddressList object contains a linked list of addrinfo structures. This 34 // Adopt the given addrinfo list (assumed to have been created by 37 // the addrinfo list to the AddressList object. 38 void Adopt(struct addrinfo* head); 40 // Copies the given addrinfo rather than adopting it. If |recursive| is true, 43 void Copy(const struct addrinfo* head, bool recursive); 46 // addrinfo. 47 void Append(const struct addrinfo* head); 74 // Get access to the head of the addrinfo list [all...] |
address_list.cc | 26 void SetPortRecursive(struct addrinfo* info, int port) { 39 Data(struct addrinfo* ai, bool is_system_created); 40 struct addrinfo* head; 56 struct addrinfo* ai = new addrinfo; 57 memset(ai, 0, sizeof(addrinfo)); 113 void AddressList::Adopt(struct addrinfo* head) { 117 void AddressList::Copy(const struct addrinfo* head, bool recursive) { 122 void AddressList::Append(const struct addrinfo* head) { 124 struct addrinfo* new_head [all...] |
host_port_pair.h | 12 struct addrinfo; 26 // Creates a HostPortPair from an addrinfo struct. 27 static HostPortPair FromAddrInfo(const struct addrinfo* ai);
|
address_list_net_log_param.cc | 21 for (const addrinfo* head = address_list_.head();
|
/external/tcpdump/missing/ |
addrinfo.h | 30 /* $Id: addrinfo.h,v 1.4 2002/06/11 17:13:36 itojun Exp $ */ 61 /* valid flags for addrinfo */ 71 struct addrinfo { struct 79 struct addrinfo *ai_next; /* next structure in linked list */ 82 extern void freeaddrinfo (struct addrinfo *); 86 const struct addrinfo *, struct addrinfo **);
|
getaddrinfo.c | 86 #include "addrinfo.h" 175 static int explore_fqdn (const struct addrinfo *, const char *, 176 const char *, struct addrinfo **); 177 static int explore_null (const struct addrinfo *, const char *, 178 const char *, struct addrinfo **); 179 static int explore_numeric (const struct addrinfo *, const char *, 180 const char *, struct addrinfo **); 181 static int explore_numeric_scope (const struct addrinfo *, const char *, 182 const char *, struct addrinfo **); 183 static int get_name (const char *, const struct afd *, struct addrinfo **, [all...] |
/external/dropbear/ |
fake-rfc2553.h | 124 struct addrinfo { struct 132 struct addrinfo *ai_next; /* next structure in linked list */ 142 const struct addrinfo *, struct addrinfo **); 152 void freeaddrinfo(struct addrinfo *);
|
fake-rfc2553.c | 105 freeaddrinfo(struct addrinfo *ai) 107 struct addrinfo *next; 119 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 121 struct addrinfo *ai; 151 const struct addrinfo *hints, struct addrinfo **res) 203 struct addrinfo *cur, *prev;
|
/external/openssh/openbsd-compat/ |
fake-rfc2553.h | 137 struct addrinfo { struct 145 struct addrinfo *ai_next; /* next structure in linked list */ 155 const struct addrinfo *, struct addrinfo **); 165 void freeaddrinfo(struct addrinfo *);
|
fake-rfc2553.c | 110 freeaddrinfo(struct addrinfo *ai) 112 struct addrinfo *next; 124 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 126 struct addrinfo *ai; 156 const struct addrinfo *hints, struct addrinfo **res) 211 struct addrinfo *cur, *prev;
|
/bionic/libc/private/ |
resolv_cache.h | 61 /* Gets addrinfo of the n:th name server associated with an interface. 65 extern struct addrinfo* _resolv_cache_get_nameserver_addr_for_iface(const char* ifname, int n); 67 /* Gets addrinfo of the n:th name server associated with the default interface 71 extern struct addrinfo* _resolv_cache_get_nameserver_addr(int n);
|
/system/extras/tests/bionic/libc/common/ |
test_getaddrinfo.c | 18 struct addrinfo hints; 19 struct addrinfo* res;
|
/external/libpcap/ |
pcap-namedb.h | 63 struct addrinfo *pcap_nametoaddrinfo(const char *);
|
/bionic/libc/netbsd/net/ |
getaddrinfo.c | 217 static int explore_fqdn(const struct addrinfo *, const char *, 218 const char *, struct addrinfo **, const char *iface, int mark); 219 static int explore_null(const struct addrinfo *, 220 const char *, struct addrinfo **); 221 static int explore_numeric(const struct addrinfo *, const char *, 222 const char *, struct addrinfo **, const char *); 223 static int explore_numeric_scope(const struct addrinfo *, const char *, 224 const char *, struct addrinfo **); 225 static int get_canonname(const struct addrinfo *, 226 struct addrinfo *, const char *) [all...] |
/development/ndk/platforms/android-3/include/ |
netdb.h | 113 struct addrinfo { struct 121 struct addrinfo *ai_next; /* next structure in linked list */ 163 /* valid flags for addrinfo (not a standard def, apps should not use it) */ 218 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **); 220 void freeaddrinfo(struct addrinfo *);
|
/prebuilts/ndk/4/platforms/android-3/arch-arm/usr/include/ |
netdb.h | 113 struct addrinfo { struct 121 struct addrinfo *ai_next; /* next structure in linked list */ 166 /* valid flags for addrinfo (not a standard def, apps should not use it) */ 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **); 246 void freeaddrinfo(struct addrinfo *);
|
/prebuilts/ndk/4/platforms/android-4/arch-arm/usr/include/ |
netdb.h | 113 struct addrinfo { struct 121 struct addrinfo *ai_next; /* next structure in linked list */ 166 /* valid flags for addrinfo (not a standard def, apps should not use it) */ 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **); 246 void freeaddrinfo(struct addrinfo *);
|
/prebuilts/ndk/4/platforms/android-5/arch-arm/usr/include/ |
netdb.h | 113 struct addrinfo { struct 121 struct addrinfo *ai_next; /* next structure in linked list */ 166 /* valid flags for addrinfo (not a standard def, apps should not use it) */ 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **); 246 void freeaddrinfo(struct addrinfo *);
|
/prebuilts/ndk/4/platforms/android-5/arch-x86/usr/include/ |
netdb.h | 113 struct addrinfo { struct 121 struct addrinfo *ai_next; /* next structure in linked list */ 166 /* valid flags for addrinfo (not a standard def, apps should not use it) */ 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **); 246 void freeaddrinfo(struct addrinfo *);
|
/prebuilts/ndk/4/platforms/android-8/arch-arm/usr/include/ |
netdb.h | 113 struct addrinfo { struct 121 struct addrinfo *ai_next; /* next structure in linked list */ 166 /* valid flags for addrinfo (not a standard def, apps should not use it) */ 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **); 246 void freeaddrinfo(struct addrinfo *);
|
/prebuilts/ndk/4/platforms/android-8/arch-x86/usr/include/ |
netdb.h | 113 struct addrinfo { struct 121 struct addrinfo *ai_next; /* next structure in linked list */ 166 /* valid flags for addrinfo (not a standard def, apps should not use it) */ 244 int getaddrinfo(const char *, const char *, const struct addrinfo *, struct addrinfo **); 246 void freeaddrinfo(struct addrinfo *);
|