/external/libmicrohttpd/src/microspdy/ |
D | io_raw.c | 69 fd_flags = fcntl (session->socket_fd, F_GETFL); in SPDYF_raw_new_session() 71 || 0 != fcntl (session->socket_fd, F_SETFL, fd_flags | O_NONBLOCK)) in SPDYF_raw_new_session() 76 ret = setsockopt(session->socket_fd, IPPROTO_TCP, TCP_NODELAY, &val, (socklen_t)sizeof(val)); in SPDYF_raw_new_session() 97 int n = read(session->socket_fd, in SPDYF_raw_recv() 126 int n = write(session->socket_fd, in SPDYF_raw_send() 168 ret = setsockopt(session->socket_fd, IPPROTO_TCP, TCP_CORK, &val, (socklen_t)sizeof(val)); in SPDYF_raw_before_write() 187 ret = setsockopt(session->socket_fd, IPPROTO_TCP, TCP_CORK, &val, (socklen_t)sizeof(val)); in SPDYF_raw_after_write()
|
D | daemon.c | 199 daemon->socket_fd = -1; in SPDYF_start_daemon_va() 307 daemon->socket_fd = socket (afamily, SOCK_STREAM, 0); in SPDYF_start_daemon_va() 308 if (-1 == daemon->socket_fd) in SPDYF_start_daemon_va() 315 ret = setsockopt(daemon->socket_fd, SOL_SOCKET, SO_REUSEADDR, &option_on, sizeof(option_on)); in SPDYF_start_daemon_va() 324 ret = setsockopt(daemon->socket_fd, IPPROTO_IPV6, IPV6_V6ONLY, &option_on, sizeof(option_on)); in SPDYF_start_daemon_va() 333 if (-1 == bind (daemon->socket_fd, daemon->address, addrlen)) in SPDYF_start_daemon_va() 339 if (listen (daemon->socket_fd, 20) < 0) in SPDYF_start_daemon_va() 355 if(daemon->socket_fd > 0) in SPDYF_start_daemon_va() 356 (void)close (daemon->socket_fd); in SPDYF_start_daemon_va() 377 shutdown (daemon->socket_fd, SHUT_RDWR); in SPDYF_stop_daemon() [all …]
|
D | structures.h | 783 int socket_fd; member 966 int socket_fd; member
|
D | session.c | 951 shutdown (session->socket_fd, SHUT_RD); in SPDYF_session_read() 1089 shutdown (session->socket_fd, SHUT_RD); in SPDYF_session_write() 1367 shutdown (session->socket_fd, in SPDYF_session_close() 1409 new_socket_fd = accept (daemon->socket_fd, addr, &addr_len); in SPDYF_session_accept() 1421 session->socket_fd = new_socket_fd; in SPDYF_session_accept() 1580 (void)close (session->socket_fd); in SPDYF_session_destroy()
|
D | io_openssl.c | 143 if(1 != (ret = SSL_set_fd(session->io_context, session->socket_fd))) in SPDYF_openssl_new_session()
|
/external/libmicrohttpd/src/microhttpd/ |
D | daemon.c | 846 if (MHD_INVALID_SOCKET != daemon->socket_fd && in MHD_get_fdset2() 847 MHD_YES != add_to_fd_set (daemon->socket_fd, read_fd_set, max_fd, fd_setsize)) in MHD_get_fdset2() 855 if (MHD_YES != add_to_fd_set (pos->socket_fd, read_fd_set, max_fd, fd_setsize)) in MHD_get_fdset2() 859 if (MHD_YES != add_to_fd_set (pos->socket_fd, write_fd_set, max_fd, fd_setsize)) in MHD_get_fdset2() 862 MHD_YES != add_to_fd_set (pos->socket_fd, read_fd_set, max_fd, fd_setsize)) in MHD_get_fdset2() 867 MHD_YES != add_to_fd_set (pos->socket_fd, read_fd_set, max_fd, fd_setsize)) in MHD_get_fdset2() 955 add_to_fd_set (con->socket_fd, &rs, &max, FD_SETSIZE)) in MHD_handle_connection() 960 add_to_fd_set (con->socket_fd, &ws, &max, FD_SETSIZE)) in MHD_handle_connection() 964 add_to_fd_set (con->socket_fd, &rs, &max, FD_SETSIZE)) ) in MHD_handle_connection() 970 add_to_fd_set (con->socket_fd, &rs, &max, FD_SETSIZE)) ) in MHD_handle_connection() [all …]
|
D | internal.h | 737 MHD_socket socket_fd; member 1117 MHD_socket socket_fd; member
|
D | connection.c | 275 shutdown (connection->socket_fd, in MHD_connection_close() 2484 setsockopt (connection->socket_fd, IPPROTO_TCP, TCP_CORK, &val, 2566 setsockopt (connection->socket_fd, IPPROTO_TCP, TCP_CORK, &val, 2729 connection->socket_fd, 2801 return (const union MHD_ConnectionInfo *) &connection->socket_fd;
|
/external/webrtc/webrtc/base/ |
D | macasyncsocket.cc | 235 int socket_fd = ::accept(native_socket_, reinterpret_cast<sockaddr*>(&saddr), in Accept() local 237 if (socket_fd == INVALID_SOCKET) { in Accept() 242 MacAsyncSocket* s = new MacAsyncSocket(ss_, saddr.ss_family, socket_fd); in Accept()
|
/external/c-ares/ |
D | ares.h | 227 ares_socket_t socket_fd, 294 typedef int (*ares_sock_create_callback)(ares_socket_t socket_fd,
|
/external/libbrillo/brillo/http/ |
D | http_transport_curl.cc | 39 curl_socket_t socket_fd) in SocketPollData() argument 43 socket_fd_(socket_fd) {} in SocketPollData()
|