/external/dropbear/ |
H A D | listener.h | 33 int socks[DROPBEAR_MAX_SOCKS]; member in struct:Listener 53 struct Listener* new_listener(int socks[], unsigned int nsocks,
|
H A D | 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,
|
H A D | listener.c | 49 FD_SET(listener->socks[j], readfds); 67 sock = listener->socks[j]; 79 struct Listener* new_listener(int socks[], unsigned int nsocks, argument 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]);
|
H A D | 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)) 186 dropbear_listen(const char* address, const char* port, int *socks, unsigned int sockcount, char **errstring, int *maxfd) argument
|
/external/openssh/ |
H A D | auth-pam.c | 675 int socks[2]; local 694 if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, socks) == -1) { 699 ctxt->pam_psock = socks[0]; 700 ctxt->pam_csock = socks[1]; 704 close(socks[0]); 705 close(socks[1]);
|
H A D | channels.c | 3259 int gaierr, n, num_socks = 0, socks[NUM_SOCKS]; local 3306 close(socks[n]); 3311 socks[num_socks++] = sock; 3325 sock = socks[n]; 3336 sock = socks[n];
|
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
H A D | __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)
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
H A D | __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)
|
/external/iproute2/misc/ |
H A D | ss.c | 351 int socks; member in struct:slabstat 539 * "socks" or "cfinger" in dumps. 1724 int guess = slabstat.socks+slabstat.tcp_syns; 2474 int socks; member in struct:sockstat 2499 sscanf(rem, "%*s%d", &s->socks); 2552 printf("Total: %d (kernel %d)\n", s.socks, slabstat.socks); 2566 printf("* %-9d %-9s %-9s\n", slabstat.socks, "-", "-");
|