Lines Matching defs:ips_count
124 unsigned int ips_count, prev_connect_idx;
398 conn->ips_count = 0;
546 if (conn->prev_connect_idx + 1 < conn->ips_count && connect_error) {
1789 for (i = 0; i<conn->ips_count;) {
1790 conn->prev_connect_idx = (conn->prev_connect_idx+1) % conn->ips_count;
1801 if (conn->prev_connect_idx+1 == conn->ips_count) {
1850 i_assert(result->ips_count > 0);
1851 conn->ips_count = result->ips_count;
1852 conn->ips = i_new(struct ip_addr, conn->ips_count);
1853 memcpy(conn->ips, result->ips, sizeof(*conn->ips) * conn->ips_count);
1854 conn->prev_connect_idx = conn->ips_count - 1;
1863 unsigned int ips_count;
1896 if (conn->ips_count > 0) {
1899 conn->ips_count = 1;
1900 conn->ips = i_new(struct ip_addr, conn->ips_count);
1904 &ips, &ips_count);
1912 conn->ips_count = ips_count;
1913 conn->ips = i_new(struct ip_addr, ips_count);
1914 memcpy(conn->ips, ips, ips_count * sizeof(*ips));