Home
last modified time | relevance | path

Searched refs:LWS_SOCK_INVALID (Results 1 – 24 of 24) sorted by relevance

/third_party/libwebsockets/lib/plat/windows/
Dwindows-pipe.c121 if (pt->dummy_pipe_fds[0] && pt->dummy_pipe_fds[0] != LWS_SOCK_INVALID) in lws_plat_pipe_close()
123 if (pt->dummy_pipe_fds[1] && pt->dummy_pipe_fds[1] != LWS_SOCK_INVALID) in lws_plat_pipe_close()
126 pt->dummy_pipe_fds[0] = pt->dummy_pipe_fds[1] = LWS_SOCK_INVALID; in lws_plat_pipe_close()
Dwindows-service.c174 if (pt->fds[n].fd != LWS_SOCK_INVALID && pt->fds[n].revents) { in _lws_plat_service_tsi()
Dwindows-spawn.c105 new_wsi->desc.sockfd = LWS_SOCK_INVALID; in lws_create_basic_wsi()
/third_party/libwebsockets/include/
Dlibwebsockets.h133 #define LWS_SOCK_INVALID (INVALID_SOCKET) macro
164 #define LWS_SOCK_INVALID (-1) macro
169 #define LWS_SOCK_INVALID (-1) macro
172 #define LWS_SOCK_INVALID (-1) macro
/third_party/libwebsockets/lib/tls/
Dtls-server.c144 if (accept_fd == LWS_SOCK_INVALID) in lws_server_socket_service_ssl()
154 if (accept_fd != LWS_SOCK_INVALID) in lws_server_socket_service_ssl()
/third_party/libwebsockets/test-apps/
Dtest-server.c105 pfd = ext_find_fd(LWS_SOCK_INVALID); in lws_callback_http()
121 pfd->fd = LWS_SOCK_INVALID; in lws_callback_http()
574 pollfds[n].fd = LWS_SOCK_INVALID; in main()
/third_party/libwebsockets/lib/plat/unix/
Dprivate-lib-plat-unix.h154 #define LWS_SOCK_INVALID (-1) macro
Dunix-fds.c93 if (sfd == LWS_SOCK_INVALID || !context->lws_lookup) in sanity_assert_no_sockfd_traces()
Dunix-spawn.c134 lsp->pipe_fds[n][!!(n == 0)] = LWS_SOCK_INVALID; in lws_spawn_piped_destroy()
/third_party/libwebsockets/lib/core-net/
Droute.c305 wsi->desc.sockfd == LWS_SOCK_INVALID) in _lws_route_check_wsi()
390 if (wsi->desc.sockfd != LWS_SOCK_INVALID && in _lws_route_pt_close_route_users()
Dclose.c908 pt->dummy_pipe_fds[0] = LWS_SOCK_INVALID; in __lws_close_free_wsi_final()
911 wsi->desc.sockfd = LWS_SOCK_INVALID; in __lws_close_free_wsi_final()
Dwsi.c325 wsi->desc.sockfd = LWS_SOCK_INVALID; in __lws_wsi_create_with_role()
1103 wsi->desc.sockfd = LWS_SOCK_INVALID; in _lws_generic_transaction_completed_active_conn()
Dadopt.c702 if (sock.sockfd == LWS_SOCK_INVALID) in lws_create_adopt_udp2()
Dnetwork.c315 if (sockfd == LWS_SOCK_INVALID) in lws_socket_bind()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-adopt-tcp/
Dminimal-raw-adopt-tcp.c154 if (sock.sockfd != LWS_SOCK_INVALID) in main()
/third_party/libwebsockets/lib/roles/listen/
Dops-listen.c87 if (filt.accept_fd == LWS_SOCK_INVALID) { in rops_handle_POLLIN_listen()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-netcat/
Dminimal-raw-netcat.c209 if (sock.sockfd != LWS_SOCK_INVALID) in main()
/third_party/libwebsockets/lib/roles/raw-skt/
Dops-raw-skt.c62 LWS_SOCK_INVALID, in rops_handle_POLLIN_raw_skt()
/third_party/libwebsockets/lib/roles/netlink/
Dops-netlink.c509 if (wsi->desc.sockfd == LWS_SOCK_INVALID) { in rops_pt_init_destroy_netlink()
/third_party/libwebsockets/lib/core-net/client/
Dconnect3.c700 wsi->desc.sockfd = LWS_SOCK_INVALID;
/third_party/libwebsockets/lib/core/
Dprivate-lib-core.h108 #define lws_socket_is_valid(x) (x != LWS_SOCK_INVALID)
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c646 LWS_SOCK_INVALID, in rops_handle_POLLIN_h1()
/third_party/libwebsockets/lib/event-libs/libuv/
Dlibuv.c486 wsi->desc.sockfd = LWS_SOCK_INVALID; in elops_close_handle_manually_uv()
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c113 is = lws_socket_bind(a->vhost, NULL, LWS_SOCK_INVALID, in _lws_vhost_init_server_af()
203 LWS_SOCK_INVALID : in _lws_vhost_init_server_af()
206 if (sockfd == LWS_SOCK_INVALID) { in _lws_vhost_init_server_af()