Home
last modified time | relevance | path

Searched refs:parent_wsi (Results 1 – 16 of 16) sorted by relevance

/third_party/libwebsockets/lib/core-net/
Dwsi.c144 while (wsi->mux.parent_wsi) in lws_get_network_wsi()
145 wsi = wsi->mux.parent_wsi; in lws_get_network_wsi()
1366 lws_wsi_mux_insert(struct lws *wsi, struct lws *parent_wsi, unsigned int sid) in lws_wsi_mux_insert() argument
1369 lws_wsi_tag(parent_wsi), sid, wsi->mux.my_sid); in lws_wsi_mux_insert()
1375 wsi->mux.parent_wsi = parent_wsi; in lws_wsi_mux_insert()
1376 wsi->role_ops = parent_wsi->role_ops; in lws_wsi_mux_insert()
1379 wsi->mux.sibling_list = parent_wsi->mux.child_list; in lws_wsi_mux_insert()
1382 parent_wsi->mux.child_list = wsi; in lws_wsi_mux_insert()
1384 parent_wsi->mux.child_count++; in lws_wsi_mux_insert()
1388 lws_wsi_mux_from_id(struct lws *parent_wsi, unsigned int sid) in lws_wsi_mux_from_id() argument
[all …]
Dadopt.c795 struct lws *parent_wsi, void *opaque, in lws_create_adopt_udp() argument
810 protocol_name, parent_wsi, opaque, in lws_create_adopt_udp()
Dclose.c929 if (wsi->mux.parent_wsi) { in __lws_close_free_wsi_final()
931 wsi->mux.parent_wsi = NULL; in __lws_close_free_wsi_final()
Dprivate-lib-core-net.h37 struct lws *parent_wsi; member
552 lws_wsi_mux_insert(struct lws *wsi, struct lws *parent_wsi, unsigned int sid);
Dvhost.c1764 if (wsi->mux.parent_wsi) {
1769 *nwsi = wsi->mux.parent_wsi;
/third_party/libwebsockets/lib/core-net/client/
Dconnect.c418 if (i->parent_wsi) { in lws_client_connect_via_info()
420 lws_wsi_tag(i->parent_wsi)); in lws_client_connect_via_info()
421 wsi->parent = i->parent_wsi; in lws_client_connect_via_info()
422 safe = wsi->sibling_list = i->parent_wsi->child_list; in lws_client_connect_via_info()
423 i->parent_wsi->child_list = wsi; in lws_client_connect_via_info()
436 if (n && i->parent_wsi) in lws_client_connect_via_info()
438 i->parent_wsi->child_list = safe; in lws_client_connect_via_info()
/third_party/libwebsockets/lib/roles/h2/
Dhttp2.c216 __lws_wsi_server_new(struct lws_vhost *vh, struct lws *parent_wsi, in __lws_wsi_server_new() argument
219 struct lws *nwsi = lws_get_network_wsi(parent_wsi); in __lws_wsi_server_new()
245 if (parent_wsi->mux.child_count + 1 > in __lws_wsi_server_new()
246 parent_wsi->h2.h2n->our_set.s[H2SET_MAX_CONCURRENT_STREAMS]) { in __lws_wsi_server_new()
252 p = &parent_wsi->lc.gutag[1]; in __lws_wsi_server_new()
263 wsi = lws_create_new_server_wsi(vh, parent_wsi->tsi, tmp); in __lws_wsi_server_new()
270 if (lwsi_role_server(parent_wsi)) { in __lws_wsi_server_new()
277 lws_wsi_mux_insert(wsi, parent_wsi, sid); in __lws_wsi_server_new()
289 lwsi_set_role(wsi, lwsi_role(parent_wsi)); in __lws_wsi_server_new()
304 lws_wsi_tag(parent_wsi), lws_wsi_tag(wsi), sid, wsi->user_space); in __lws_wsi_server_new()
[all …]
Dprivate-lib-roles-h2.h321 #define HTTP2_IS_TOPLEVEL_WSI(wsi) (!wsi->mux.parent_wsi)
378 lws_wsi_h2_adopt(struct lws *parent_wsi, struct lws *wsi);
Dops-h2.c701 lwsl_info(" %s, his parent %s: siblings:\n", lws_wsi_tag(wsi), lws_wsi_tag(wsi->mux.parent_wsi)); in rops_close_kill_connection_h2()
710 lws_wsi_tag(wsi->mux.parent_wsi)); in rops_close_kill_connection_h2()
736 wsi->mux.parent_wsi) { in rops_close_kill_connection_h2()
1265 if (wsi->mux.parent_wsi) in rops_encapsulation_parent_h2()
1266 return wsi->mux.parent_wsi; in rops_encapsulation_parent_h2()
/third_party/libwebsockets/lib/roles/mqtt/
Dops-mqtt.c563 lws_wsi_tag(wsi->mux.parent_wsi), wsi->mux.child_list); in rops_close_kill_connection_mqtt()
573 lws_wsi_tag(wsi->mux.parent_wsi), in rops_close_kill_connection_mqtt()
589 wsi->mux.parent_wsi) { in rops_close_kill_connection_mqtt()
Dmqtt.c2442 lws_wsi_mqtt_adopt(struct lws *parent_wsi, struct lws *wsi) in lws_wsi_mqtt_adopt() argument
2446 if (parent_wsi->mux.child_count + 1 > LWS_MQTT_MAX_CHILDREN) { in lws_wsi_mqtt_adopt()
2455 lws_wsi_mux_insert(wsi, parent_wsi, wsi->mux.my_sid); in lws_wsi_mqtt_adopt()
2467 parent_wsi->mux.child_list = wsi->mux.sibling_list; in lws_wsi_mqtt_adopt()
2468 parent_wsi->mux.child_count--; in lws_wsi_mqtt_adopt()
Dprivate-lib-roles-mqtt.h435 lws_wsi_mqtt_adopt(struct lws *parent_wsi, struct lws *wsi);
/third_party/libwebsockets/include/libwebsockets/
Dlws-client.h136 struct lws *parent_wsi; member
Dlws-adopt.h265 struct lws *parent_wsi, void *opaque,
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c1441 i.parent_wsi = wsi; in lws_http_proxy_start()
/third_party/libwebsockets/READMEs/
DREADME.coding.md809 const char *protocol_name, struct lws *parent_wsi);