Lines Matching defs:wsi
40 lws_send_pipe_choked(struct lws *wsi)
44 wsi_eff = lws_get_network_wsi(wsi);
46 wsi_eff = wsi;
54 ||wsi->http.comp_ctx.buflist_comp ||
55 wsi->http.comp_ctx.may_have_more
203 lws_plat_insert_socket_into_fds(struct lws_context *context, struct lws *wsi)
205 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi];
208 if (wsi->udp) {
215 context->event_loop_ops->io(wsi, LWS_EV_START | LWS_EV_READ);
219 lws_plat_change_pollfd(context, wsi, &pt->fds[pt->fds_count - 1]);
224 struct lws *wsi, int m)
226 struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi];
233 lws_plat_check_connection_error(struct lws *wsi)
238 if (getsockopt(wsi->desc.sockfd, SOL_SOCKET, SO_ERROR,
250 lws_plat_change_pollfd(struct lws_context *context, struct lws *wsi,
253 //struct lws_context_per_thread *pt = &context->pt[(int)wsi->tsi];