| /src/external/bsd/wpa/dist/src/drivers/ |
| linux_ioctl.h | 12 int linux_set_iface_flags(int sock, const char *ifname, int dev_up); 13 int linux_iface_up(int sock, const char *ifname); 14 int linux_get_ifhwaddr(int sock, const char *ifname, u8 *addr); 15 int linux_set_ifhwaddr(int sock, const char *ifname, const u8 *addr); 16 int linux_br_add(int sock, const char *brname); 17 int linux_br_del(int sock, const char *brname); 18 int linux_br_add_if(int sock, const char *brname, const char *ifname); 19 int linux_br_del_if(int sock, const char *brname, const char *ifname);
|
| /src/sys/external/bsd/libnv/dist/ |
| msgio.h | 45 int cred_send(int sock); 46 int cred_recv(int sock, struct cmsgcred *cred); 48 int fd_send(int sock, const int *fds, size_t nfds); 49 int fd_recv(int sock, int *fds, size_t nfds); 51 int buf_send(int sock, void *buf, size_t size); 52 int buf_recv(int sock, void *buf, size_t size);
|
| /src/external/mpl/bind/dist/lib/isc/netmgr/ |
| streamdns.c | 75 streamdns_get_send_req(isc_nmsocket_t *sock, isc_mem_t *mctx, 87 streamdns_failed_read_cb(isc_nmsocket_t *sock, const isc_result_t result, 91 streamdns_try_close_unused(isc_nmsocket_t *sock); 94 streamdns_closing(isc_nmsocket_t *sock); 102 streamdns_resumeread(isc_nmsocket_t *sock, isc_nmhandle_t *transphandle) { 103 if (!sock->streamdns.reading) { 104 sock->streamdns.reading = true; 105 isc_nm_read(transphandle, streamdns_readcb, (void *)sock); 110 streamdns_readmore(isc_nmsocket_t *sock, isc_nmhandle_t *transphandle) { 111 streamdns_resumeread(sock, transphandle) 219 isc_nmsocket_t *sock = (isc_nmsocket_t *)cbarg; local 271 isc_nmsocket_t *sock; local 324 isc_nmsocket_t *sock = (isc_nmsocket_t *)cbarg; local 566 isc_nmsocket_t *sock = (isc_nmsocket_t *)cbarg; local 635 isc_nmsocket_t *sock = send_req->dnshandle->sock; local 686 isc_nmsocket_t *sock = (isc_nmsocket_t *)arg; local 707 isc_nmsocket_t *sock = (isc_nmsocket_t *)arg; local 904 isc_nmsocket_t *sock = arg; local 927 isc_nmsocket_t *sock = NULL; local 978 isc_nmsocket_t *sock = NULL; local 1068 isc_nmsocket_t *sock = NULL; local 1083 isc_nmsocket_t *sock = NULL; local 1098 isc_nmsocket_t *sock = NULL; local 1114 isc_nmsocket_t *sock = NULL; local 1129 isc_nmsocket_t *sock = NULL; local 1146 isc_nmsocket_t *sock = NULL; local [all...] |
| udp.c | 76 uv_os_sock_t sock = -1; local 78 result = isc__nm_socket(sa_family, SOCK_DGRAM, 0, &sock); 81 (void)isc__nm_socket_disable_pmtud(sock, sa_family); 82 (void)isc__nm_socket_v6only(sock, sa_family); 84 result = isc__nm_socket_reuse(sock, 1); 88 result = isc__nm_socket_reuse_lb(sock); 92 return sock; 100 isc_nmsocket_t *sock = arg; local 102 REQUIRE(VALID_NMSOCK(sock)); 103 REQUIRE(VALID_NMSOCK(sock->parent)) 215 isc_nmsocket_t *sock = NULL; local 363 isc_nmsocket_t *sock = NULL; local 423 isc_nmsocket_t *sock = arg; local 481 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)handle); local 627 isc_nmsocket_t *sock = NULL; local 668 isc_nmsocket_t *sock = handle->sock; local 823 isc_nmsocket_t *sock = NULL; local 929 isc_nmsocket_t *sock = NULL; local 974 isc_nmsocket_t *sock = uv_handle_get_data(handle); local [all...] |
| tcp.c | 58 tcp_connect_direct(isc_nmsocket_t *sock, isc__nm_uvreq_t *req); 61 tcp_send_direct(isc_nmsocket_t *sock, isc__nm_uvreq_t *req); 80 tcp_connect_direct(isc_nmsocket_t *sock, isc__nm_uvreq_t *req) { 85 REQUIRE(VALID_NMSOCK(sock)); 88 REQUIRE(sock->tid == isc_tid()); 90 worker = sock->worker; 92 sock->connecting = true; 95 result = isc__nm_socket_connectiontimeout(sock->fd, 120 * 1000); 98 r = uv_tcp_init(&worker->loop->loop, &sock->uv_handle.tcp); 100 uv_handle_set_data(&sock->uv_handle.handle, sock) 144 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)uvreq->handle); local 225 isc_nmsocket_t *sock = NULL; local 285 uv_os_sock_t sock; local 307 isc_nmsocket_t *sock = arg; local 449 isc_nmsocket_t *sock = NULL; local 566 isc_nmsocket_t *sock = arg; local 636 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 673 isc_nmsocket_t *sock; local 725 isc_nmsocket_t *sock = handle->sock; local 738 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)stream); local 1004 isc_nmsocket_t *sock = handle->sock; local 1082 isc_nmsocket_t *sock = NULL; local 1225 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1272 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1326 isc_nmsocket_t *sock; local [all...] |
| proxystream.c | 59 proxystream_clear_proxy_header_data(isc_nmsocket_t *sock); 62 proxystream_read_start(isc_nmsocket_t *sock); 65 proxystream_read_stop(isc_nmsocket_t *sock); 68 proxystream_try_close_unused(isc_nmsocket_t *sock); 71 proxystream_call_connect_cb(isc_nmsocket_t *sock, isc_nmhandle_t *handle, 75 proxystream_closing(isc_nmsocket_t *sock); 78 proxystream_failed_read_cb(isc_nmsocket_t *sock, const isc_result_t result); 88 proxystream_get_send_req(isc_mem_t *mctx, isc_nmsocket_t *sock, 111 isc_nmsocket_t *sock = (isc_nmsocket_t *)cbarg; local 125 proxystream_read_stop(sock); 238 isc_nmsocket_t *sock; local 395 isc_nmsocket_t *sock = (isc_nmsocket_t *)cbarg; local 418 isc_nmsocket_t *sock = (isc_nmsocket_t *)cbarg; local 582 isc_nmsocket_t *sock = NULL; local 597 isc_nmsocket_t *sock = NULL; local 612 isc_nmsocket_t *sock = NULL; local 629 isc_nmsocket_t *sock = NULL; local 696 isc_nmsocket_t *sock = NULL; local 713 isc_nmsocket_t *sock = NULL; local 900 isc_nmsocket_t *sock = req->sock; local 934 isc_nmsocket_t *sock = NULL; local 1016 isc_nmsocket_t *sock = send_req->proxyhandle->sock; local 1060 isc_nmsocket_t *sock = NULL; local 1126 isc_nmsocket_t *sock = NULL; local 1143 isc_nmsocket_t *sock = NULL; local 1162 isc_nmsocket_t *sock; local [all...] |
| proxyudp.c | 28 proxyudp_closing(isc_nmsocket_t *sock); 31 proxyudp_stop_reading(isc_nmsocket_t *sock); 50 proxyudp_call_connect_cb(isc_nmsocket_t *sock, isc_nmhandle_t *handle, 54 proxyudp_try_close_unused(isc_nmsocket_t *sock); 63 stop_proxyudp_child(isc_nmsocket_t *sock); 66 proxyudp_clear_proxy_header_data(isc_nmsocket_t *sock); 69 proxyudp_get_send_req(isc_mem_t *mctx, isc_nmsocket_t *sock, 81 proxyudp_closing(isc_nmsocket_t *sock) { 82 return isc__nmsocket_closing(sock) || 83 (sock->client && sock->outerhandle == NULL) | 210 isc_nmsocket_t *sock; local 241 isc_nmsocket_t *sock = (isc_nmsocket_t *)cbarg; local 409 isc_nmsocket_t *sock = (isc_nmsocket_t *)cbarg; local 497 isc_nmsocket_t *sock = arg; local 586 isc_nmsocket_t *sock = NULL; local 601 isc_nmsocket_t *sock = NULL; local 617 isc_nmsocket_t *sock = NULL; local 700 isc_nmsocket_t *sock = NULL; local 788 isc_nmsocket_t *sock = send_req->proxyhandle->sock; local 815 isc_nmsocket_t *sock = NULL; local 846 isc_nmsocket_t *sock = NULL; local [all...] |
| tlsstream.c | 106 tls_read_start(isc_nmsocket_t *restrict sock); 109 tls_read_stop(isc_nmsocket_t *sock); 112 tls_failed_read_cb(isc_nmsocket_t *sock, const isc_result_t result); 115 tls_do_bio(isc_nmsocket_t *sock, isc_region_t *received_data, 123 async_tls_do_bio(isc_nmsocket_t *sock); 135 tls_keep_client_tls_session(isc_nmsocket_t *sock); 149 inactive(isc_nmsocket_t *sock) { 150 return !isc__nmsocket_active(sock) || sock->closing || 151 sock->outerhandle == NULL | 338 isc_nmsocket_t *sock = arg; local 1047 isc_nmsocket_t *sock = req->sock; local 1070 isc_nmsocket_t *sock = NULL; local 1106 isc_nmsocket_t *sock = NULL; local 1224 isc_nmsocket_t *sock = NULL; local 1388 isc_nmsocket_t *sock = NULL; local 1403 isc_nmsocket_t *sock = NULL; local 1418 isc_nmsocket_t *sock = NULL; local 1435 isc_nmsocket_t *sock = NULL; local 1501 isc_nmsocket_t *sock = NULL; local 1603 isc_nmsocket_t *sock; local 1618 isc_nmsocket_t *sock; local 1631 isc_nmsocket_t *sock = NULL; local [all...] |
| netmgr.c | 106 nmsocket_maybe_destroy(isc_nmsocket_t *sock FLARG); 108 nmhandle_free(isc_nmsocket_t *sock, isc_nmhandle_t *handle); 316 return (handle->sock->fd); 322 REQUIRE(VALID_NMSOCK(handle->sock)); 323 REQUIRE(handle->sock->tid == isc_tid()); 325 switch (handle->sock->type) { 328 handle->sock->write_timeout = write_timeout; 402 isc__nmsocket_active(isc_nmsocket_t *sock) { 403 REQUIRE(VALID_NMSOCK(sock)); 405 return sock->active 436 isc_nmsocket_t *sock = arg; local 646 isc_nmsocket_t *sock = *sockp, *rsock = NULL; local 928 isc_nmsocket_t *sock = handle->sock; local 950 isc_nmsocket_t *sock = handle->sock; local 959 isc_nmsocket_t *sock = handle->sock; local 1087 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)uvreq->handle); local 1136 isc_nmsocket_t *sock = NULL; local 1150 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)timer); local 1336 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1493 isc_nmsocket_t *sock = NULL; local 1595 isc_nmsocket_t *sock = req->sock; local 1743 isc_nmsocket_t *sock = handle->sock; local 1919 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1992 isc_nmsocket_t *sock = NULL; local 2147 isc_nmsocket_t *sock = NULL; local 2178 isc_nmsocket_t *sock = NULL; local 2207 isc_nmsocket_t *sock = NULL; local 2372 isc_nmsocket_t *sock = NULL; local 2436 isc_nmsocket_t *sock = NULL; local 2742 isc_nmsocket_t *sock = handle->sock; local 2768 isc_nmsocket_t *sock = handle->sock; local 2789 isc_nmsocket_t *sock = handle->sock; local 2941 isc_nmsocket_t *sock = NULL; local [all...] |
| /src/external/mpl/dhcp/bind/dist/lib/isc/netmgr/ |
| udp.c | 39 udp_send_direct(isc_nmsocket_t *sock, isc__nm_uvreq_t *req, 56 udp_close_direct(isc_nmsocket_t *sock); 59 stop_udp_parent(isc_nmsocket_t *sock); 61 stop_udp_child(isc_nmsocket_t *sock); 66 uv_os_sock_t sock; local 68 result = isc__nm_socket(sa_family, SOCK_DGRAM, 0, &sock); 71 (void)isc__nm_socket_incoming_cpu(sock); 72 (void)isc__nm_socket_disable_pmtud(sock, sa_family); 74 result = isc__nm_socket_reuse(sock); 79 result = isc__nm_socket_reuse_lb(sock); 135 isc_nmsocket_t *sock = NULL; local 219 isc_nmsocket_t *sock = NULL; local 356 isc_nmsocket_t *sock = ievent->sock; local 379 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)handle); local 497 isc_nmsocket_t *sock = handle->sock; local 582 isc_nmsocket_t *sock = ievent->sock; local 605 isc_nmsocket_t *sock = NULL; local 754 isc_nmsocket_t *sock = ievent->sock; local 789 isc_nmsocket_t *sock = NULL; local 868 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)handle); local 935 isc_nmsocket_t *sock = ievent->sock; local 963 isc_nmsocket_t *sock = handle->sock; local 987 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1009 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1036 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1109 isc_nmsocket_t *sock = ievent->sock; local 1182 isc_nmsocket_t *sock = NULL; local 1201 isc_nmsocket_t *sock = NULL; local [all...] |
| tcp.c | 58 tcp_connect_direct(isc_nmsocket_t *sock, isc__nm_uvreq_t *req); 61 tcp_close_direct(isc_nmsocket_t *sock); 64 tcp_send_direct(isc_nmsocket_t *sock, isc__nm_uvreq_t *req); 81 failed_accept_cb(isc_nmsocket_t *sock, isc_result_t eresult); 84 stop_tcp_parent(isc_nmsocket_t *sock); 86 stop_tcp_child(isc_nmsocket_t *sock); 89 failed_accept_cb(isc_nmsocket_t *sock, isc_result_t eresult) { 90 REQUIRE(sock->accepting); 91 REQUIRE(sock->server); 98 if (sock->quota != NULL) 197 isc_nmsocket_t *sock = ievent->sock; local 227 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)uvreq->handle); local 293 isc_nmsocket_t *sock = NULL; local 362 uv_os_sock_t sock; local 437 isc_nmsocket_t *sock = NULL; local 520 isc_nmsocket_t *sock = NULL; local 686 isc_nmsocket_t *sock = ievent->sock; local 737 isc_nmsocket_t *sock = handle->sock; local 773 isc_nmsocket_t *sock = ievent->sock; local 798 isc_nmsocket_t *sock = NULL; local 824 isc_nmsocket_t *sock = ievent->sock; local 840 isc_nmsocket_t *sock = handle->sock; local 869 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)stream); local 933 isc_nmsocket_t *sock = (isc_nmsocket_t *)sock0; local 952 isc_nmsocket_t *sock = ievent->sock; local 1082 isc_nmsocket_t *sock = handle->sock; local 1107 isc_nmsocket_t *sock = NULL; local 1134 isc_nmsocket_t *sock = ievent->sock; local 1185 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1230 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1238 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1357 isc_nmsocket_t *sock = ievent->sock; local 1369 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1420 isc_nmsocket_t *sock = NULL; local 1438 isc_nmsocket_t *sock = ievent->sock; local [all...] |
| tcpdns.c | 58 tcpdns_connect_direct(isc_nmsocket_t *sock, isc__nm_uvreq_t *req); 61 tcpdns_close_direct(isc_nmsocket_t *sock); 79 stop_tcpdns_parent(isc_nmsocket_t *sock); 81 stop_tcpdns_child(isc_nmsocket_t *sock); 84 tcpdns_connect_direct(isc_nmsocket_t *sock, isc__nm_uvreq_t *req) { 89 REQUIRE(VALID_NMSOCK(sock)); 93 REQUIRE(sock->tid == isc_nm_tid()); 95 worker = &sock->mgr->workers[sock->tid]; 97 atomic_store(&sock->connecting, true) 168 isc_nmsocket_t *sock = ievent->sock; local 197 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)uvreq->handle); local 256 isc_nmsocket_t *sock = NULL; local 325 uv_os_sock_t sock; local 402 isc_nmsocket_t *sock = NULL; local 487 isc_nmsocket_t *sock = NULL; local 653 isc_nmsocket_t *sock = ievent->sock; local 704 isc_nmsocket_t *sock = handle->sock; local 740 isc_nmsocket_t *sock = ievent->sock; local 846 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)stream); local 912 isc_nmsocket_t *sock = (isc_nmsocket_t *)sock0; local 1091 isc_nmsocket_t *sock = handle->sock; local 1117 isc_nmsocket_t *sock = NULL; local 1151 isc_nmsocket_t *sock = ievent->sock; local 1222 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1268 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1277 isc_nmsocket_t *sock = uv_handle_get_data(timer); local 1393 isc_nmsocket_t *sock = ievent->sock; local 1405 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 1456 isc_nmsocket_t *sock = NULL; local 1475 isc_nmsocket_t *sock = ievent->sock; local 1487 isc_nmsocket_t *sock = NULL; local [all...] |
| netmgr.c | 145 nmsocket_maybe_destroy(isc_nmsocket_t *sock FLARG); 147 nmhandle_free(isc_nmsocket_t *sock, isc_nmhandle_t *handle); 181 isc__nmsocket_reset(isc_nmsocket_t *sock); 630 REQUIRE(VALID_NMSOCK(handle->sock)); 632 handle->sock->write_timeout = write_timeout; 1153 isc__nmsocket_active(isc_nmsocket_t *sock) { 1154 REQUIRE(VALID_NMSOCK(sock)); 1155 if (sock->parent != NULL) { 1156 return (atomic_load(&sock->parent->active)); 1159 return (atomic_load(&sock->active)) 1407 isc_nmsocket_t *sock = *sockp, *rsock = NULL; local 1704 isc_nmsocket_t *sock = NULL; local 1739 isc_nmsocket_t *sock = NULL; local 1919 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)uvreq->handle); local 1970 isc_nmsocket_t *sock = NULL; local 1983 isc_nmsocket_t *sock = uv_handle_get_data((uv_handle_t *)timer); local 2098 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 2280 isc_nmsocket_t *sock = (isc_nmsocket_t *)arg; local 2322 isc_nmsocket_t *sock = NULL; local 2509 isc_nmsocket_t *sock = handle->sock; local 2524 isc_nmsocket_t *sock = handle->sock; local 2578 isc_nmsocket_t *sock = ievent->sock; local 2619 isc_nmsocket_t *sock = ievent->sock; local 2663 isc_nmsocket_t *sock = ievent->sock; local 2682 isc_nmsocket_t *sock = ievent->sock; local 2709 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 2772 isc_nmsocket_t *sock = uv_handle_get_data(handle); local 2887 SOCKET sock; local 3232 isc_nmsocket_t *sock = NULL; local 3398 isc_nmsocket_t *sock = NULL; local [all...] |
| /src/external/bsd/openldap/dist/servers/slapd/back-sock/ |
| searchexample.conf | 21 database sock 23 socketpath /tmp/example.sock
|
| /src/external/mpl/bind/dist/bin/tests/system/ |
| testsock6.pl | 19 my $sock; 20 $sock = IO::Socket::IP->new(LocalAddr => $addr, 25 close($sock);
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| inet_connect.c | 93 int sock; local 114 for (sock = -1, found = 0, res = res0; res != 0; res = res->ai_next) { 134 if ((sock = inet_connect_one(res, block_mode, timeout)) < 0) { 143 return (sock); 150 int sock; local 155 sock = socket(res->ai_family, res->ai_socktype, res->ai_protocol); 156 if (sock < 0) 163 set_inet_windowsize(sock, inet_windowsize); 169 non_blocking(sock, NON_BLOCKING); 170 if (timed_connect(sock, res->ai_addr, res->ai_addrlen, timeout) < 0) [all...] |
| timed_connect.c | 69 int timed_connect(int sock, struct sockaddr *sa, int len, int timeout) 84 if (sane_connect(sock, sa, len) == 0) 93 if (write_wait(sock, timeout) < 0) 102 if (getsockopt(sock, SOL_SOCKET, SO_ERROR, (void *) &error, &error_len) < 0)
|
| inet_windowsize.c | 13 /* void set_inet_windowsize(sock, windowsize) 14 /* int sock; 28 /* .IP sock 65 void set_inet_windowsize(int sock, int windowsize) 78 if (setsockopt(sock, SOL_SOCKET, SO_SNDBUF, (void *) &windowsize, 81 if (setsockopt(sock, SOL_SOCKET, SO_RCVBUF, (void *) &windowsize,
|
| sane_connect.c | 11 /* int sane_connect(sock, buf, len) 12 /* int sock; 46 int sane_connect(int sock, struct sockaddr *sa, SOCKADDR_SIZE len) 63 (void) setsockopt(sock, SOL_SOCKET, SO_KEEPALIVE, 66 return (connect(sock, sa, len));
|
| unix_connect.c | 66 int sock; local 83 if ((sock = socket(AF_UNIX, SOCK_STREAM, 0)) < 0) 90 non_blocking(sock, NON_BLOCKING); 91 if (timed_connect(sock, (struct sockaddr *) &sun, sizeof(sun), timeout) < 0) { 92 close(sock); 96 non_blocking(sock, block_mode); 97 return (sock); 104 non_blocking(sock, block_mode); 105 if (sane_connect(sock, (struct sockaddr *) &sun, sizeof(sun)) < 0 107 close(sock); [all...] |
| /src/crypto/external/bsd/heimdal/dist/lib/kadm5/ |
| send_recv.c | 46 krb5_storage *sock; local 48 assert(context->sock != rk_INVALID_SOCKET); 64 sock = krb5_storage_from_socket(context->sock); 65 if(sock == NULL) { 71 ret = krb5_store_data(sock, out); 74 krb5_storage_free(sock); 84 krb5_storage *sock; local 86 sock = krb5_storage_from_socket(context->sock); [all...] |
| /src/external/gpl3/gdb/dist/gnulib/import/ |
| bind.c | 34 SOCKET sock = FD_TO_SOCKET (fd); local 36 if (sock == INVALID_SOCKET) 43 int r = bind (sock, sockaddr, len);
|
| listen.c | 34 SOCKET sock = FD_TO_SOCKET (fd); local 36 if (sock == INVALID_SOCKET) 43 int r = listen (sock, backlog);
|
| /src/external/gpl3/gdb.old/dist/gnulib/import/ |
| bind.c | 34 SOCKET sock = FD_TO_SOCKET (fd); local 36 if (sock == INVALID_SOCKET) 43 int r = bind (sock, sockaddr, len);
|
| listen.c | 34 SOCKET sock = FD_TO_SOCKET (fd); local 36 if (sock == INVALID_SOCKET) 43 int r = listen (sock, backlog);
|