Lines Matching refs:addrinfo
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());
66 for (const struct addrinfo* addrinfo = address_list.head();
67 addrinfo != NULL;
68 addrinfo = addrinfo->ai_next) {
69 std::string addrkey = AddrinfoToHashkey(addrinfo);
104 for (const struct addrinfo* addrinfo = address_list.head();
105 addrinfo != NULL;
106 addrinfo = addrinfo->ai_next) {
107 std::string addrkey = AddrinfoToHashkey(addrinfo);
143 for (const struct addrinfo* addrinfo = address_list.head();
144 addrinfo != NULL;
145 addrinfo = addrinfo->ai_next) {
146 std::string addrkey = AddrinfoToHashkey(addrinfo);