Home
last modified time | relevance | path

Searched refs:lwsi_role_client (Results 1 – 14 of 14) sorted by relevance

/external/libwebsockets/lib/roles/raw-proxy/
Dops-raw-proxy.c84 wsi, lwsi_role_client(wsi) ? in rops_handle_POLLIN_raw_proxy()
188 if (lwsi_role_client(wsi)) in rops_handle_POLLOUT_raw_proxy()
/external/libwebsockets/lib/roles/ws/
Dclient-ws.c77 !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()
Dops-ws.c1065 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()
/external/libwebsockets/lib/core-net/
Dclose.c469 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()
Dservice.c192 if (lwsi_role_client(wsi) && !wsi->hdr_parsing_completed && in lws_handle_POLLOUT_event()
/external/libwebsockets/lib/roles/h1/
Dops-h1.c60 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()
/external/libwebsockets/lib/roles/h2/
Dops-h2.c199 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()
/external/libwebsockets/lib/roles/
Dprivate-lib-roles.h75 #define lwsi_role_client(wsi) (!!(wsi->wsistate & LWSIFR_CLIENT)) macro
DREADME.md150 client and server connections inside a wsi, along with helpers `lwsi_role_client(wsi)`
/external/libwebsockets/lib/roles/raw-skt/
Dops-raw-skt.c56 if (!lwsi_role_client(wsi) && lwsi_state(wsi) != LRS_ESTABLISHED) { in rops_handle_POLLIN_raw_skt()
/external/libwebsockets/lib/roles/mqtt/
Dmqtt.c520 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()
Dops-mqtt.c109 if (!(lwsi_role_client(wsi) && lwsi_state(wsi) != LRS_ESTABLISHED)) { in rops_handle_POLLIN_mqtt()
/external/libwebsockets/lib/roles/http/
Dparsers.c293 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()
/external/libwebsockets/lib/roles/http/client/
Dclient-handshake.c733 if (lwsi_role_client(wsi) && wsi->protocol /* && lwsi_state_est(wsi) */)