Searched refs:lwsi_role_client (Results 1 – 14 of 14) sorted by relevance
87 wsi, lwsi_role_client(wsi) ? in rops_handle_POLLIN_raw_proxy()191 if (lwsi_role_client(wsi)) in rops_handle_POLLOUT_raw_proxy()
77 !lwsi_role_client(wsi)) in lws_ws_handshake_client()118 if (lwsi_role_client(wsi)) in lws_ws_handshake_client()386 if (!lwsi_role_client(wsi)) in lws_client_ws_upgrade()400 if (!lwsi_role_client(wsi)) { in lws_client_ws_upgrade()
1064 if (lwsi_role_client(wsi)) { in rops_handle_POLLIN_ws()1106 if (!(lwsi_role_client(wsi) && in rops_handle_POLLIN_ws()1588 int masked7 = lwsi_role_client(wsi); in rops_write_role_protocol_ws()
60 if (lwsi_role_client(wsi)) in lws_read_h1()631 if (!lwsi_role_client(wsi)) { in rops_handle_POLLIN_h1()773 if (lwsi_role_client(wsi)) in rops_handle_POLLOUT_h1()851 lwsl_debug("%s: client %d\n", __func__, lwsi_role_client(wsi)); in rops_alpn_negotiated_h1()853 if (lwsi_role_client(wsi)) { in rops_alpn_negotiated_h1()
225 if (!(lwsi_role_client(wsi) && in rops_handle_POLLIN_h2()257 if (lwsi_role_http(wsi) && lwsi_role_client(wsi) && in rops_handle_POLLIN_h2()1276 lwsl_debug("%s: client %d\n", __func__, lwsi_role_client(wsi)); in rops_alpn_negotiated_h2()1278 if (lwsi_role_client(wsi)) { in rops_alpn_negotiated_h2()1290 …lws_role_transition(wsi, lwsi_role_client(wsi) ? LWSIFR_CLIENT : LWSIFR_SERVER, LRS_H2_AWAIT_PREFA… in rops_alpn_negotiated_h2()
643 if (wsi->role_ops != &role_ops_raw_skt && !lwsi_role_client(wsi) && in __lws_close_free_wsi()738 (wsi->role_ops == &role_ops_raw_skt && !lwsi_role_client(wsi)) || in __lws_close_free_wsi()742 if (!wsi->upgraded_to_http2 || !lwsi_role_client(wsi)) in __lws_close_free_wsi()776 lwsi_role_client(wsi)) { in __lws_close_free_wsi()
192 if (lwsi_role_client(wsi) && !wsi->hdr_parsing_completed && in lws_handle_POLLOUT_event()
56 if (!lwsi_role_client(wsi) && lwsi_state(wsi) != LRS_ESTABLISHED) { in rops_handle_POLLIN_raw_skt()
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)`
765 if (lwsi_role_client(wsi) && wsi->mqtt->inside_subscribe) { in _lws_mqtt_rx_parser()905 if (!lwsi_role_client(wsi)) { in _lws_mqtt_rx_parser()1003 if (!lwsi_role_client(wsi)) { in _lws_mqtt_rx_parser()1073 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()
652 if (lwsi_role_client(wsi) && wsi->a.protocol
290 if (lwsi_role_client(wsi) && lwsi_state(wsi) == LRS_UNCONNECTED) in lws_header_table_attach()415 if (lwsi_role_client(wsi) && lwsi_state(wsi) == LRS_UNCONNECTED) { in __lws_header_table_detach()