/external/curl/lib/ |
D | socketpair.c | 57 curl_socket_t socks[2]) in Curl_socketpair() 81 socks[0] = socks[1] = CURL_SOCKET_BAD; in Curl_socketpair() 92 socks[0] = socket(AF_INET, SOCK_STREAM, 0); in Curl_socketpair() 93 if(socks[0] == CURL_SOCKET_BAD) in Curl_socketpair() 95 if(connect(socks[0], &a.addr, sizeof(a.inaddr)) == -1) in Curl_socketpair() 97 socks[1] = accept(listener, NULL, NULL); in Curl_socketpair() 98 if(socks[1] == CURL_SOCKET_BAD) in Curl_socketpair() 102 msnprintf(data[0], sizeof(data[0]), "%p", socks); in Curl_socketpair() 104 if(swrite(socks[0], data[0], dlen) != dlen) in Curl_socketpair() 106 if(sread(socks[1], data[1], sizeof(data[1])) != dlen) in Curl_socketpair() [all …]
|
D | asyn-ares.c | 257 curl_socket_t *socks) in Curl_resolver_getsock() argument 264 (ares_socket_t *)socks, MAX_SOCKSPEREASYHANDLE); in Curl_resolver_getsock() 294 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in waitperform() local 299 bitmask = ares_getsock((ares_channel)data->state.resolver, socks, in waitperform() 306 pfd[i].fd = socks[i]; in waitperform() 310 pfd[i].fd = socks[i]; in waitperform()
|
D | multi.c | 948 curl_socket_t *socks) in domore_getsock() argument 951 return conn->handler->domore_getsock(conn, socks); in domore_getsock() 956 curl_socket_t *socks) in doing_getsock() argument 959 return conn->handler->doing_getsock(conn, socks); in doing_getsock() 964 curl_socket_t *socks) in protocol_getsock() argument 967 return conn->handler->proto_getsock(conn, socks); in protocol_getsock() 971 socks[0] = conn->sock[FIRSTSOCKET]; in protocol_getsock() 978 curl_socket_t *socks) in multi_getsock() argument 997 return Curl_resolv_getsock(data->conn, socks); in multi_getsock() 1001 return protocol_getsock(data->conn, socks); in multi_getsock() [all …]
|
D | socketpair.h | 28 curl_socket_t socks[2]);
|
D | transfer.h | 50 curl_socket_t *socks);
|
D | doh.h | 43 int Curl_doh_getsock(struct connectdata *conn, curl_socket_t *socks);
|
D | pingpong.h | 141 int Curl_pp_getsock(struct pingpong *pp, curl_socket_t *socks);
|
D | asyn-thread.c | 651 curl_socket_t *socks) in Curl_resolver_getsock() argument 661 (void)socks; in Curl_resolver_getsock() 667 socks[0] = td->tsd.sock_pair[0]; in Curl_resolver_getsock()
|
D | hostip.h | 247 curl_socket_t *socks);
|
D | Makefile.inc | 60 sendf.c setopt.c sha256.c share.c slist.c smb.c smtp.c socketpair.c socks.c \ 80 smb.h smtp.h sockaddr.h socketpair.h socks.h speedcheck.h splay.h strcase.h \
|
D | rtsp.c | 55 static int rtsp_getsock_do(struct connectdata *conn, curl_socket_t *socks); 77 curl_socket_t *socks) in rtsp_getsock_do() argument 80 socks[0] = conn->sock[FIRSTSOCKET]; in rtsp_getsock_do()
|
D | pingpong.c | 462 curl_socket_t *socks) in Curl_pp_getsock() argument 465 socks[0] = conn->sock[FIRSTSOCKET]; in Curl_pp_getsock()
|
D | hostip.c | 1072 curl_socket_t *socks) in Curl_resolv_getsock() argument 1079 return Curl_resolver_getsock(conn, socks); in Curl_resolv_getsock() 1082 (void)socks; in Curl_resolv_getsock()
|
/external/libwebsockets/lib/core-net/ |
D | socks5-client.c | 30 lws_set_socks(struct lws_vhost *vhost, const char *socks) in lws_set_socks() argument 36 if (!socks) in lws_set_socks() 42 p_at = strrchr(socks, '@'); in lws_set_socks() 44 if ((unsigned int)(p_at - socks) > (sizeof(user) in lws_set_socks() 50 p_colon = strchr(socks, ':'); in lws_set_socks() 52 if ((unsigned int)(p_colon - socks) > (sizeof(user) in lws_set_socks() 63 lws_strncpy(vhost->socks_user, socks, in lws_set_socks() 64 p_colon - socks + 1); in lws_set_socks() 72 socks = p_at + 1; in lws_set_socks() 75 lws_strncpy(vhost->socks_proxy_address, socks, in lws_set_socks()
|
/external/python/httplib2/python2/httplib2/test/ |
D | test_no_socket.py | 14 self._oldsocks = httplib2.socks 15 httplib2.socks = None 18 httplib2.socks = self._oldsocks
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/ |
D | ares_getsock.c | 21 ares_socket_t *socks, in ares_getsock() argument 43 socks[sockindex] = server->udp_socket; in ares_getsock() 55 socks[sockindex] = server->tcp_socket; in ares_getsock()
|
/external/python/httplib2/tests/ |
D | test_proxy.py | 96 httplib2.socks.PROXY_TYPE_HTTP, "localhost", 1234, proxy_headers=headers 112 httplib2.socks.PROXY_TYPE_HTTP, "255.255.255.255", 8001 126 httplib2.socks.PROXY_TYPE_HTTP, 141 httplib2.socks.PROXY_TYPE_HTTP, 166 httplib2.socks.PROXY_TYPE_SOCKS5, 174 with tests.assert_raises(httplib2.socks.Socks5AuthError):
|
/external/python/httplib2/python2/httplib2/test/functional/ |
D | test_proxies.py | 12 from httplib2 import socks 29 if not socks: 76 socks.PROXY_TYPE_HTTP, "localhost", self.proxyport
|
/external/grpc-grpc/src/core/ext/filters/client_channel/resolver/dns/c_ares/ |
D | grpc_ares_ev_driver.cc | 242 ares_socket_t socks[ARES_GETSOCK_MAXNUM]; in grpc_ares_notify_on_event_locked() local 244 ares_getsock(ev_driver->channel, socks, ARES_GETSOCK_MAXNUM); in grpc_ares_notify_on_event_locked() 248 fd_node* fdn = pop_fd_node_locked(&ev_driver->fds, socks[i]); in grpc_ares_notify_on_event_locked() 254 socks[i], ev_driver->pollset_set, ev_driver->combiner); in grpc_ares_notify_on_event_locked()
|
/external/rust/crates/grpcio-sys/grpc/third_party/cares/cares/test/ |
D | ares-test-live.cc | 548 ares_socket_t socks[3] = {ARES_SOCKET_BAD, ARES_SOCKET_BAD, ARES_SOCKET_BAD}; in VIRT_NONVIRT_TEST_F() local 549 int bitmask = ares_getsock(channel_, socks, 3); in VIRT_NONVIRT_TEST_F() 557 bitmask = ares_getsock(channel_, socks, 3); in VIRT_NONVIRT_TEST_F() 574 ares_socket_t socks[3] = {ARES_SOCKET_BAD, ARES_SOCKET_BAD, ARES_SOCKET_BAD}; in TEST_F() local 575 int bitmask = ares_getsock(channel, socks, 3); in TEST_F() 583 bitmask = ares_getsock(channel, socks, 3); in TEST_F()
|
/external/curl/docs/cmdline-opts/ |
D | socks5-gssapi-service.d | 7 The default service name for a socks server is rcmd/server-fqdn. This option
|
/external/curl/tests/data/ |
D | test1212 | 30 noproxy setting together with socks proxy
|
/external/openssh/ |
D | auth-pam.c | 781 int result, socks[2]; in sshpam_init_ctx() local 801 if (socketpair(AF_UNIX, SOCK_STREAM, PF_UNSPEC, socks) == -1) { in sshpam_init_ctx() 806 ctxt->pam_psock = socks[0]; in sshpam_init_ctx() 807 ctxt->pam_csock = socks[1]; in sshpam_init_ctx() 812 close(socks[0]); in sshpam_init_ctx() 813 close(socks[1]); in sshpam_init_ctx()
|
/external/curl/lib/vquic/ |
D | quiche.c | 68 static int quiche_getsock(struct connectdata *conn, curl_socket_t *socks) in quiche_getsock() argument 73 socks[0] = conn->sock[FIRSTSOCKET]; in quiche_getsock() 87 curl_socket_t *socks) in quiche_perform_getsock() argument 89 return quiche_getsock((struct connectdata *)conn, socks); in quiche_perform_getsock()
|
/external/curl/lib/vtls/ |
D | vtls.c | 595 int Curl_ssl_getsock(struct connectdata *conn, curl_socket_t *socks) in Curl_ssl_getsock() argument 601 socks[0] = conn->sock[FIRSTSOCKET]; in Curl_ssl_getsock() 606 socks[0] = conn->sock[FIRSTSOCKET]; in Curl_ssl_getsock() 614 curl_socket_t *socks) in Curl_ssl_getsock() argument 617 (void)socks; in Curl_ssl_getsock()
|