Searched refs:lwsi_role_client (Results 1 – 14 of 14) sorted by relevance
84 wsi, lwsi_role_client(wsi) ? in rops_handle_POLLIN_raw_proxy()188 if (lwsi_role_client(wsi)) in rops_handle_POLLOUT_raw_proxy()
77 !lwsi_role_client(wsi)) in lws_ws_handshake_client()119 if (lwsi_role_client(wsi)) in lws_ws_handshake_client()397 if (!lwsi_role_client(wsi)) in lws_client_ws_upgrade()411 if (!lwsi_role_client(wsi)) { in lws_client_ws_upgrade()
1065 if (lwsi_role_client(wsi)) { in rops_handle_POLLIN_ws()1107 if (!(lwsi_role_client(wsi) && in rops_handle_POLLIN_ws()1572 int masked7 = lwsi_role_client(wsi); in rops_write_role_protocol_ws()
469 if (wsi->role_ops != &role_ops_raw_skt && !lwsi_role_client(wsi) && in __lws_close_free_wsi()565 (wsi->role_ops == &role_ops_raw_skt && !lwsi_role_client(wsi)) || in __lws_close_free_wsi()569 if (!wsi->upgraded_to_http2 || !lwsi_role_client(wsi)) in __lws_close_free_wsi()593 lwsi_role_client(wsi)) { in __lws_close_free_wsi()
192 if (lwsi_role_client(wsi) && !wsi->hdr_parsing_completed && in lws_handle_POLLOUT_event()
60 if (lwsi_role_client(wsi)) in lws_read_h1()636 if (!lwsi_role_client(wsi)) { in rops_handle_POLLIN_h1()762 if (lwsi_role_client(wsi)) in rops_handle_POLLOUT_h1()839 lwsl_debug("%s: client %d\n", __func__, lwsi_role_client(wsi)); in rops_alpn_negotiated_h1()841 if (lwsi_role_client(wsi)) { in rops_alpn_negotiated_h1()
199 if (!(lwsi_role_client(wsi) && in rops_handle_POLLIN_h2()229 if (lwsi_role_http(wsi) && lwsi_role_client(wsi) && in rops_handle_POLLIN_h2()1146 lwsl_debug("%s: client %d\n", __func__, lwsi_role_client(wsi)); in rops_alpn_negotiated_h2()1148 if (lwsi_role_client(wsi)) { in rops_alpn_negotiated_h2()
75 #define lwsi_role_client(wsi) (!!(wsi->wsistate & LWSIFR_CLIENT)) macro
150 client and server connections inside a wsi, along with helpers `lwsi_role_client(wsi)`
56 if (!lwsi_role_client(wsi) && lwsi_state(wsi) != LRS_ESTABLISHED) { in rops_handle_POLLIN_raw_skt()
520 if (lwsi_role_client(wsi) && wsi->mqtt->inside_subscribe) { in _lws_mqtt_rx_parser()660 if (!lwsi_role_client(wsi)) { in _lws_mqtt_rx_parser()758 if (!lwsi_role_client(wsi)) { in _lws_mqtt_rx_parser()828 if (!lwsi_role_client(wsi)) { in _lws_mqtt_rx_parser()
109 if (!(lwsi_role_client(wsi) && lwsi_state(wsi) != LRS_ESTABLISHED)) { in rops_handle_POLLIN_mqtt()
293 if (lwsi_role_client(wsi) && lwsi_state(wsi) == LRS_UNCONNECTED) in lws_header_table_attach()422 if (lwsi_role_client(wsi) && lwsi_state(wsi) == LRS_UNCONNECTED) { in __lws_header_table_detach()
733 if (lwsi_role_client(wsi) && wsi->protocol /* && lwsi_state_est(wsi) */)