Home
last modified time | relevance | path

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

/third_party/libwebsockets/lib/roles/raw-proxy/
Dops-raw-proxy.c87 wsi, lwsi_role_client(wsi) ? in rops_handle_POLLIN_raw_proxy()
191 if (lwsi_role_client(wsi)) in rops_handle_POLLOUT_raw_proxy()
/third_party/libwebsockets/lib/roles/ws/
Dclient-ws.c77 !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()
Dops-ws.c1064 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()
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c60 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()
/third_party/libwebsockets/lib/roles/h2/
Dops-h2.c225 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()
/third_party/libwebsockets/lib/core-net/
Dclose.c643 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()
Dservice.c192 if (lwsi_role_client(wsi) && !wsi->hdr_parsing_completed && in lws_handle_POLLOUT_event()
/third_party/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()
/third_party/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)`
/third_party/libwebsockets/lib/roles/mqtt/
Dmqtt.c765 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()
Dops-mqtt.c109 if (!(lwsi_role_client(wsi) && lwsi_state(wsi) != LRS_ESTABLISHED)) { in rops_handle_POLLIN_mqtt()
/third_party/libwebsockets/lib/core-net/client/
Dconnect3.c652 if (lwsi_role_client(wsi) && wsi->a.protocol
/third_party/libwebsockets/lib/roles/http/
Dparsers.c290 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()