/NetX-Duo-v6.3.0/addons/rtsp/ |
D | nx_rtsp_server.c | 907 …status = nx_packet_data_append(response_packet_ptr, NX_RTSP_SERVER_STRING_WITH_SIZE("Content-Type:… in _nx_rtsp_server_sdp_set() 909 …status += nx_packet_data_append(response_packet_ptr, NX_RTSP_SERVER_STRING_WITH_SIZE(NX_RTSP_SERVE… in _nx_rtsp_server_sdp_set() 911 status += nx_packet_data_append(response_packet_ptr, NX_RTSP_SERVER_STRING_WITH_SIZE("\r\n"), in _nx_rtsp_server_sdp_set() 915 …status += nx_packet_data_append(response_packet_ptr, NX_RTSP_SERVER_STRING_WITH_SIZE("Content-Leng… in _nx_rtsp_server_sdp_set() 918 status += nx_packet_data_append(response_packet_ptr, temp_buffer, temp_length, in _nx_rtsp_server_sdp_set() 920 … status += nx_packet_data_append(response_packet_ptr, NX_RTSP_SERVER_STRING_WITH_SIZE("\r\n\r\n"), in _nx_rtsp_server_sdp_set() 924 status += nx_packet_data_append(response_packet_ptr, sdp_string, sdp_length, in _nx_rtsp_server_sdp_set() 1056 status = nx_packet_data_append(response_packet_ptr, NX_RTSP_SERVER_STRING_WITH_SIZE("url="), in _nx_rtsp_server_rtp_info_set() 1058 …status += nx_packet_data_append(response_packet_ptr, rtsp_client_ptr -> nx_rtsp_client_request_ptr… in _nx_rtsp_server_rtp_info_set() 1060 status += nx_packet_data_append(response_packet_ptr, NX_RTSP_SERVER_STRING_WITH_SIZE("/"), in _nx_rtsp_server_rtp_info_set() [all …]
|
/NetX-Duo-v6.3.0/addons/http/ |
D | nxd_http_client.c | 1236 nx_packet_data_append(packet_ptr, "POST ", 5, client_ptr -> nx_http_client_packet_pool_ptr, in _nxd_http_client_get_start_extended() 1243 nx_packet_data_append(packet_ptr, "GET ", 4, client_ptr -> nx_http_client_packet_pool_ptr, in _nxd_http_client_get_start_extended() 1267 …nx_packet_data_append(packet_ptr, "/", 1, client_ptr -> nx_http_client_packet_pool_ptr, NX_WAIT_FO… in _nxd_http_client_get_start_extended() 1273 …nx_packet_data_append(packet_ptr, resource, resource_length, client_ptr -> nx_http_client_packet_p… in _nxd_http_client_get_start_extended() 1277 nx_packet_data_append(packet_ptr, " HTTP/1.0", 9, client_ptr -> nx_http_client_packet_pool_ptr, in _nxd_http_client_get_start_extended() 1281 nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_http_client_packet_pool_ptr, in _nxd_http_client_get_start_extended() 1289 …nx_packet_data_append(packet_ptr, "Authorization: Basic ", 21, client_ptr -> nx_http_client_packet… in _nxd_http_client_get_start_extended() 1310 …nx_packet_data_append(packet_ptr, string2, string2_length, client_ptr -> nx_http_client_packet_poo… in _nxd_http_client_get_start_extended() 1311 …nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_http_client_packet_pool_ptr, NX_WAIT_F… in _nxd_http_client_get_start_extended() 1319 …nx_packet_data_append(packet_ptr, "Content-Length: ", 16, client_ptr -> nx_http_client_packet_pool… in _nxd_http_client_get_start_extended() [all …]
|
D | nxd_http_server.c | 2505 status = nx_packet_data_append(new_packet_ptr, data_ptr, data_length, in _nx_http_server_callback_data_send() 3371 … status = nx_packet_data_append(head_packet_ptr, (VOID *) tmp_ptr -> nx_packet_prepend_ptr, in _nx_http_server_get_client_request() 4729 status = nx_packet_data_append(packet_ptr, information, information_length, in _nx_http_server_response_send() 4737 … status += nx_packet_data_append(packet_ptr, additional_information, additional_info_length, in _nx_http_server_response_send() 4941 nx_packet_data_append(packet_ptr, NX_HTTP_VERSION, sizeof(NX_HTTP_VERSION) - 1, in _nx_http_server_basic_authenticate() 4943 …nx_packet_data_append(packet_ptr, " ", 1, server_ptr -> nx_http_server_packet_pool_ptr, NX_WAIT_FO… in _nx_http_server_basic_authenticate() 4944 …nx_packet_data_append(packet_ptr, NX_HTTP_STATUS_UNAUTHORIZED, sizeof(NX_HTTP_STATUS_UNAUTHORIZED)… in _nx_http_server_basic_authenticate() 4948 nx_packet_data_append(packet_ptr, crlf, 2, in _nx_http_server_basic_authenticate() 4952 nx_packet_data_append(packet_ptr, "WWW-Authenticate: Basic realm=", 30, in _nx_http_server_basic_authenticate() 4956 nx_packet_data_append(packet_ptr, quote, 1, in _nx_http_server_basic_authenticate() [all …]
|
/NetX-Duo-v6.3.0/samples/ |
D | demo_netxduo_http.c | 385 nx_packet_data_append(my_packet, "<HTML>\r\n", 8, in thread_client_entry() 387 nx_packet_data_append(my_packet, in thread_client_entry() 390 nx_packet_data_append(my_packet, "<BODY>\r\n", 8, in thread_client_entry() 392 nx_packet_data_append(my_packet, "<H1>Another NetX Test Page!</H1>\r\n", 34, in thread_client_entry() 394 nx_packet_data_append(my_packet, "</BODY>\r\n", 9, in thread_client_entry() 396 nx_packet_data_append(my_packet, "</HTML>\r\n", 9, in thread_client_entry()
|
D | demo_netxduo_telnet.c | 366 nx_packet_data_append(my_packet, "a", 1, &pool_client, NX_WAIT_FOREVER); in thread_client_entry() 445 nx_packet_data_append(packet_ptr, "**** Welcome to NetX TELNET Server ****\r\n\r\n\r\n", 45, in telnet_new_connection() 448 nx_packet_data_append(packet_ptr, "NETX> ", 6, &pool_server, NX_NO_WAIT); in telnet_new_connection() 496 nx_packet_data_append(packet_ptr, "\r\nNETX> ", 8, &pool_server, NX_NO_WAIT); in telnet_receive_data()
|
D | demo_netx_secure_tls.c | 559 status = nx_packet_data_append(send_packet, http_request, sizeof(http_request), &client_pool, in tls_client_thread_entry() 722 status = nx_packet_data_append(send_packet, html_data, sizeof(html_data), &server_pool, in tls_server_thread_entry()
|
D | demo_netx_duo_udp.c | 284 nx_packet_data_append(my_packet, DEMO_DATA, sizeof(DEMO_DATA), &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
|
D | demo_netx_ppp.c | 240 nx_packet_data_append(my_packet, DEMO_DATA, sizeof(DEMO_DATA), &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
|
D | demo_netx_duo_tcp.c | 302 nx_packet_data_append(my_packet, DEMO_DATA, sizeof(DEMO_DATA), &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
|
D | demo_netxduo_https.c | 688 …nx_packet_data_append(response_pkt, response, sizeof(response) - 1, server_ptr -> nx_web_http_serv… in server_request_callback()
|
D | demo_netx_duo_multihome_tcp.c | 528 nx_packet_data_append(my_packet, DEMO_DATA, sizeof(DEMO_DATA), &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
|
D | demo_netx_duo_multihome_udp.c | 515 nx_packet_data_append(my_packet, DEMO_DATA, sizeof(DEMO_DATA), &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
|
/NetX-Duo-v6.3.0/nx_secure/src/ |
D | nx_secure_tls_send_certificate.c | 205 status = nx_packet_data_append(send_packet, length_buffer, 3, in _nx_secure_tls_send_certificate() 220 … status = nx_packet_data_append(send_packet, cert -> nx_secure_x509_certificate_raw_data, length, in _nx_secure_tls_send_certificate() 234 status = nx_packet_data_append(send_packet, &extensions_length, in _nx_secure_tls_send_certificate()
|
D | nx_secure_tls_send_record.c | 214 status = nx_packet_data_append(send_packet, (UCHAR*)(&record_type), 1, in _nx_secure_tls_send_record() 294 status = nx_packet_data_append(send_packet, record_hash, hash_length, in _nx_secure_tls_send_record()
|
D | nx_secure_tls_record_payload_encrypt.c | 370 status = nx_packet_data_append(send_packet, icv_ptr, icv_size, in _nx_secure_tls_record_payload_encrypt() 700 status = nx_packet_data_append(send_packet, _nx_secure_tls_record_block_buffer, in _nx_secure_tls_record_data_encrypt_init()
|
D | nx_secure_tls_record_payload_decrypt.c | 892 status = nx_packet_data_append(decrypted_packet, output, length, in _nx_secure_tls_record_packet_decrypt()
|
/NetX-Duo-v6.3.0/addons/websocket/ |
D | nx_websocket_client.c | 610 …status = nx_packet_data_append(packet_ptr, "GET ", sizeof("GET ") - 1, client_ptr -> nx_websocket… in _nx_websocket_client_connect_internal() 611 …status += nx_packet_data_append(packet_ptr, uri_path, uri_path_length, client_ptr -> nx_websocket_… in _nx_websocket_client_connect_internal() 612 …status += nx_packet_data_append(packet_ptr, " HTTP/1.1", sizeof(" HTTP/1.1") - 1, client_ptr -> nx… in _nx_websocket_client_connect_internal() 613 …status += nx_packet_data_append(packet_ptr, NX_WEBSOCKET_CRLF, NX_WEBSOCKET_CRLF_SIZE, client_ptr … in _nx_websocket_client_connect_internal() 616 …status += nx_packet_data_append(packet_ptr, "Host: ", sizeof("Host: ") - 1, client_ptr -> nx_webso… in _nx_websocket_client_connect_internal() 617 …status += nx_packet_data_append(packet_ptr, host, host_length, client_ptr -> nx_websocket_client_p… in _nx_websocket_client_connect_internal() 618 …status += nx_packet_data_append(packet_ptr, NX_WEBSOCKET_CRLF, NX_WEBSOCKET_CRLF_SIZE, client_ptr … in _nx_websocket_client_connect_internal() 621 …status += nx_packet_data_append(packet_ptr, "Upgrade: websocket", sizeof("Upgrade: websocket") - 1… in _nx_websocket_client_connect_internal() 622 …status += nx_packet_data_append(packet_ptr, NX_WEBSOCKET_CRLF, NX_WEBSOCKET_CRLF_SIZE, client_ptr … in _nx_websocket_client_connect_internal() 625 …status += nx_packet_data_append(packet_ptr, "Connection: Upgrade", sizeof("Connection: Upgrade") -… in _nx_websocket_client_connect_internal() [all …]
|
/NetX-Duo-v6.3.0/addons/web/ |
D | nx_web_http_server.c | 421 nx_packet_data_append(new_packet_ptr, in _nx_web_http_server_packet_content_find() 2671 status = nx_packet_data_append(new_packet_ptr, data_ptr, data_length, in _nx_web_http_server_callback_data_send() 3362 …nx_packet_data_append(response_pkt, "0\r\n\r\n", 5, server_ptr -> nx_web_http_server_packet_pool_p… in _nx_web_http_server_receive_data() 3570 … status = nx_packet_data_append(head_packet_ptr, (VOID *) tmp_ptr -> nx_packet_prepend_ptr, in _nx_web_http_server_get_client_request() 5113 status = nx_packet_data_append(packet_ptr, information, information_length, in _nx_web_http_server_response_send() 5121 … status += nx_packet_data_append(packet_ptr, additional_information, additional_information_length, in _nx_web_http_server_response_send() 5333 nx_packet_data_append(packet_ptr, NX_WEB_HTTP_VERSION, sizeof(NX_WEB_HTTP_VERSION) - 1, in _nx_web_http_server_basic_authenticate() 5335 …nx_packet_data_append(packet_ptr, " ", 1, server_ptr -> nx_web_http_server_packet_pool_ptr, NX_WAI… in _nx_web_http_server_basic_authenticate() 5336 …nx_packet_data_append(packet_ptr, NX_WEB_HTTP_STATUS_UNAUTHORIZED, sizeof(NX_WEB_HTTP_STATUS_UNAUT… in _nx_web_http_server_basic_authenticate() 5340 nx_packet_data_append(packet_ptr, crlf, 2, in _nx_web_http_server_basic_authenticate() [all …]
|
D | nx_web_http_client.c | 1405 … status = nx_packet_data_append(head_packet_ptr, (VOID *) tmp_ptr -> nx_packet_prepend_ptr, in _nx_web_http_client_get_server_response() 2307 status = nx_packet_data_append(client_ptr -> nx_web_http_client_response_packet, in _nx_web_http_client_response_chunked_get() 2526 …status = nx_packet_data_append(packet_ptr, temp_string, i, client_ptr -> nx_web_http_client_packet… in _nx_web_http_client_request_chunked_set() 2533 …status = nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_web_http_client_packet_pool_p… in _nx_web_http_client_request_chunked_set() 2679 …nx_packet_data_append(packet_ptr, crlf, 2, client_ptr -> nx_web_http_client_packet_pool_ptr, wait_… in _nx_web_http_client_request_packet_send() 2684 …nx_packet_data_append(packet_ptr, "0\r\n\r\n", 5, client_ptr -> nx_web_http_client_packet_pool_ptr… in _nx_web_http_client_request_packet_send() 7494 … nx_packet_data_append(packet_ptr, "GET ", 4, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended() 7499 … nx_packet_data_append(packet_ptr, "PUT ", 4, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended() 7509 … nx_packet_data_append(packet_ptr, "POST ", 5, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended() 7519 … nx_packet_data_append(packet_ptr, "DELETE ", 7, client_ptr -> nx_web_http_client_packet_pool_ptr, in _nx_web_http_client_request_initialize_extended() [all …]
|
/NetX-Duo-v6.3.0/addons/rtp/ |
D | nx_rtp_sender.c | 1393 …status = nx_packet_data_append(send_packet, data_ptr, copy_size, session -> nx_rtp_sender -> nx_rt… in _nx_rtp_sender_session_packet_send() 2517 …nx_packet_data_append(packet_ptr, &rtcp_sr, sizeof(rtcp_sr), session -> nx_rtp_sender -> nx_rtp_se… in _nx_rtcp_sr_data_append() 2615 …status = nx_packet_data_append(packet_ptr, &header, sizeof(header), packet_pool, NX_RTP_SENDER_PAC… in _nx_rtcp_sdes_data_append() 2629 …status = nx_packet_data_append(packet_ptr, &sdes_chunk, 6, packet_pool, NX_RTP_SENDER_PACKET_TIMEO… in _nx_rtcp_sdes_data_append() 2636 …status = nx_packet_data_append(packet_ptr, sender -> nx_rtp_sender_cname, sender -> nx_rtp_sender_… in _nx_rtcp_sdes_data_append() 2644 …status = nx_packet_data_append(packet_ptr, pad_value, pad, packet_pool, NX_RTP_SENDER_PACKET_TIMEO… in _nx_rtcp_sdes_data_append() 3232 status = nx_packet_data_append(send_packet, (void *)jpeg_header, sizeof(jpeg_header), in _nx_rtp_sender_session_jpeg_send() 3246 …status = nx_packet_data_append(send_packet, (void *)quantization_header, sizeof(quantization_heade… in _nx_rtp_sender_session_jpeg_send() 3257 …status = nx_packet_data_append(send_packet, (void *)(q_table_ptr[i]), NX_RTP_SENDER_JPEG_QUANTIZAT… in _nx_rtp_sender_session_jpeg_send() 3287 status = nx_packet_data_append(send_packet, (void *)data_ptr, copy_length, in _nx_rtp_sender_session_jpeg_send() [all …]
|
/NetX-Duo-v6.3.0/addons/smtp/ |
D | nxd_smtp_client.c | 3626 status = nx_packet_data_append(packet_ptr, buffer_ptr, buffer_length, in _nx_smtp_utility_send_to_server() 3766 (nx_packet_data_append(packet_ptr, NX_SMTP_TO_STRING, sizeof(NX_SMTP_TO_STRING) - 1, in _nx_smtp_utility_send_header_to_server() 3768 (nx_packet_data_append(packet_ptr, mail_ptr -> nx_smtp_client_mail_recipient_address, in _nx_smtp_utility_send_header_to_server() 3771 … (nx_packet_data_append(packet_ptr, NX_SMTP_LINE_TERMINATOR, sizeof(NX_SMTP_LINE_TERMINATOR) - 1, in _nx_smtp_utility_send_header_to_server() 3774 (nx_packet_data_append(packet_ptr, NX_SMTP_FROM_STRING, sizeof(NX_SMTP_FROM_STRING) - 1, in _nx_smtp_utility_send_header_to_server() 3776 (nx_packet_data_append(packet_ptr, mail_ptr -> nx_smtp_client_mail_from_address, in _nx_smtp_utility_send_header_to_server() 3779 … (nx_packet_data_append(packet_ptr, NX_SMTP_LINE_TERMINATOR, sizeof(NX_SMTP_LINE_TERMINATOR) - 1, in _nx_smtp_utility_send_header_to_server() 3782 … (nx_packet_data_append(packet_ptr, NX_SMTP_SUBJECT_STRING, sizeof(NX_SMTP_SUBJECT_STRING) - 1, in _nx_smtp_utility_send_header_to_server() 3784 (nx_packet_data_append(packet_ptr, mail_ptr -> nx_smtp_client_mail_subject, in _nx_smtp_utility_send_header_to_server() 3787 … (nx_packet_data_append(packet_ptr, NX_SMTP_LINE_TERMINATOR, sizeof(NX_SMTP_LINE_TERMINATOR) - 1, in _nx_smtp_utility_send_header_to_server() [all …]
|
/NetX-Duo-v6.3.0/utility/iperf/ |
D | nx_iperf.h | 118 #define htmlwrite(p, s, l) (nx_packet_data_append(p, s, l, server_ptr -> nx_web_http_server_packet_…
|
/NetX-Duo-v6.3.0/addons/azure_iot/ |
D | nx_azure_iot_provisioning_client.c | 565 if ((status = nx_packet_data_append(packet_ptr, NX_AZURE_IOT_PROVISIONING_CLIENT_PAYLOAD_START, in nx_azure_iot_provisioning_client_append_device_reg_payload() 574 …if ((status = nx_packet_data_append(packet_ptr, (VOID *)prov_client_ptr -> nx_azure_iot_provisioni… in nx_azure_iot_provisioning_client_append_device_reg_payload() 583 if ((status = nx_packet_data_append(packet_ptr, NX_AZURE_IOT_PROVISIONING_CLIENT_QUOTE, in nx_azure_iot_provisioning_client_append_device_reg_payload() 594 … if ((status = nx_packet_data_append(packet_ptr, NX_AZURE_IOT_PROVISIONING_CLIENT_CUSTOM_PAYLOAD, in nx_azure_iot_provisioning_client_append_device_reg_payload() 603 if ((status = nx_packet_data_append(packet_ptr, in nx_azure_iot_provisioning_client_append_device_reg_payload() 614 if ((status = nx_packet_data_append(packet_ptr, NX_AZURE_IOT_PROVISIONING_CLIENT_PAYLOAD_END, in nx_azure_iot_provisioning_client_append_device_reg_payload() 685 status = nx_packet_data_append(packet_ptr, packet_id, sizeof(packet_id), in nx_azure_iot_provisioning_client_send_req()
|
D | nx_azure_iot_hub_client.c | 1154 status = nx_packet_data_append(packet_ptr, "&", 1, in nx_azure_iot_hub_client_telemetry_property_add() 1164 status = nx_packet_data_append(packet_ptr, (VOID *)property_name, (UINT)property_name_length, in nx_azure_iot_hub_client_telemetry_property_add() 1172 status = nx_packet_data_append(packet_ptr, "=", 1, in nx_azure_iot_hub_client_telemetry_property_add() 1181 status = nx_packet_data_append(packet_ptr, (VOID *)property_value, (UINT)property_value_length, in nx_azure_iot_hub_client_telemetry_property_add() 1217 status = nx_packet_data_append(packet_ptr, packet_id, sizeof(packet_id), in nx_azure_iot_hub_client_telemetry_send() 1230 status = nx_packet_data_append(packet_ptr, (VOID *)telemetry_data, data_size, in nx_azure_iot_hub_client_telemetry_send() 1858 status = nx_packet_data_append(packet_ptr, (VOID *)message_buffer, message_length, in nx_azure_iot_hub_client_properties_request_response() 3274 status = nx_packet_data_append(packet_ptr, (VOID *)payload, payload_length, in nx_azure_iot_hub_client_command_message_response() 3288 status = nx_packet_data_append(packet_ptr, NX_AZURE_IOT_HUB_CLIENT_EMPTY_JSON, in nx_azure_iot_hub_client_command_message_response()
|
/NetX-Duo-v6.3.0/addons/mqtt/ |
D | nxd_mqtt_client.c | 138 ret = nx_packet_data_append(packet_ptr, fixed_header, count + 1, in _nxd_mqtt_client_set_fixed_header() 387 …ret = nx_packet_data_append(packet_ptr, temp_data, 2, client_ptr -> nxd_mqtt_client_packet_pool_pt… in _nxd_mqtt_client_sub_unsub() 421 …ret = nx_packet_data_append(packet_ptr, temp_data, 1, client_ptr -> nxd_mqtt_client_packet_pool_pt… in _nxd_mqtt_client_sub_unsub() 2712 …ret = nx_packet_data_append(packet_ptr, len, 2, client_ptr -> nxd_mqtt_client_packet_pool_ptr, wai… in _nxd_mqtt_client_append_message() 2722 ret = nx_packet_data_append(packet_ptr, message, length, in _nxd_mqtt_client_append_message() 4408 …ret = nx_packet_data_append(packet_ptr, temp_data, 4, client_ptr -> nxd_mqtt_client_packet_pool_pt… in _nxd_mqtt_client_connect_packet_send() 4950 ret = nx_packet_data_append(packet_ptr, identifier, 2, in _nxd_mqtt_client_publish() 4970 ret = nx_packet_data_append(packet_ptr, message, message_length, in _nxd_mqtt_client_publish()
|