while (strcmp(got = Index2Nam(idx), "???")) if (!strcmp(got, name))
while (route_nifs == -1 || idx < route_nifs) if (strcmp(Index2Nam(idx), name) == 0)
GetIfIndex(char *name){  int idx;  const char *got;  idx = 1;  while (strcmp(got = Index2Nam(idx), "???"))    if (!strcmp(got, name))      return idx;    else      idx++;  return -1;}