Lines Matching refs:portlist
116 char *portlist[PORT_MAX+1]; variable
460 for (i = 0; portlist[i] != NULL; i++) { in main()
465 s = socks_connect(host, portlist[i], hints, in main()
469 s = remote_connect(host, portlist[i], hints); in main()
489 ntohs(atoi(portlist[i])), in main()
495 "succeeded!\n", host, portlist[i], in main()
1114 portlist[x] = calloc(1, PORT_MAX_LEN); in build_ports()
1115 if (portlist[x] == NULL) in build_ports()
1117 snprintf(portlist[x], PORT_MAX_LEN, "%d", cp); in build_ports()
1128 c = portlist[x]; in build_ports()
1129 portlist[x] = portlist[y]; in build_ports()
1130 portlist[y] = c; in build_ports()
1137 portlist[0] = strdup(p); in build_ports()
1138 if (portlist[0] == NULL) in build_ports()