/external/libwebsockets/lib/core-net/ |
D | close.c | 132 if (wsi->role_ops->destroy_role) in __lws_reset_wsi() 133 wsi->role_ops->destroy_role(wsi); in __lws_reset_wsi() 285 if (wsi->role_ops == &role_ops_raw_file) { in __lws_close_free_wsi() 289 wsi->protocol->callback(wsi, wsi->role_ops->close_cb[0], in __lws_close_free_wsi() 298 if (wsi->role_ops == &role_ops_cgi) { in __lws_close_free_wsi() 326 if (wsi->role_ops == &role_ops_raw_skt) { in __lws_close_free_wsi() 390 wsi->role_ops->protocol_unbind_cb[ in __lws_close_free_wsi() 408 if (wsi->role_ops->close_via_role_protocol && in __lws_close_free_wsi() 409 wsi->role_ops->close_via_role_protocol(wsi, reason)) in __lws_close_free_wsi() 433 if (wsi->role_ops->close_kill_connection) in __lws_close_free_wsi() [all …]
|
D | connect.c | 136 lwsl_info("%s: role binding to %s\n", __func__, wsi->role_ops->name); in lws_client_connect_via_info() 179 __func__, wsi, wsi->role_ops->name, in lws_client_connect_via_info() 272 if (wsi->role_ops->client_bind) { in lws_client_connect_via_info() 273 int n = wsi->role_ops->client_bind(wsi, NULL); in lws_client_connect_via_info() 299 if (wsi->role_ops != &role_ops_raw_skt || in lws_client_connect_via_info() 303 wsi, wsi->role_ops->adoption_cb[0], in lws_client_connect_via_info() 304 wsi->role_ops->name, wsi->protocol->name); in lws_client_connect_via_info() 306 wsi->protocol->callback(wsi, wsi->role_ops->adoption_cb[0], in lws_client_connect_via_info()
|
D | service.c | 55 n = wsi->role_ops->writeable_cb[lwsi_role_server(wsi)]; in lws_callback_as_writeable() 117 if (wsi->role_ops->write_role_protocol(wsi, NULL, 0, &wp) < 0) { in lws_handle_POLLOUT_event() 144 assert(wsi->role_ops); in lws_handle_POLLOUT_event() 146 if (!wsi->role_ops->handle_POLLOUT) in lws_handle_POLLOUT_event() 149 n = wsi->role_ops->handle_POLLOUT(wsi); in lws_handle_POLLOUT_event() 205 if (wsi->role_ops->perform_user_POLLOUT) { in lws_handle_POLLOUT_event() 206 if (wsi->role_ops->perform_user_POLLOUT(wsi) == -1) in lws_handle_POLLOUT_event() 213 (unsigned long)wsi->wsistate, wsi->role_ops->name); in lws_handle_POLLOUT_event() 526 if ((wsi->role_ops->handle_POLLIN)(pt, wsi, &pfd) == in lws_service_do_ripe_rxflow() 698 assert(wsi->role_ops); in lws_service_fd_tsi() [all …]
|
D | wsi.c | 56 vh->name, wsi->role_ops ? wsi->role_ops->name : "none", in lws_vhost_bind_wsi() 439 if (!wsi->role_ops->tx_credit) in lws_get_peer_write_allowance() 441 return wsi->role_ops->tx_credit(wsi, LWSTXCR_US_TO_PEER, 0); in lws_get_peer_write_allowance() 453 wsi->role_ops = ops; in lws_role_transition() 455 if (wsi->role_ops) in lws_role_transition() 456 name = wsi->role_ops->name; in lws_role_transition() 932 wsi->role_ops->protocol_unbind_cb[!!lwsi_role_server(wsi)], in lws_bind_protocol() 969 if (wsi->protocol->callback(wsi, wsi->role_ops->protocol_bind_cb[ in lws_bind_protocol() 1071 wsi->role_ops = parent_wsi->role_ops; in lws_wsi_mux_insert() 1103 (*w)->role_ops ? (*w)->role_ops->name : "?", *w); in lws_wsi_mux_dump_children() [all …]
|
D | wsi-timeout.c | 299 if (wsi->role_ops && wsi->role_ops->issue_keepalive) in lws_validity_cb() 300 wsi->role_ops->issue_keepalive(wsi, 0); in lws_validity_cb() 357 wsi->role_ops && wsi->role_ops->issue_keepalive) in lws_validity_confirmed() 358 wsi->role_ops->issue_keepalive(wsi, 1); in lws_validity_confirmed()
|
D | output.c | 51 wsi->protocol->name, wsi->role_ops->name, in lws_issue_raw() 258 assert(wsi->role_ops); in lws_write() 259 if (!wsi->role_ops->write_role_protocol) in lws_write() 262 m = wsi->role_ops->write_role_protocol(wsi, buf, len, &wp); in lws_write() 368 if (wsi->role_ops->file_handle) in lws_ssl_capable_write_no_ssl()
|
D | adopt.c | 236 if (new_wsi->role_ops->adoption_cb[lwsi_role_server(new_wsi)]) in lws_adopt_descriptor_vhost2() 237 n = new_wsi->role_ops->adoption_cb[lwsi_role_server(new_wsi)]; in lws_adopt_descriptor_vhost2()
|
D | pollfd.c | 533 if (wsi->role_ops->callback_on_writable) { in lws_callback_on_writable() 534 int q = wsi->role_ops->callback_on_writable(wsi); in lws_callback_on_writable()
|
D | vhost.c | 170 wsi->role_ops->name); in lws_role_call_adoption_bind() 1467 (w->role_ops == wsi->role_ops ||
|
/external/libwebsockets/lib/roles/h1/ |
D | private-lib-roles-h1.h | 30 #define lwsi_role_h1(wsi) (wsi->role_ops == &role_ops_h1)
|
D | ops-h1.c | 83 if (wsi->role_ops == &role_ops_raw_skt in lws_read_h1() 86 wsi->role_ops == &role_ops_raw_file in lws_read_h1() 611 if (wsi->role_ops->write_role_protocol(wsi, NULL, 0, &wp) < 0) { in rops_handle_POLLIN_h1()
|
/external/libwebsockets/lib/roles/raw-proxy/ |
D | private-lib-roles-raw-proxy.h | 29 #define lwsi_role_raw_proxy(wsi) (wsi->role_ops == &role_ops_raw_proxy)
|
/external/libwebsockets/lib/roles/dbus/ |
D | private-lib-roles-dbus.h | 31 #define lwsi_role_dbus(wsi) (wsi->role_ops == &role_ops_dbus)
|
/external/libwebsockets/lib/roles/cgi/ |
D | private-lib-roles-cgi.h | 37 #define lwsi_role_cgi(wsi) (wsi->role_ops == &role_ops_cgi)
|
D | ops-cgi.c | 33 assert(wsi->role_ops == &role_ops_cgi); in rops_handle_POLLIN_cgi()
|
/external/libwebsockets/lib/roles/http/client/ |
D | client-handshake.c | 194 __func__, wsi, wsi->role_ops->name, in lws_client_connect_4_established() 244 m = wsi->role_ops->adoption_cb[0]; in lws_client_connect_4_established() 1146 if (wsi->role_ops && wsi->role_ops->close_kill_connection) 1147 wsi->role_ops->close_kill_connection(wsi, 1); 1167 if (wsi->protocol && wsi->role_ops && wsi->protocol_bind_balance) { 1169 wsi->role_ops->protocol_unbind_cb[
|
/external/libwebsockets/lib/event-libs/libev/ |
D | libev.c | 264 if (wsi->role_ops->file_handle) in elops_accept_ev() 357 if (wsi->role_ops->file_handle) in elops_init_vhost_listen_wsi_ev()
|
/external/libwebsockets/lib/roles/ws/ |
D | ops-ws.c | 1320 wsi->role_ops->name, wsi->protocol->name, in rops_handle_POLLOUT_ws() 1369 if (wsi->role_ops == &role_ops_raw_skt in rops_handle_POLLOUT_ws() 1371 || wsi->role_ops == &role_ops_raw_file in rops_handle_POLLOUT_ws() 1841 return encap->role_ops->write_role_protocol(wsi, buf - pre, in rops_write_role_protocol_ws() 1927 if (enc->role_ops->callback_on_writable(wsi)) in rops_callback_on_writable_ws() 2024 if (enc->role_ops->issue_keepalive(enc, isvalid)) in rops_issue_keepalive_ws()
|
D | private-lib-roles-ws.h | 29 #define lwsi_role_ws(wsi) (wsi->role_ops == &role_ops_ws)
|
/external/libwebsockets/lib/roles/http/server/ |
D | server.c | 1404 if (wsi->role_ops && wsi->role_ops->check_upgrades) in lws_http_action() 1405 switch (wsi->role_ops->check_upgrades(wsi)) { in lws_http_action() 1906 if (wsi->role_ops->adoption_cb[1]) in lws_http_to_fallback() 1907 n = wsi->role_ops->adoption_cb[1]; in lws_http_to_fallback() 1922 if (wsi->role_ops->rx_cb[lwsi_role_server(wsi)]) in lws_http_to_fallback() 1923 n = wsi->role_ops->rx_cb[lwsi_role_server(wsi)]; in lws_http_to_fallback() 2801 if (wsi->role_ops->write_role_protocol(wsi, NULL, 0, &wp) < 0) { in lws_serve_http_file_fragment() 2867 if (wsi->role_ops->tx_credit) { in lws_serve_http_file_fragment() 2869 wsi->role_ops->tx_credit(wsi, LWSTXCR_US_TO_PEER, 0); in lws_serve_http_file_fragment()
|
/external/libwebsockets/lib/event-libs/libevent/ |
D | libevent.c | 251 if (wsi->role_ops->file_handle) in elops_accept_event() 381 if (wsi->role_ops->file_handle) in elops_init_vhost_listen_wsi_event()
|
/external/libwebsockets/lib/roles/mqtt/ |
D | private-lib-roles-mqtt.h | 32 #define lwsi_role_mqtt(wsi) (wsi->role_ops == &role_ops_mqtt)
|
/external/libwebsockets/lib/roles/h2/ |
D | private-lib-roles-h2.h | 26 #define lwsi_role_h2(wsi) (wsi->role_ops == &role_ops_h2)
|
/external/libwebsockets/lib/event-libs/libuv/ |
D | libuv.c | 623 if (wsi->role_ops->file_handle) in elops_accept_uv() 873 if (wsi->role_ops == &role_ops_listen && wsi->context->deprecated) { in lws_libuv_closewsi()
|
/external/libwebsockets/lib/abstract/transports/ |
D | raw-skt.c | 208 priv, priv->wsi, priv->wsi->role_ops); in lws_atcrs_tx()
|