Lines Matching refs:socksv
144 int ch, s, ret, socksv; in main() local
157 socksv = 5; in main()
176 socksv = -1; /* HTTP proxy CONNECT */ in main()
178 socksv = 4; /* SOCKS v.4 */ in main()
180 socksv = 5; /* SOCKS v.5 */ in main()
466 proxyhost, proxyport, proxyhints, socksv, in main()
1447 int socksv, const char *proxyuser) in socks_connect() argument
1460 proxyport = (socksv == -1) ? HTTP_PROXY_PORT : SOCKS_PORT; in socks_connect()
1477 if (socksv == 5) { in socks_connect()
1562 } else if (socksv == 4) { in socks_connect()
1584 } else if (socksv == -1) { in socks_connect()
1655 errx(1, "Unknown proxy protocol %d", socksv); in socks_connect()