Home
last modified time | relevance | path

Searched refs:accept_fd (Results 1 – 10 of 10) sorted by relevance

/third_party/libwebsockets/lib/roles/listen/
Dops-listen.c84 filt.accept_fd = accept((int)pollfd->fd, in rops_handle_POLLIN_listen()
87 if (filt.accept_fd == LWS_SOCK_INVALID) { in rops_handle_POLLIN_listen()
98 compatible_close(filt.accept_fd); in rops_handle_POLLIN_listen()
103 lws_plat_set_socket_options(wsi->a.vhost, filt.accept_fd, 0); in rops_handle_POLLIN_listen()
110 filt.accept_fd); in rops_handle_POLLIN_listen()
118 filt.accept_fd); in rops_handle_POLLIN_listen()
131 (void *)(lws_intptr_t)filt.accept_fd, 0)) { in rops_handle_POLLIN_listen()
133 compatible_close(filt.accept_fd); in rops_handle_POLLIN_listen()
146 fd.sockfd = filt.accept_fd; in rops_handle_POLLIN_listen()
/third_party/libwebsockets/include/libwebsockets/
Dlws-adopt.h49 lws_adopt_socket(struct lws_context *context, lws_sockfd_type accept_fd);
64 lws_adopt_socket_vhost(struct lws_vhost *vh, lws_sockfd_type accept_fd);
207 lws_adopt_socket_readbuf(struct lws_context *context, lws_sockfd_type accept_fd,
233 lws_sockfd_type accept_fd, const char *readbuf,
Dlws-callbacks.h91 lws_sockfd_type accept_fd; member
/third_party/libwebsockets/lib/tls/
Dtls-server.c128 lws_server_socket_service_ssl(struct lws *wsi, lws_sockfd_type accept_fd, char from_pollin) in lws_server_socket_service_ssl() argument
144 if (accept_fd == LWS_SOCK_INVALID) in lws_server_socket_service_ssl()
152 if (lws_tls_server_new_nonblocking(wsi, accept_fd)) { in lws_server_socket_service_ssl()
154 if (accept_fd != LWS_SOCK_INVALID) in lws_server_socket_service_ssl()
155 compatible_close(accept_fd); in lws_server_socket_service_ssl()
Dprivate-network.h103 lws_server_socket_service_ssl(struct lws *new_wsi, lws_sockfd_type accept_fd,
165 lws_tls_server_new_nonblocking(struct lws *wsi, lws_sockfd_type accept_fd);
/third_party/libwebsockets/lib/core-net/
Dadopt.c554 lws_adopt_socket_vhost(struct lws_vhost *vh, lws_sockfd_type accept_fd) in lws_adopt_socket_vhost() argument
558 fd.sockfd = accept_fd; in lws_adopt_socket_vhost()
564 lws_adopt_socket(struct lws_context *context, lws_sockfd_type accept_fd) in lws_adopt_socket() argument
566 return lws_adopt_socket_vhost(context->vhost_list, accept_fd); in lws_adopt_socket()
923 lws_adopt_socket_readbuf(struct lws_context *context, lws_sockfd_type accept_fd, in lws_adopt_socket_readbuf() argument
926 return adopt_socket_readbuf(lws_adopt_socket(context, accept_fd), in lws_adopt_socket_readbuf()
932 lws_sockfd_type accept_fd, in lws_adopt_socket_vhost_readbuf() argument
935 return adopt_socket_readbuf(lws_adopt_socket_vhost(vhost, accept_fd), in lws_adopt_socket_vhost_readbuf()
Dprivate-lib-core-net.h1157 lws_adopt_socket_vhost(struct lws_vhost *vh, lws_sockfd_type accept_fd);
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-server.c246 lws_tls_server_new_nonblocking(struct lws *wsi, lws_sockfd_type accept_fd) in lws_tls_server_new_nonblocking() argument
257 SSL_set_fd(wsi->tls.ssl, (int)accept_fd); in lws_tls_server_new_nonblocking()
/third_party/libwebsockets/lib/tls/openssl/
Dopenssl-server.c632 lws_tls_server_new_nonblocking(struct lws *wsi, lws_sockfd_type accept_fd) argument
650 SSL_set_fd(wsi->tls.ssl, (int)(lws_intptr_t)accept_fd);
/third_party/libuv/src/unix/
Dstream.c483 static int uv__emfile_trick(uv_loop_t* loop, int accept_fd) { in uv__emfile_trick() argument
494 err = uv__accept(accept_fd); in uv__emfile_trick()