Lines Matching defs:idx
102 unsigned int num, idx;
140 for (ifa = ifa0, idx = 0; ifa != NULL; ifa = ifa->ifa_next) {
153 ret = krb5_sockaddr2address(context, ifa->ifa_addr, &res->val[idx]);
165 krb5_address_search(context, &res->val[idx], &ignore_addresses)) {
166 krb5_free_address(context, &res->val[idx]);
173 idx++;
180 if ((flags & LOOP_IF_NONE) != 0 && idx == 0) {
196 ifa->ifa_addr, &res->val[idx]);
200 krb5_address_search(context, &res->val[idx],
202 krb5_free_address(context, &res->val[idx]);
205 idx++;
216 res->len = idx; /* Now a count. */