Home
last modified time | relevance | path

Searched refs:new_wsi (Results 1 – 5 of 5) sorted by relevance

/third_party/libwebsockets/lib/core-net/
Dadopt.c50 struct lws *new_wsi; in lws_create_new_server_wsi() local
62 new_wsi = __lws_wsi_create_with_role(vhost->context, n, NULL, in lws_create_new_server_wsi()
65 if (new_wsi == NULL) { in lws_create_new_server_wsi()
70 lws_wsi_fault_timedclose(new_wsi); in lws_create_new_server_wsi()
76 LWSLCG_WSI_SERVER], &new_wsi->lc, desc); in lws_create_new_server_wsi()
78 new_wsi->wsistate |= LWSIFR_SERVER; in lws_create_new_server_wsi()
79 new_wsi->tsi = (char)n; in lws_create_new_server_wsi()
80 lwsl_wsi_debug(new_wsi, "joining vh %s, tsi %d", in lws_create_new_server_wsi()
81 vhost->name, new_wsi->tsi); in lws_create_new_server_wsi()
83 lws_vhost_bind_wsi(vhost, new_wsi); in lws_create_new_server_wsi()
[all …]
Dprivate-lib-core-net.h1320 lws_adopt_ss_server_accept(struct lws *new_wsi);
/third_party/libwebsockets/lib/plat/windows/
Dwindows-spawn.c69 struct lws *new_wsi; in lws_create_basic_wsi() local
81 new_wsi = __lws_wsi_create_with_role(context, tsi, ops, NULL); in lws_create_basic_wsi()
83 if (new_wsi == NULL) { in lws_create_basic_wsi()
88 new_wsi->rxflow_change_to = LWS_RXFLOW_ALLOW; in lws_create_basic_wsi()
92 lws_role_transition(new_wsi, 0, LRS_ESTABLISHED, ops); in lws_create_basic_wsi()
94 new_wsi->hdr_parsing_completed = 0; in lws_create_basic_wsi()
95 new_wsi->position_in_fds_table = LWS_NO_FDS_POS; in lws_create_basic_wsi()
104 new_wsi->user_space = NULL; in lws_create_basic_wsi()
105 new_wsi->desc.sockfd = LWS_SOCK_INVALID; in lws_create_basic_wsi()
107 return new_wsi; in lws_create_basic_wsi()
/third_party/libwebsockets/lib/plat/unix/
Dunix-spawn.c75 struct lws *new_wsi; in lws_create_stdwsi() local
86 new_wsi = __lws_wsi_create_with_role(context, tsi, ops, NULL); in lws_create_stdwsi()
88 if (new_wsi == NULL) { in lws_create_stdwsi()
93 new_wsi->rxflow_change_to = LWS_RXFLOW_ALLOW; in lws_create_stdwsi()
97 lws_role_transition(new_wsi, 0, LRS_ESTABLISHED, ops); in lws_create_stdwsi()
99 new_wsi->hdr_parsing_completed = 0; in lws_create_stdwsi()
108 new_wsi->user_space = NULL; in lws_create_stdwsi()
110 return new_wsi; in lws_create_stdwsi()
/third_party/libwebsockets/lib/tls/
Dprivate-network.h103 lws_server_socket_service_ssl(struct lws *new_wsi, lws_sockfd_type accept_fd,