Lines Matching defs:ips_count
1412 conn->prev_connect_idx = (conn->prev_connect_idx+1) % conn->ips_count;
1463 result->ips_count);
1465 i_assert(result->ips_count > 0);
1466 conn->ips_count = result->ips_count;
1467 conn->ips = i_new(struct ip_addr, conn->ips_count);
1468 memcpy(conn->ips, result->ips, sizeof(*conn->ips) * conn->ips_count);
1469 conn->prev_connect_idx = conn->ips_count - 1;
1479 unsigned int ips_count;
1494 if (conn->ips_count == 0 &&
1497 conn->ips_count = 1;
1498 conn->ips = i_new(struct ip_addr, conn->ips_count);
1518 ret = net_gethostbyname(conn->host, &ips, &ips_count);
1530 "DNS lookup successful; got %d IPs", ips_count);
1532 conn->ips_count = ips_count;
1533 conn->ips = i_new(struct ip_addr, ips_count);
1534 memcpy(conn->ips, ips, ips_count * sizeof(*ips));
1537 if (conn->ips_count == 0)