/external/dropbear/ |
listener.h | 33 int socks[DROPBEAR_MAX_SOCKS]; member in struct:Listener 53 struct Listener* new_listener(int socks[], unsigned int nsocks,
|
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,
|
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))
|
/frameworks/base/opengl/libs/GLES2_dbg/test/ |
test_socket.cpp | 52 int socks[2] = {-1, -1}; local 53 ASSERT_EQ(0, socketpair(AF_UNIX, SOCK_STREAM, 0, socks)); 54 clientSock = socks[0]; 55 sock = socks[1];
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
__init__.py | 11 2007-08-18, Rick: Modified so it's able to use a socks proxy if needed. 57 import socks namespace 59 socks = None variable 697 """The parameter proxy_type must be set to one of socks.PROXY_TYPE_XXX 700 p = ProxyInfo(proxy_type=socks.PROXY_TYPE_HTTP, proxy_host='localhost', proxy_port=8000) 709 return socks and (self.proxy_host != None) and (self.proxy_port != None) 729 self.sock = socks.socksocket(af, socktype, proto) 766 sock = socks.socksocket(socket.AF_INET, socket.SOCK_STREAM) [all...] |
/external/iproute2/misc/ |
ss.c | 343 int socks; member in struct:slabstat 530 * "socks" or "cfinger" in dumps. 2283 int socks; member in struct:sockstat [all...] |