/macosx-10.10.1/bind9-45.101/bind9/lib/isc/include/isc/ |
H A D | httpd.h | 40 isc_httpdmgr_create(isc_mem_t *mctx, isc_socket_t *sock, isc_task_t *task,
|
/macosx-10.10.1/configd-699.1.5/SystemConfiguration.fproj/ |
H A D | moh.c | 99 int sock; local 103 sock = socket(AF_LOCAL, SOCK_STREAM, 0); 109 status = connect(sock, (struct sockaddr *)&sun, sizeof(sun)); 114 *ref = sock;
|
/macosx-10.10.1/curl-83.1.2/curl/lib/ |
H A D | asyn.h | 95 * This function is called from the multi_getsock() function. 'sock' is a 99 * in the 'sock' array) to wait for, read/write. 101 int Curl_resolver_getsock(struct connectdata *conn, curl_socket_t *sock,
|
H A D | socks_gssapi.c | 117 curl_socket_t sock = conn->sock[sockindex]; local 207 code = Curl_write_plain(conn, sock, (char *)socksreq, 4, &written); 217 code = Curl_write_plain(conn, sock, (char *)gss_send_token.value, 245 result=Curl_blockread_all(conn, sock, (char *)socksreq, 4, &actualread); 284 result=Curl_blockread_all(conn, sock, (char *)gss_recv_token.value, 413 code = Curl_write_plain(conn, sock, (char *)socksreq, 4, &written); 423 code = Curl_write_plain(conn, sock, socksreq, 1, &written); 431 code = Curl_write_plain(conn, sock, (char *)gss_w_token.value, 442 result=Curl_blockread_all(conn, sock, (cha [all...] |
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSShared/ |
H A D | dnssd_ipc.h | 46 # define dnssd_close(sock) closesocket(sock) 72 # define dnssd_close(sock) close(sock)
|
/macosx-10.10.1/ntp-92/lib/isc/include/isc/ |
H A D | httpd.h | 40 isc_httpdmgr_create(isc_mem_t *mctx, isc_socket_t *sock, isc_task_t *task,
|
/macosx-10.10.1/ruby-106/ruby/lib/webrick/ |
H A D | utils.rb | 85 sock = TCPServer.new(ai[3], port) 86 port = sock.addr[1] if port == 0 87 Utils::set_close_on_exec(sock) 88 sockets << sock
|
/macosx-10.10.1/OpenSSH-189/openssh/ |
H A D | channels.c | 244 c->sock = (rfd == wfd) ? rfd : -1; 382 channel_close_fd(&c->sock); 406 if (c->sock != -1) 407 shutdown(c->sock, SHUT_RDWR); 478 channel_close_fd(&c->sock); 801 FD_SET(c->sock, readset); 809 FD_SET(c->sock, writeset); 816 FD_SET(c->sock, readset); 818 FD_SET(c->sock, writeset); 878 FD_SET(c->sock, writese 1550 int err = 0, sock; local 2728 int sock, r, success = 0, wildcard = 0, is_client; local 3249 int sock, saved_errno; local 3308 int sock = -1; local 3424 int display_number, sock; local 3523 int sock; local 3555 int gaierr, sock = 0; local 3685 int remote_id, sock = 0; local [all...] |
H A D | sshconnect.c | 197 int sock, gaierr; local 207 sock = rresvport_af(&p, ai->ai_family); 209 if (sock < 0) 214 return sock; 216 sock = socket(ai->ai_family, ai->ai_socktype, ai->ai_protocol); 217 if (sock < 0) { 221 fcntl(sock, F_SETFD, FD_CLOEXEC); 225 return sock; 236 close(sock); 239 if (bind(sock, re 350 int sock = -1, attempt; local [all...] |
H A D | authfd.c | 103 int sock; local 114 sock = socket(AF_UNIX, SOCK_STREAM, 0); 115 if (sock < 0) 119 if (fcntl(sock, F_SETFD, FD_CLOEXEC) == -1) { 120 close(sock); 123 if (connect(sock, (struct sockaddr *)&sunaddr, sizeof sunaddr) < 0) { 124 close(sock); 128 return sock; 185 ssh_close_authentication_socket(int sock) argument 188 close(sock); 203 int sock; local [all...] |
/macosx-10.10.1/configd-699.1.5/Plugins/KernelEventMonitor/ |
H A D | ev_dlil.c | 176 int sock; local 178 sock = dgram_socket(AF_INET); 179 if (sock == -1) { 187 if (ioctl(sock, SIOCGIFLINKQUALITYMETRIC, (caddr_t)&ifr) != -1) { 193 if (sock != -1) 194 close(sock); 311 int sock; local 313 sock = dgram_socket(AF_INET); 314 if (sock == -1) { 323 if (ioctl(sock, SIOCGIFMEDI [all...] |
H A D | ev_ipv6.c | 258 int sock = -1; local 295 if (sock == -1) { 296 sock = dgram_socket(AF_INET6); 297 if (sock == -1) { 332 if (ioctl(sock, SIOCGIFAFLAG_IN6, &ifr6) == -1) { 399 if (sock != -1) close(sock);
|
/macosx-10.10.1/mDNSResponder-561.1.1/mDNSWindows/ |
H A D | mDNSWin32.h | 75 struct UDPSocket_struct sock; member in struct:mDNSInterfaceData 152 extern mStatus TCPAddSocket( mDNS * const inMDNS, TCPSocket *sock );
|
/macosx-10.10.1/network_cmds-457/natd.tproj/ |
H A D | icmp.c | 60 int SendNeedFragIcmp (int sock, struct ip* failedDgram, int mtu) argument 135 wrote = sendto (sock,
|
/macosx-10.10.1/passwordserver_sasl-193/cyrus_sasl/sample/ |
H A D | client.c | 204 int err, sock = -1; local 216 sock = socket(r->ai_family, r->ai_socktype, r->ai_protocol); 217 if (sock < 0) 219 if (connect(sock, r->ai_addr, r->ai_addrlen) >= 0) 221 close(sock); 222 sock = -1; 226 if (sock < 0) { 231 return sock;
|
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_ssl/regressions/ |
H A D | ssl-45-tls12.c | 90 int sock; local 119 sock = socket(AF_INET, SOCK_STREAM, 0); 124 err = connect(sock, (struct sockaddr *) &addr, sizeof(struct sockaddr_in)); 132 return sock; 185 static SSLContextRef make_ssl_ref(int sock, SSLProtocol maxprot) argument 192 require_noerr(SSLSetConnection(ctx, (SSLConnectionRef)(intptr_t)sock), out);
|
/macosx-10.10.1/tcl-105/tcl_ext/sdx/sdx/lib/ftp/ |
H A D | ftp_lib.tcl | 201 # sock - socket name 206 proc StateHandler {{sock ""}} { 218 if { $sock != "" } { 220 set number [gets $sock bufline] 232 set number [gets $sock bufline] 2006 # sock - socket name (data channel) 2008 proc HandleData {sock} { 2012 fileevent $sock writable {} 2013 fileevent $sock readable {} 2056 # sock [all...] |
/macosx-10.10.1/bind9-45.101/bind9/bin/named/ |
H A D | controlconf.c | 79 isc_socket_t * sock; member in struct:controlconnection 95 isc_socket_t * sock; member in struct:controllistener 144 if (listener->sock != NULL) 145 isc_socket_detach(&listener->sock); 176 isc_socket_cancel(conn->sock, listener->task, 214 isc_socket_cancel(listener->sock, listener->task, 240 result = isc_socket_accept(listener->sock, 256 result = isc_socket_listen(listener->sock, 0); 274 isc_socket_t *sock = (isc_socket_t *)sevent->ev_sender; local 289 (void)isc_socket_getpeername(sock, 528 newconnection(controllistener_t *listener, isc_socket_t *sock) argument 574 isc_socket_t *sock; local [all...] |
/macosx-10.10.1/apache-793/httpd/modules/proxy/ |
H A D | mod_proxy_connect.c | 203 apr_socket_t *sock; local 297 failed = ap_proxy_connect_to_backend(&sock, "CONNECT", nexthop, 314 apr_socket_close(sock); 329 pollfd.desc.s = sock; 338 backconn = ap_run_create_connection(c->pool, r->server, sock, 345 apr_socket_close(sock); 349 rc = ap_run_pre_connection(backconn, sock); 423 apr_socket_close(sock); 435 if (cur->desc.s == sock) { 440 "sock wa [all...] |
/macosx-10.10.1/ruby-106/ruby/ext/socket/ |
H A D | init.c | 43 rsock_init_sock(VALUE sock, int fd) argument 60 MakeOpenFile(sock, fp); 63 rb_io_ascii8bit_binmode(sock); 69 return sock; 106 rsock_s_recvfrom(VALUE sock, int argc, VALUE *argv, enum sock_recv_type from) argument 121 GetOpenFile(sock, fptr); 167 return rb_assoc_new(str, rsock_io_socket_addrinfo(sock, (struct sockaddr*)&arg.buf, arg.alen)); 174 rsock_s_recvfrom_nonblock(VALUE sock, int argc, VALUE *argv, enum sock_recv_type from) argument 198 GetOpenFile(sock, fptr); 234 addr = rsock_io_socket_addrinfo(sock, (struc [all...] |
/macosx-10.10.1/tcl-105/tcl/tcl/win/ |
H A D | tclWinSock.c | 910 SOCKET sock = INVALID_SOCKET; 933 sock = socket(AF_INET, SOCK_STREAM, 0); 934 if (sock == INVALID_SOCKET) { 943 SetHandleInformation((HANDLE) sock, HANDLE_FLAG_INHERIT, 0); 949 TclSockMinimumBuffers((int) sock, TCP_BUFFER_SIZE); 962 if (bind(sock, (SOCKADDR *) &sockaddr, sizeof(SOCKADDR_IN)) 973 if (listen(sock, SOMAXCONN) == SOCKET_ERROR) { 981 infoPtr = NewSocketInfo(sock); 996 if (bind(sock, (SOCKADDR *) &mysockaddr, sizeof(SOCKADDR_IN)) 1008 if (ioctlsocket(sock, (lon 898 SOCKET sock = INVALID_SOCKET; local 1278 Tcl_MakeTcpClientChannel( ClientData sock) argument 1752 SOCKET sock; local 1855 SOCKET sock; local [all...] |
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/ |
H A D | httpd.c | 83 isc_socket_t *sock; member in struct:isc_httpd 139 isc_socket_t *sock; /*%< listening socket */ member in struct:isc_httpdmgr 241 isc_socket_detach(&httpd->sock); 256 isc_httpdmgr_create(isc_mem_t *mctx, isc_socket_t *sock, isc_task_t *task, argument 265 REQUIRE(sock != NULL); 281 httpd->sock = NULL; 282 isc_socket_attach(sock, &httpd->sock); 294 result = isc_socket_listen(sock, SOMAXCONN); 302 (void)isc_socket_filter(sock, "httpread [all...] |
/macosx-10.10.1/ntp-92/lib/isc/ |
H A D | httpd.c | 83 isc_socket_t *sock; member in struct:isc_httpd 139 isc_socket_t *sock; /*%< listening socket */ member in struct:isc_httpdmgr 235 isc_socket_detach(&httpd->sock); 250 isc_httpdmgr_create(isc_mem_t *mctx, isc_socket_t *sock, isc_task_t *task, argument 259 REQUIRE(sock != NULL); 275 httpd->sock = NULL; 276 isc_socket_attach(sock, &httpd->sock); 288 result = isc_socket_listen(sock, SOMAXCONN); 296 (void)isc_socket_filter(sock, "httpread [all...] |
/macosx-10.10.1/ruby-106/ruby/test/open-uri/ |
H A D | test_open-uri.rb | 106 sock = serv.accept 108 req = sock.gets("\r\n\r\n") 110 sock.print "HTTP/1.0 200 OK\r\n" 111 sock.print "Content-Length: 4\r\n\r\n" 113 sock.print "ab\r\n" 115 sock.close 306 sock = serv.accept 308 req = sock.gets("\r\n\r\n") 310 sock.print "HTTP/1.0 302 Found\r\n" 311 sock [all...] |
/macosx-10.10.1/dcerpc-61/dcerpc/ncklib/ |
H A D | dgsoc.c | 135 serr = RPC_SOCKET_CLOSE((*sp)->sock); 140 (*sp)->sock, RPC_SOCKET_ETOI(serr))); 441 eltp->sock = socket_desc; 601 sp->sock)); 608 * For shared sockets, remove the sock from the listener's database 616 rpc__network_remove_desc(sp->sock, &st); 665 (void) RPC_SOCKET_CLOSE(eltp->sock); 674 (void) RPC_SOCKET_CLOSE(eltp->sock);
|