Home
last modified time | relevance | path

Searched refs:user_space (Results 1 – 25 of 36) sorted by relevance

12

/third_party/libwebsockets/lib/core-net/
Dpollfd.c163 wsi->user_space, (void *)pa, 0)) { in _lws_change_pollfd()
312 wsi->user_space, (void *) &pa, 1)) in __insert_wsi_socket_into_fds()
334 wsi->user_space, (void *) &pa, 0)) in __insert_wsi_socket_into_fds()
346 wsi->user_space, (void *)&pa, 1)) in __insert_wsi_socket_into_fds()
385 wsi->user_space, (void *)&pa, 1)) in __remove_wsi_socket_from_fds()
447 wsi->user_space, in __remove_wsi_socket_from_fds()
463 wsi->user_space, (void *) &pa, 1)) in __remove_wsi_socket_from_fds()
490 wsi->user_space, (void *) &pa, 0)) in __lws_change_pollfd()
499 wsi->user_space, (void *) &pa, 0)) in __lws_change_pollfd()
Dclose.c98 wsi->user_space && !wsi->user_space_externally_allocated) { in __lws_reset_wsi()
100 lws_sul_debug_zombies(wsi->a.context, wsi->user_space, in __lws_reset_wsi()
102 lws_free_set_NULL(wsi->user_space); in __lws_reset_wsi()
290 wsi->parent->user_space, wsi, 0); in lws_remove_child_from_any_parent()
321 wsi->user_space, arg, len); in lws_inform_client_conn_fail()
426 wsi->user_space, NULL, 0); in __lws_close_free_wsi()
529 if (!wsi->told_user_closed && wsi->user_space && wsi->a.protocol && in __lws_close_free_wsi()
534 wsi->user_space, (void *)__func__, 0); in __lws_close_free_wsi()
599 if (!wsi->told_user_closed && wsi->user_space && in __lws_close_free_wsi()
607 wsi->user_space, (void *)__func__, 0); in __lws_close_free_wsi()
[all …]
Dwsi.c180 wsi->user_space, NULL, 0); in lws_callback_all_protocol()
222 wsi->user_space, argp, len); in lws_callback_all_protocol_vhost_args()
574 if (wsi->a.protocol->per_session_data_size && !wsi->user_space) { in lws_ensure_user_space()
575 wsi->user_space = lws_zalloc( in lws_ensure_user_space()
577 if (wsi->user_space == NULL) { in lws_ensure_user_space()
584 wsi->user_space); in lws_ensure_user_space()
597 return wsi->user_space; in lws_adjust_protocol_psds()
883 return wsi->user_space; in lws_wsi_user()
896 if (!wsi->user_space_externally_allocated && wsi->user_space) in lws_set_wsi_user()
897 lws_free(wsi->user_space); in lws_set_wsi_user()
[all …]
Dadopt.c103 new_wsi->user_space = NULL; in lws_create_new_server_wsi()
217 if (new_wsi->user_space) in __lws_adopt_descriptor_vhost1()
218 lws_free(new_wsi->user_space); in __lws_adopt_descriptor_vhost1()
434 if ((new_wsi->a.protocol->callback)(new_wsi, (enum lws_callback_reasons)n, new_wsi->user_space, in lws_adopt_descriptor_vhost2()
Dwsi-timeout.c49 wsi->user_space, NULL, 0)) in lws_sul_hrtimer_cb()
/third_party/libwebsockets/lib/roles/mqtt/
Dmqtt.c263 wsi->user_space, NULL, 0) < 0) { in lws_mqtt_set_client_established()
1272 if (w->user_space && in _lws_mqtt_rx_parser()
1274 lws_free_set_NULL(w->user_space); in _lws_mqtt_rx_parser()
1275 w->user_space = wsi->user_space; in _lws_mqtt_rx_parser()
1276 wsi->user_space = NULL; in _lws_mqtt_rx_parser()
1313 if (w->user_space) in _lws_mqtt_rx_parser()
1314 lws_free_set_NULL(w->user_space); in _lws_mqtt_rx_parser()
1342 w->user_space, NULL, 0) < 0) { in _lws_mqtt_rx_parser()
1429 w->user_space, NULL, 0) < 0) { in _lws_mqtt_rx_parser()
1495 w->user_space, NULL, 0) < 0) { in _lws_mqtt_rx_parser()
[all …]
/third_party/libwebsockets/lib/roles/raw-skt/
Dops-raw-skt.c151 wsi->user_space, ebuf.token, in rops_handle_POLLIN_raw_skt()
196 wsi->user_space, NULL, 0); in rops_handle_POLLIN_raw_skt()
258 if (!wsi->user_space && wsi->stash->cis[CIS_METHOD]) in rops_client_bind_raw_skt()
/third_party/libwebsockets/lib/core-net/client/
Dconnect.c284 wsi->user_space = NULL; in lws_client_connect_via_info()
307 wsi->user_space = i->userdata; in lws_client_connect_via_info()
329 if (!wsi->user_space && i->userdata) { in lws_client_connect_via_info()
331 wsi->user_space = i->userdata; in lws_client_connect_via_info()
470 wsi->user_space, NULL, 0); in lws_client_connect_via_info()
Dconnect3.c481 LWS_CALLBACK_CONNECTING, wsi->user_space,
640 wsi->user_space, NULL, 0);
Dconnect4.c247 wsi->user_space, NULL, 0); in lws_client_connect_4_established()
Dconnect2.c213 wsi->user_space, NULL, 0))
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c159 wsi->user_space, in lws_read_h1()
168 LWS_CALLBACK_HTTP_BODY, wsi->user_space, in lws_read_h1()
240 wsi->user_space, NULL, 0); in lws_read_h1()
527 wsi->user_space, NULL, 0); in lws_h1_server_socket_service()
680 wsi->user_space, NULL, 0)) { in rops_handle_POLLIN_h1()
986 if (!wsi->user_space && wsi->stash->cis[CIS_METHOD]) in rops_client_bind_h1()
1078 wsi->user_space, NULL, 0)) in rops_close_kill_connection_h1()
/third_party/libwebsockets/lib/roles/ws/
Dserver-ws.c140 wsi->user_space, ext_name, 0); in lws_extension_server_handshake()
357 wsi->user_space, in lws_process_ws_upgrade2()
750 wsi->user_space, &args, 0)) in handshake_0405()
786 wsi->user_space, (void *)hit->cgienv, 0)) in handshake_0405()
924 wsi->user_space, NULL, 0)) in lws_ws_frame_rest_is_payload()
972 wsi->user_space, in lws_ws_frame_rest_is_payload()
Dclient-ws.c186 wsi->user_space, (char *)ext->name, 0); in lws_generate_client_ws_handshake()
617 wsi->user_space, NULL, 0)) { in lws_client_ws_upgrade()
656 wsi->user_space, NULL, 0)) { in lws_client_ws_upgrade()
Dclient-parser-ws.c420 wsi->user_space, pp, in lws_ws_client_rx_sm()
647 wsi->user_space, pmdrx.eb_out.token, in lws_ws_client_rx_sm()
Dops-ws.c500 wsi->user_space, in lws_ws_rx_sm()
718 wsi->user_space, in lws_ws_rx_sm()
853 wsi->user_space, in lws_server_init_wsi_for_ws()
/third_party/libwebsockets/lib/roles/raw-proxy/
Dops-raw-proxy.c90 wsi->user_space, ebuf.token, in rops_handle_POLLIN_raw_proxy()
169 if (!wsi->user_space && wsi->stash->cis[CIS_METHOD]) in rops_client_bind_raw_proxy()
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c515 wsi->user_space, NULL, 0)) { in lws_http_transaction_completed_client()
734 wsi->user_space, p, (unsigned int)n)) { in lws_client_interpret_server_handshake()
890 ww->user_space = NULL; in lws_client_interpret_server_handshake()
949 wsi->user_space, NULL, 0)) { in lws_client_interpret_server_handshake()
971 wsi->user_space, NULL, 0)) { in lws_client_interpret_server_handshake()
985 wsi->user_space, NULL, 0)) { in lws_client_interpret_server_handshake()
1163 wsi->user_space, NULL, 0)) in lws_generate_client_handshake()
1274 wsi->user_space, &p, in lws_generate_client_handshake()
1512 wsi->user_space, *buf, (unsigned int)n); in lws_http_client_read()
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c917 wsi->user_space, &args, 0)) in lws_http_serve()
1211 wsi->user_space, plain, (unsigned int)m); in lws_check_basic_auth()
1700 wsi->user_space, uri_ptr, (unsigned int)uri_len); in lws_http_action()
1786 wsi->user_space, uri_ptr, (unsigned int)uri_len); in lws_http_action()
1868 wsi->user_space, &args, 0); in lws_http_action()
1879 wsi->user_space, (void *)hit->cgienv, 0)) in lws_http_action()
1884 wsi->user_space, in lws_http_action()
1956 wsi->user_space, in lws_http_action()
1961 wsi->user_space, uri_ptr, (size_t)uri_len); in lws_http_action()
2005 wsi->user_space, NULL, 0)) in lws_http_action()
[all …]
/third_party/libwebsockets/lib/roles/h2/
Dhttp2.c304 lws_wsi_tag(parent_wsi), lws_wsi_tag(wsi), sid, wsi->user_space); in __lws_wsi_server_new()
316 if (wsi->user_space) in __lws_wsi_server_new()
317 lws_free_set_NULL(wsi->user_space); in __lws_wsi_server_new()
379 if (wsi->user_space) in lws_wsi_h2_adopt()
380 lws_free_set_NULL(wsi->user_space); in lws_wsi_h2_adopt()
1532 if (h2n->swsi->user_space && in lws_h2_parse_end_of_frame()
1534 lws_free(h2n->swsi->user_space); in lws_h2_parse_end_of_frame()
1535 h2n->swsi->user_space = wsi->user_space; in lws_h2_parse_end_of_frame()
1548 wsi->user_space = NULL; in lws_h2_parse_end_of_frame()
2244 h2n->swsi->user_space, in lws_h2_parser()
[all …]
Dops-h2.c281 wsi->user_space, NULL, 0)) { in rops_handle_POLLIN_h2()
689 wsi->user_space, NULL, 0)) in rops_close_kill_connection_h2()
855 wsi->user_space, in lws_h2_bind_for_post_before_action()
883 wsi->user_space, buffered, blen)) in lws_h2_bind_for_post_before_action()
902 wsi->user_space, NULL, 0)) in lws_h2_bind_for_post_before_action()
/third_party/libwebsockets/lib/roles/raw-file/
Dops-raw-file.c46 wsi->user_space, NULL, 0)) { in rops_handle_POLLIN_raw_file()
/third_party/libwebsockets/lib/roles/cgi/
Dops-cgi.c76 wsi->parent->user_space, in rops_handle_POLLIN_cgi()
/third_party/libwebsockets/lib/tls/mbedtls/
Dmbedtls-ssl.c244 wsi->user_space, &si, 0)) in lws_ssl_info_callback()
/third_party/libwebsockets/lib/system/dhcpclient/
Ddhcpc4.c318 r->wsi_raw->user_space = r; in lws_dhcpc4_retry_conn()

12