/dalvik/libcore/luni/src/test/java/tests/api/java/net/ |
ProxyTest.java | 49 // test SOCKS type proxy 50 proxy = new Proxy(Proxy.Type.SOCKS, address); 51 assertEquals(Proxy.Type.SOCKS, proxy.type()); 78 // test SOCKS type proxy 80 proxy = new Proxy(Proxy.Type.SOCKS, null); 119 Proxy proxy3 = new Proxy(Proxy.Type.SOCKS, address1); 120 Proxy proxy4 = new Proxy(Proxy.Type.SOCKS, address1); 127 Proxy proxy5 = new Proxy(Proxy.Type.SOCKS, address1); 128 Proxy proxy6 = new Proxy(Proxy.Type.SOCKS, address2); 146 proxy = new Proxy(Proxy.Type.SOCKS, address) [all...] |
ProxyTypeTest.java | 39 Proxy.Type.SOCKS}; 41 String [] strTypes = {"DIRECT", "HTTP", "SOCKS"}; 47 String [] incTypes = {"", "direct", "http", "socks", " HTTP"}; 74 Proxy.Type.SOCKS };
|
ProxySelectorTest.java | 212 // set socks proxy 226 assertProxyEquals(proxyList,Proxy.Type.SOCKS,SOCKS_PROXY_HOST,SOCKS_PROXY_PORT); 259 // set socks proxy 276 assertProxyEquals(proxyList, Proxy.Type.SOCKS, SOCKS_PROXY_HOST, 299 // set socks proxy 312 assertProxyEquals(proxyList,Proxy.Type.SOCKS,SOCKS_PROXY_HOST,SOCKS_PROXY_PORT); 338 // set socks proxy 352 assertProxyEquals(proxyList,Proxy.Type.SOCKS,SOCKS_PROXY_HOST,SOCKS_PROXY_PORT); 407 // set socks proxy 412 assertProxyEquals(proxyList,Proxy.Type.SOCKS,SOCKS_PROXY_HOST,SOCKS_PROXY_PORT) [all...] |
ExcludedProxyTest.java | 200 Proxy proxy2 = new Proxy(Proxy.Type.SOCKS, addr2);
|
SocketTest.java | [all...] |
/external/dropbear/ |
listener.c | 49 FD_SET(listener->socks[j], readfds); 67 sock = listener->socks[j]; 79 struct Listener* new_listener(int socks[], unsigned int nsocks, 98 close(socks[i]); 115 ses.maxfd = MAX(ses.maxfd, socks[j]); 125 memcpy(newlisten->socks, socks, nsocks * sizeof(int)); 160 close(listener->socks[j]);
|
tcp-accept.c | 103 int socks[DROPBEAR_MAX_SOCKS]; local 121 nsocks = dropbear_listen(listen_spec, portstring, socks, 131 /* new_listener will close the socks if it fails */ 132 listener = new_listener(socks, nsocks, CHANNEL_ID_TCPFORWARDED, tcpinfo,
|
listener.h | 33 int socks[DROPBEAR_MAX_SOCKS]; member in struct:Listener 53 struct Listener* new_listener(int socks[], unsigned int nsocks,
|
dbutil.h | 51 int *socks, unsigned int sockcount, char **errstring, int *maxfd);
|
dbutil.c | 187 int *socks, unsigned int sockcount, char **errstring, int *maxfd) { 238 socks[nsock] = socket(res->ai_family, res->ai_socktype, 241 sock = socks[nsock]; /* For clarity */ 294 TRACE(("leave dropbear_listen: success, %d socks bound", nsock))
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/net/ |
NetUtil.java | 30 * Returns whether to use a SOCKS proxy. 33 * whether using SOCKS proxy. 35 * Proxy.Type.SOCKS. 38 if (null != proxy && Proxy.Type.SOCKS == proxy.type()) {
|
PlainSocketImpl.java | 58 // For SOCKS support. A SOCKS bind() uses the last 314 // Do nothing for a SOCKS connection. The listen occurs on the 356 * Gets the SOCKS proxy server port. 359 // get socks server port from proxy. It is unnecessary to check 368 * Gets the InetAddress of the SOCKS proxy server. 372 // get socks server address from proxy. It is unnecessary to check 386 * Connect using a SOCKS server. 411 * Request a SOCKS connection to the application server given. If the 426 * Perform an accept for a SOCKS bind [all...] |
Socks4Message.java | 219 * Answer the SOCKS version number. Should always be 4. 249 * Set the SOCKS version number. This should always be 4.
|
/dalvik/libcore/luni/src/main/java/java/net/ |
ProxySelectorImpl.java | 147 // case 3: use socks proxy instead 148 type = Proxy.Type.SOCKS; 152 int defaultPort = (type == Proxy.Type.SOCKS) ? SOCKS_PROXY_PORT 174 // case 2: use socks proxy instead 175 type = Proxy.Type.SOCKS; 180 int defaultPort = (type == Proxy.Type.SOCKS) ? SOCKS_PROXY_PORT 207 // case 2: use socks proxy instead 208 type = Proxy.Type.SOCKS; 213 int defaultPort = (type == Proxy.Type.SOCKS) ? SOCKS_PROXY_PORT 219 * Gets proxy for socks request [all...] |
Proxy.java | 27 * <li>SOCKS</li></ul 45 * {@code Proxy.Type.SOCKS}. To create a {@code Proxy} instance representing 157 * DIRECT}, {@code HTTP} and {@code SOCKS}. 172 * SOCKS type proxy. 174 SOCKS
|
Socket.java | 106 * Example that will create a socket connection through a {@code SOCKS} 108 * {@code Socket sock = new Socket(new Proxy(Proxy.Type.SOCKS, new [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
ProxySelectorRoutePlanner.java | 234 * The default implementation just picks the first non-SOCKS proxy 235 * from the list. If there are only SOCKS proxies, 272 case SOCKS: 273 // SOCKS hosts are not handled on the route level. 274 // The socket may make use of the SOCKS host though. 280 //@@@ log as warning or info that only a socks proxy is available? 281 // result can only be null if all proxies are socks proxies 282 // socks proxies are not handled on the route planning level
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/util/ |
ExternalMessages.properties | 54 K003e=SOCKS connection failed\: {0} 55 K003f=Unable to connect to SOCKS server\: {0} 56 K0040=Invalid SOCKS client. 57 K0041=Socket implementation does not support SOCKS. 157 K00cd=Failure to connect to SOCKS server. 309 KA011=Malformed reply from SOCKS server
|
/external/apache-http/src/org/apache/http/io/ |
package.html | 41 direct or via SOCKS hosts, with bandwidth throttling, or
|
/external/webkit/WebCore/platform/network/cf/ |
SocketStreamHandleCFNet.cpp | 178 // SOCKS or HTTPS (AKA CONNECT) proxies are supported. 181 // Many CONNECT proxies limit connectivity to port 443, so we prefer SOCKS, if configured. 230 // Keep looking for proxies, as a SOCKS one is preferable. 259 // SOCKS or HTTPS (AKA CONNECT) proxies are supported. 262 // Many CONNECT proxies limit connectivity to port 443, so we prefer SOCKS, if configured.
|
/dalvik/libcore/luni/src/main/java/org/apache/harmony/luni/internal/net/www/protocol/http/ |
HttpConfiguration.java | 69 // using SOCKS proxy
|
/external/webkit/WebKit/mac/Plugins/ |
WebBaseNetscapePluginView.mm | 950 // "SOCKS host[:port]" (for SOCKS proxy) or 962 // We can only report HTTP and SOCKS proxies. 976 proxies += "SOCKS ";
|
/external/webkit/WebKit/win/Interfaces/ |
IWebURLAuthenticationChallenge.idl | 125 cpp_quote("#define WebURLProtectionSpaceSOCKSProxy TEXT(\"SOCKS\")")
|
/bionic/libc/netbsd/net/ |
services.h | 212 \5socks\4\70t\0\ 213 \5socks\4\70u\0\
|
/external/iproute2/misc/ |
ss.c | 286 int socks; member in struct:slabstat 473 * "socks" or "cfinger" in dumps. 2226 int socks; member in struct:sockstat [all...] |