Home
last modified time | relevance | path

Searched refs:remaining_length (Results 1 – 6 of 6) sorted by relevance

/NetX-Duo-v6.2.1/test/regression/mqtt_test/
Dnetx_mqtt_remaining_length_test.c5 extern UINT _nxd_mqtt_read_remaining_length(NX_PACKET *packet_ptr, UINT *remaining_length, ULONG *o…
27 UINT remaining_length; in test_application_define() local
75 status = _nxd_mqtt_read_remaining_length(packet_ptr, &remaining_length, &offset); in test_application_define()
76 if((status != 0) || (remaining_length != i) || (offset != 2)) in test_application_define()
92 status = _nxd_mqtt_read_remaining_length(packet_ptr, &remaining_length, &offset); in test_application_define()
93 if((status != 0) || (remaining_length != 128) || (offset != 3)) in test_application_define()
109 status = _nxd_mqtt_read_remaining_length(packet_ptr, &remaining_length, &offset); in test_application_define()
110 if((status != 0) || (remaining_length != 16383) || (offset != 3)) in test_application_define()
126 status = _nxd_mqtt_read_remaining_length(packet_ptr, &remaining_length, &offset); in test_application_define()
127 if((status != 0) || (remaining_length != 16384) || (offset != 4)) in test_application_define()
[all …]
/NetX-Duo-v6.2.1/nx_secure/src/
Dnx_secure_x509_pkcs7_decode.c93 ULONG remaining_length; in _nx_secure_x509_pkcs7_decode() local
111 remaining_length = signature_length; in _nx_secure_x509_pkcs7_decode()
144 remaining_length -= i; in _nx_secure_x509_pkcs7_decode()
147 …status = _nx_secure_x509_asn1_tlv_block_parse(signature_data, &remaining_length, &tlv_type, &tlv_t… in _nx_secure_x509_pkcs7_decode()
157 remaining_length = tlv_length; in _nx_secure_x509_pkcs7_decode()
160 …status = _nx_secure_x509_asn1_tlv_block_parse(signature_data, &remaining_length, &tlv_type, &tlv_t… in _nx_secure_x509_pkcs7_decode()
197 …status = _nx_secure_x509_asn1_tlv_block_parse(signature_data, &remaining_length, &tlv_type, &tlv_t… in _nx_secure_x509_pkcs7_decode()
/NetX-Duo-v6.2.1/addons/mqtt/
Dnxd_mqtt_client.c194 UINT _nxd_mqtt_read_remaining_length(NX_PACKET *packet_ptr, UINT *remaining_length, ULONG *offset_p… in _nxd_mqtt_read_remaining_length() argument
236 *remaining_length = value; in _nxd_mqtt_read_remaining_length()
1290 UINT remaining_length = 0; in _nxd_mqtt_process_publish_packet() local
1299 if (_nxd_mqtt_read_remaining_length(packet_ptr, &remaining_length, &offset)) in _nxd_mqtt_process_publish_packet()
1304 if (remaining_length < 2) in _nxd_mqtt_process_publish_packet()
1318 if (topic_length > remaining_length - 2u) in _nxd_mqtt_process_publish_packet()
1326 remaining_length = remaining_length - topic_length - 2; in _nxd_mqtt_process_publish_packet()
1331 if (remaining_length < 2) in _nxd_mqtt_process_publish_packet()
1335 remaining_length = remaining_length - 2; in _nxd_mqtt_process_publish_packet()
1343 *message_length_ptr = (ULONG)remaining_length; in _nxd_mqtt_process_publish_packet()
[all …]
Dnxd_mqtt_client.h512 UINT _nxd_mqtt_read_remaining_length(NX_PACKET *packet_ptr, UINT *remaining_length, ULONG *offset_p…
/NetX-Duo-v6.2.1/addons/ftp/
Dnxd_ftp_server.c1625 ULONG remaining_length; in _nx_ftp_server_command_process() local
2982remaining_length = (ULONG)((packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_append_ptr… in _nx_ftp_server_command_process()
2985 …if (remaining_length > client_req_ptr -> nx_ftp_client_request_data_socket.nx_tcp_socket_connect_m… in _nx_ftp_server_command_process()
2989remaining_length = client_req_ptr -> nx_ftp_client_request_data_socket.nx_tcp_socket_connect_mss; in _nx_ftp_server_command_process()
3037 if ((length + 2) > remaining_length) in _nx_ftp_server_command_process()
3066remaining_length = (ULONG)((packet_ptr -> nx_packet_data_end - packet_ptr -> nx_packet_append_ptr… in _nx_ftp_server_command_process()
3069 …if (remaining_length > client_req_ptr -> nx_ftp_client_request_data_socket.nx_tcp_socket_connect_m… in _nx_ftp_server_command_process()
3073remaining_length = client_req_ptr -> nx_ftp_client_request_data_socket.nx_tcp_socket_connect_mss; in _nx_ftp_server_command_process()
3092 if (remaining_length > length) in _nx_ftp_server_command_process()
3094 remaining_length = remaining_length - length; in _nx_ftp_server_command_process()
[all …]
/NetX-Duo-v6.2.1/addons/azure_iot/
Dnx_azure_iot_hub_client.c1383 UINT remaining_length = 0; in nx_azure_iot_hub_client_process_publish_packet() local
1396 remaining_length += (((*byte) & 0x7F) * multiplier); in nx_azure_iot_hub_client_process_publish_packet()
1401 if (remaining_length < 2) in nx_azure_iot_hub_client_process_publish_packet()
1410 if (topic_length > remaining_length - 2u) in nx_azure_iot_hub_client_process_publish_packet()