Searched refs:wsistate (Results 1 – 18 of 18) sorted by relevance
/third_party/libwebsockets/lib/roles/ |
D | private-lib-roles.h | 67 #define lwsi_role(wsi) (wsi->wsistate & (unsigned int)LWSI_ROLE_MASK) 69 #define lwsi_set_role(wsi, role) wsi->wsistate = \ 70 (wsi->wsistate & (~LWSI_ROLE_MASK)) | role 75 #define lwsi_role_client(wsi) (!!(wsi->wsistate & LWSIFR_CLIENT)) 76 #define lwsi_role_server(wsi) (!!(wsi->wsistate & LWSIFR_SERVER)) 78 ((wsi->wsistate & LWSI_ROLE_ENCAP_MASK) == LWSIFR_P_ENCAP_H2) 156 #define lwsi_state(wsi) ((enum lwsi_state)(wsi->wsistate & LRS_MASK)) 159 #define lwsi_state_est(wsi) (!(wsi->wsistate & LWSIFS_NOT_EST)) 162 #define lwsi_state_can_handle_POLLOUT(wsi) (wsi->wsistate & LWSIFS_POCB) 164 #define lwsi_set_state(wsi, lrs) wsi->wsistate = \ [all …]
|
D | README.md | 147 - the wsi holds a generic uint32 `wsistate` that contains role flags and wsi state
|
/third_party/libwebsockets/lib/core-net/ |
D | wsi.c | 38 wsi->wsistate = (wsi->wsistate & (~LWSI_ROLE_MASK)) | role; in lwsi_set_role() 40 lwsl_wsi_debug(wsi, "state 0x%lx", (unsigned long)wsi->wsistate); in lwsi_set_role() 45 lws_wsi_state_t old = wsi->wsistate; in lwsi_set_state() 47 wsi->wsistate = (old & (unsigned int)(~LRS_MASK)) | lrs; in lwsi_set_state() 50 (unsigned long)old, (unsigned long)wsi->wsistate); in lwsi_set_state() 666 wsi->wsistate = (unsigned int)role | (unsigned int)state; in lws_role_transition() 673 (unsigned long)wsi->wsistate, name); in lws_role_transition()
|
D | service.c | 215 (unsigned long)wsi->wsistate, wsi->role_ops->name); in lws_handle_POLLOUT_event() 541 (unsigned long)wsi->wsistate); in lws_service_do_ripe_rxflow()
|
D | adopt.c | 78 new_wsi->wsistate |= LWSIFR_SERVER; in lws_create_new_server_wsi() 389 new_wsi->wsistate |= LWSIFR_SERVER; in lws_adopt_descriptor_vhost2()
|
D | close.c | 431 wsi->wsistate_pre_close = wsi->wsistate; in __lws_close_free_wsi()
|
D | private-lib-core-net.h | 742 lws_wsi_state_t wsistate; member
|
D | vhost.c | 1882 (unsigned long)w->wsistate);
|
/third_party/libwebsockets/lib/roles/mqtt/ |
D | ops-mqtt.c | 37 (unsigned int)wsi->wsistate, wsi->a.protocol->name, in rops_handle_POLLIN_mqtt() 384 lws_wsi_tag(w), (unsigned int)w->wsistate); in rops_handle_POLLOUT_mqtt() 511 (unsigned int)wsi->wsistate); in rops_callback_on_writable_mqtt()
|
/third_party/libwebsockets/lib/roles/h2/ |
D | ops-h2.c | 117 wsi->lc.gutag, (unsigned int)wsi->wsistate, in rops_handle_POLLIN_h2() 122 if (wsi->wsistate == 0x10000013) { in rops_handle_POLLIN_h2() 434 (unsigned int)wsi->wsistate, *wp, wsi->a.protocol ? in rops_write_role_protocol_h2() 864 (int)wsi->wsistate, wsi->a.protocol->name); in lws_h2_bind_for_post_before_action() 968 (unsigned int)w->wsistate); in rops_perform_user_POLLOUT_h2()
|
D | http2.c | 1802 (unsigned int)h2n->swsi->wsistate); in lws_h2_parse_end_of_frame()
|
/third_party/libwebsockets/lib/roles/cgi/ |
D | ops-cgi.c | 72 wsi->parent, wsi->wsistate); in rops_handle_POLLIN_cgi()
|
/third_party/libwebsockets/lib/roles/raw-skt/ |
D | ops-raw-skt.c | 58 lwsl_wsi_debug(wsi, "wsistate 0x%x\n", (int)wsi->wsistate); in rops_handle_POLLIN_raw_skt()
|
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-ping/ |
D | README.md | 89 …] I: lws_client_socket_service: HANDSHAKE2: 0x5669090: sending headers (wsistate 0x10000204), w so…
|
/third_party/libwebsockets/lib/roles/h1/ |
D | ops-h1.c | 635 (unsigned int)wsi->wsistate); in rops_handle_POLLIN_h1()
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | server.c | 2020 lws_wsi_tag(wsi), (int)wsi->wsistate); in lws_http_action() 2628 lws_wsi_tag(wsi), (int)wsi->wsistate, wsi->buflist); in lws_http_transaction_completed() 2706 __func__, lws_wsi_tag(wsi), (int)wsi->wsistate); in lws_http_transaction_completed()
|
/third_party/libwebsockets/lib/roles/http/client/ |
D | client-http.c | 281 (unsigned long)wsi->wsistate, wsi->desc.sockfd); in lws_http_client_socket_service()
|
/third_party/libwebsockets/lib/roles/http/ |
D | parsers.c | 384 (unsigned long)wsi->wsistate); in __lws_header_table_detach()
|