Home
last modified time | relevance | path

Searched refs:socksv (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/cmd/cmd-inet/usr.bin/nc/
H A Dsocks.c152 const char *proxyport, struct addrinfo proxyhints, int socksv, in socks_connect() argument
166 proxyport = (socksv == -1) ? HTTP_PROXY_PORT : SOCKS_PORT; in socks_connect()
183 if (socksv == 5) { in socks_connect()
265 } else if (socksv == 4) { in socks_connect()
291 } else if (socksv == -1) { in socks_connect()
364 errx(1, "Unknown proxy protocol %d", socksv); in socks_connect()
H A Dnetcat.c132 int ch, s, ret, socksv; in main() local
144 socksv = 5; in main()
164 socksv = -1; /* HTTP proxy CONNECT */ in main()
166 socksv = 4; /* SOCKS v.4 */ in main()
168 socksv = 5; /* SOCKS v.5 */ in main()
413 proxyhost, proxyport, proxyhints, socksv, in main()