Lines Matching defs:wsi
40 struct lws *wsi = lws_container_of(p, struct lws,
43 if (wsi->position_in_fds_table >= 0) {
45 pt->fds[wsi->position_in_fds_table].revents = (short)
46 (pt->fds[wsi->position_in_fds_table].revents |
47 (pt->fds[wsi->position_in_fds_table].events & LWS_POLLIN));
48 ret |= pt->fds[wsi->position_in_fds_table].revents & LWS_POLLIN;
57 __lws_ssl_remove_wsi_from_buffered_list(struct lws *wsi)
59 lws_dll2_remove(&wsi->tls.dll_pending_tls);
63 lws_ssl_remove_wsi_from_buffered_list(struct lws *wsi)
65 struct lws_context_per_thread *pt = &wsi->a.context->pt[(int)wsi->tsi];
68 __lws_ssl_remove_wsi_from_buffered_list(wsi);
177 struct lws wsi;
179 wsi.a.context = context;
182 wsi.a.vhost = v; /* not a real bound wsi */
186 lws_tls_server_certs_load(v, &wsi, certpath, keypath,
213 struct lws *wsi = lws_container_of(d, struct lws,
217 lws_change_pollfd(wsi, on ? LWS_POLLIN : 0,