Lines Matching refs:index
205 int index = idx & (size-1);
206 if (list[index]) free(list[index]->name);
207 else list[index] = xzalloc(sizeof(struct arglist));
208 list[index]->idx = idx;
209 list[index]->name = xstrdup(toybuf);
505 int index = -1;
512 index = i->if_index;
516 if (index == -1 && ext) perror_exit("can't find device '%s'", name);
517 return index;
966 uint32_t index = 0;
968 if (*argv && strcasecmp("up",*argv)) index = get_ifaceindex(*argv, 1);
972 if (!index) request.mhdr.nlmsg_flags |= NLM_F_ROOT|NLM_F_MATCH;
975 request.info.ifi_index = index;