/third_party/libwebsockets/lib/core-net/ |
D | socks5-client.c | 107 uint8_t *p = pt->serv_buf, *end = &p[context->pt_serv_buf_size]; in lws_socks5c_generate_msg() 188 *msg_len = lws_ptr_diff(p, pt->serv_buf); in lws_socks5c_generate_msg() 238 n = (int)send(wsi->desc.sockfd, (char *)pt->serv_buf, (size_t)plen, in lws_socks5c_greet() 271 n = (int)recv(wsi->desc.sockfd, (void *)pt->serv_buf, in lws_socks5c_handle_state() 288 if (pt->serv_buf[0] != SOCKS_VERSION_5) in lws_socks5c_handle_state() 291 if (pt->serv_buf[1] == SOCKS_AUTH_NO_AUTH) { in lws_socks5c_handle_state() 304 if (pt->serv_buf[1] == SOCKS_AUTH_USERNAME_PASSWORD) { in lws_socks5c_handle_state() 318 if (pt->serv_buf[0] != SOCKS_SUBNEGOTIATION_VERSION_1 || in lws_socks5c_handle_state() 319 pt->serv_buf[1] != in lws_socks5c_handle_state() 334 n = (int)send(wsi->desc.sockfd, (char *)pt->serv_buf, in lws_socks5c_handle_state() [all …]
|
D | service.c | 395 ebuf->token = pt->serv_buf + LWS_PRE; in lws_buflist_aware_read()
|
D | private-lib-core-net.h | 338 unsigned char *serv_buf; member
|
/third_party/libwebsockets/lib/roles/ws/ |
D | server-ws.c | 56 if (lws_hdr_copy(wsi, (char *)pt->serv_buf, (int)context->pt_serv_buf_size, in lws_extension_server_handshake() 60 c = (char *)pt->serv_buf; in lws_extension_server_handshake() 81 if (c >= (char *)pt->serv_buf + 255) in lws_extension_server_handshake() 664 n = sprintf((char *)pt->serv_buf, in handshake_0405() 668 lws_SHA1(pt->serv_buf, (unsigned int)n, hash); in handshake_0405() 671 (char *)pt->serv_buf, (int)context->pt_serv_buf_size); in handshake_0405() 685 response = (char *)pt->serv_buf + MAX_WEBSOCKET_04_KEY_LEN + in handshake_0405() 692 strcpy(p, (char *)pt->serv_buf); in handshake_0405() 746 args.max_len = lws_ptr_diff((char *)pt->serv_buf + in handshake_0405()
|
D | client-ws.c | 244 char *sb = (char *)&pt->serv_buf[0]; in lws_client_ws_upgrade()
|
D | ops-ws.c | 1121 ebuf.token = pt->serv_buf; in rops_handle_POLLIN_ws()
|
/third_party/libwebsockets/lib/core-net/client/ |
D | connect4.c | 67 plen = lws_snprintf((char *)pt->serv_buf, 256, in lws_client_connect_4_established() 75 plen += lws_snprintf((char *)pt->serv_buf + plen, 256, in lws_client_connect_4_established() 80 plen += lws_snprintf((char *)pt->serv_buf + plen, 5, in lws_client_connect_4_established() 98 n = (int)send(wsi->desc.sockfd, (char *)pt->serv_buf, in lws_client_connect_4_established()
|
/third_party/libwebsockets/lib/tls/openssl/ |
D | openssl-server.c | 223 (char *)vhost->context->pt[0].serv_buf); 245 (char *)vhost->context->pt[0].serv_buf); 382 (char *)vhost->context->pt[0].serv_buf)); 398 (char *)vhost->context->pt[0].serv_buf)); 511 (char *)vhost->context->pt[0].serv_buf); 527 (char *)vhost->context->pt[0].serv_buf);
|
D | openssl-client.c | 608 char *p = (char *)&pt->serv_buf[0]; in lws_tls_client_confirm_peer_cert() 759 error, (char *)vh->context->pt[0].serv_buf); 867 error, (char *)vh->context->pt[0].serv_buf);
|
/third_party/libwebsockets/lib/tls/ |
D | tls-client.c | 219 n = lws_ssl_client_connect1(wsi, (char *)wsi->a.context->pt[(int)wsi->tsi].serv_buf, in lws_client_create_tls() 226 *pcce = (const char *)wsi->a.context->pt[(int)wsi->tsi].serv_buf; in lws_client_create_tls()
|
D | tls-server.c | 194 s = recv(wsi->desc.sockfd, (char *)pt->serv_buf, in lws_server_socket_service_ssl() 221 if (s >= 1 && pt->serv_buf[0] >= ' ') { in lws_server_socket_service_ssl()
|
/third_party/libwebsockets/lib/tls/mbedtls/ |
D | mbedtls-client.c | 292 char *sb = (char *)&pt->serv_buf[0]; in lws_tls_client_confirm_peer_cert() 396 (char *)vh->context->pt[0].serv_buf)); in lws_tls_client_create_vhost_context() 405 (char *)vh->context->pt[0].serv_buf)); in lws_tls_client_create_vhost_context()
|
/third_party/libwebsockets/lib/plat/unix/ |
D | unix-resolv.c | 37 r = (char *)context->pt[0].serv_buf; in lws_plat_asyncdns_init()
|
/third_party/libwebsockets/lib/roles/mqtt/client/ |
D | client-mqtt.c | 310 ebuf.token = pt->serv_buf; in lws_mqtt_client_socket_service()
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | server.c | 1038 unsigned char *start = pt->serv_buf + LWS_PRE, in lws_unauthorised_basic_auth() 1542 unsigned char *start = pt->serv_buf + LWS_PRE, *p = start, in lws_http_redirect_hit() 1732 unsigned char *start = pt->serv_buf + LWS_PRE, *p = start, in lws_http_action() 2730 unsigned char *response = pt->serv_buf + LWS_PRE; in lws_serve_http_file() 3084 p = pstart = pt->serv_buf + LWS_H2_FRAME_HEADER_LENGTH; in lws_serve_http_file_fragment()
|
/third_party/libwebsockets/lib/roles/mqtt/ |
D | ops-mqtt.c | 121 ebuf.token = pt->serv_buf; in rops_handle_POLLIN_mqtt()
|
D | mqtt.c | 1961 uint8_t *b = (uint8_t *)pt->serv_buf, *start, *p; in lws_mqtt_client_send_publish() 2123 uint8_t *b = (uint8_t *)pt->serv_buf + LWS_PRE, *start = b, *p = start; in lws_mqtt_client_send_subcribe() 2309 uint8_t *b = (uint8_t *)pt->serv_buf + LWS_PRE, *start = b, *p = start; in lws_mqtt_client_send_unsubcribe()
|
/third_party/libwebsockets/lib/roles/http/ |
D | header.c | 420 unsigned char *p = pt->serv_buf + LWS_PRE; in lws_return_http_status()
|
/third_party/libwebsockets/lib/roles/http/client/ |
D | client-http.c | 38 char *p = (char *)&pt->serv_buf[0]; in lws_http_client_socket_service() 123 pt->serv_buf[13] = '\0'; in lws_http_client_socket_service()
|
/third_party/libwebsockets/lib/roles/h2/ |
D | ops-h2.c | 230 ebuf.token = pt->serv_buf; in rops_handle_POLLIN_h2()
|
D | http2.c | 2550 p = start = buf = pt->serv_buf + LWS_PRE; in lws_h2_client_handshake()
|
/third_party/libwebsockets/lib/core/ |
D | context.c | 1114 context->pt[n].serv_buf = u; in lws_create_context()
|
/third_party/libwebsockets/READMEs/ |
D | README.coding.md | 912 using -DLWS_MAX_SMP=, if not given it's set to 1. The serv_buf allocation
|