Home
last modified time | relevance | path

Searched refs:_nx_utility_string_length_check (Results 1 – 21 of 21) sorted by relevance

/NetX-Duo-v6.2.1/test/regression/snmp_test/
Dnetx_snmp_v3_md5_security_extended_test.c424_nx_utility_string_length_check(object_requested, &object_requested_length, NX_SNMP_MAX_OCTET_STRI… in v3_mib2_get_processing()
433_nx_utility_string_length_check(mib2_mib[i].object_name, &object_name_length, NX_SNMP_MAX_OCTET_ST… in v3_mib2_get_processing()
490_nx_utility_string_length_check(object_requested, &object_requested_length, NX_SNMP_MAX_OCTET_STRI… in v3_mib2_getnext_processing()
499_nx_utility_string_length_check(mib2_mib[i].object_name, &object_name_length, NX_SNMP_MAX_OCTET_ST… in v3_mib2_getnext_processing()
540_nx_utility_string_length_check(mib2_mib[i].object_value_ptr, &object_value_length, NX_SNMP_MAX_OC… in v3_mib2_getnext_processing()
570_nx_utility_string_length_check(object_requested, &object_requested_length, NX_MAX_STRING_LENGTH); in v3_mib2_set_processing()
579_nx_utility_string_length_check(mib2_mib[i].object_name, &object_name_length, NX_MAX_STRING_LENGTH… in v3_mib2_set_processing()
/NetX-Duo-v6.2.1/addons/web/
Dnx_web_http_client.c666 … if (_nx_utility_string_length_check(username, &temp_username_length, NX_WEB_HTTP_MAX_NAME) || in _nx_web_http_client_get_start()
667_nx_utility_string_length_check(password, &temp_password_length, NX_WEB_HTTP_MAX_PASSWORD)) in _nx_web_http_client_get_start()
674 if (_nx_utility_string_length_check(resource, &temp_resource_length, NX_MAX_STRING_LENGTH) || in _nx_web_http_client_get_start()
675 _nx_utility_string_length_check(host, &temp_host_length, NX_MAX_STRING_LENGTH)) in _nx_web_http_client_get_start()
1022 … if (_nx_utility_string_length_check(username, &temp_username_length, NX_WEB_HTTP_MAX_NAME) || in _nx_web_http_client_get_secure_start()
1023_nx_utility_string_length_check(password, &temp_password_length, NX_WEB_HTTP_MAX_PASSWORD)) in _nx_web_http_client_get_secure_start()
1030 if (_nx_utility_string_length_check(resource, &temp_resource_length, NX_MAX_STRING_LENGTH) || in _nx_web_http_client_get_secure_start()
1031 _nx_utility_string_length_check(host, &temp_host_length, NX_MAX_STRING_LENGTH)) in _nx_web_http_client_get_secure_start()
2852 … if (_nx_utility_string_length_check(username, &temp_username_length, NX_WEB_HTTP_MAX_NAME) || in _nx_web_http_client_put_start()
2853_nx_utility_string_length_check(password, &temp_password_length, NX_WEB_HTTP_MAX_PASSWORD)) in _nx_web_http_client_put_start()
[all …]
Dnx_web_http_server.c2825 if (_nx_utility_string_length_check(status_code, &status_code_length, NX_MAX_STRING_LENGTH) || in _nx_web_http_server_callback_response_send()
2826 …(information && _nx_utility_string_length_check(information, &information_length, NX_MAX_STRING_LE… in _nx_web_http_server_callback_response_send()
2827 …(additional_info && _nx_utility_string_length_check(additional_info, &additional_info_length, NX_M… in _nx_web_http_server_callback_response_send()
2981 …if (_nx_utility_string_length_check(status_code, &temp_status_code_length, NX_MAX_STRING_LENGTH) || in _nx_web_http_server_callback_response_send_extended()
2982 …(information && _nx_utility_string_length_check(information, &temp_information_length, NX_MAX_STRI… in _nx_web_http_server_callback_response_send_extended()
2983 …(additional_info && _nx_utility_string_length_check(additional_info, &temp_additional_info_length,… in _nx_web_http_server_callback_response_send_extended()
3778 … if (_nx_utility_string_length_check(name_ptr, &temp_name_length, NX_WEB_HTTP_MAX_NAME) || in _nx_web_http_server_get_process()
3779_nx_utility_string_length_check(password_ptr, &temp_password_length, NX_WEB_HTTP_MAX_PASSWORD) || in _nx_web_http_server_get_process()
3780_nx_utility_string_length_check(realm_ptr, &temp_realm_length, NX_MAX_STRING_LENGTH)) in _nx_web_http_server_get_process()
3992 …if (_nx_utility_string_length_check(server_ptr -> nx_web_http_server_request_resource, &resource_… in _nx_web_http_server_get_process()
[all …]
/NetX-Duo-v6.2.1/addons/mdns/
Dnxd_mdns.c385 … if (_nx_utility_string_length_check((CHAR *)host_name, &host_name_size, (NX_MDNS_LABEL_MAX - 4))) in _nx_mdns_create()
387 …if (_nx_utility_string_length_check((CHAR *)host_name, &host_name_size, (NX_MDNS_HOST_NAME_MAX - 4… in _nx_mdns_create()
1998 if (_nx_utility_string_length_check((CHAR *)_nx_mdns_dns_sd, &dns_sd_size, NX_MDNS_DNS_SD_MAX)) in _nx_mdns_disable()
2223 …if (_nx_utility_string_length_check((CHAR *)domain_name, &domain_name_size, NX_MDNS_DOMAIN_NAME_MA… in _nx_mdns_domain_name_set()
2325 if (_nx_utility_string_length_check((CHAR *)name, NX_NULL, (NX_MDNS_LABEL_MAX - 4))) in _nxe_mdns_service_add()
2327 if (_nx_utility_string_length_check((CHAR *)name, NX_NULL, (NX_MDNS_SERVICE_NAME_MAX - 4))) in _nxe_mdns_service_add()
2334 if (_nx_utility_string_length_check((CHAR *)type, NX_NULL, NX_MDNS_TYPE_MAX)) in _nxe_mdns_service_add()
2342 if (_nx_utility_string_length_check((CHAR *)txt, NX_NULL, NX_MDNS_NAME_MAX)) in _nxe_mdns_service_add()
2351 if (_nx_utility_string_length_check((CHAR *)sub_type, NX_NULL, NX_MDNS_LABEL_MAX)) in _nxe_mdns_service_add()
2480 …if (_nx_utility_string_length_check((CHAR *)(&temp_string_buffer[0]), &string_length, NX_MDNS_NAME… in _nx_mdns_service_add()
[all …]
/NetX-Duo-v6.2.1/addons/http/
Dnxd_http_server.c2662 if (_nx_utility_string_length_check(header, &header_length, NX_MAX_STRING_LENGTH) || in _nx_http_server_callback_response_send()
2663 …(information && _nx_utility_string_length_check(information, &information_length, NX_MAX_STRING_LE… in _nx_http_server_callback_response_send()
2664 …(additional_info && _nx_utility_string_length_check(additional_info, &additional_info_length, NX_M… in _nx_http_server_callback_response_send()
2813 if (_nx_utility_string_length_check(header, &temp_header_length, NX_MAX_STRING_LENGTH) || in _nx_http_server_callback_response_send_extended()
2814 …(information && _nx_utility_string_length_check(information, &temp_information_length, NX_MAX_STRI… in _nx_http_server_callback_response_send_extended()
2815 …(additional_info && _nx_utility_string_length_check(additional_info, &temp_additional_info_length,… in _nx_http_server_callback_response_send_extended()
3559 if (_nx_utility_string_length_check(name_ptr, &temp_name_length, NX_HTTP_MAX_NAME) || in _nx_http_server_get_process()
3560_nx_utility_string_length_check(password_ptr, &temp_password_length, NX_HTTP_MAX_PASSWORD) || in _nx_http_server_get_process()
3561_nx_utility_string_length_check(realm_ptr, &temp_realm_length, NX_MAX_STRING_LENGTH)) in _nx_http_server_get_process()
3710 …if (_nx_utility_string_length_check(server_ptr -> nx_http_server_request_resource, &resource_leng… in _nx_http_server_get_process()
[all …]
Dnxd_http_client.c1021 if (_nx_utility_string_length_check(username, &username_length, NX_HTTP_MAX_NAME) || in _nxd_http_client_get_start()
1022 _nx_utility_string_length_check(password, &password_length, NX_HTTP_MAX_PASSWORD)) in _nxd_http_client_get_start()
1031 if (_nx_utility_string_length_check(resource, &resource_length, NX_MAX_STRING_LENGTH)) in _nxd_http_client_get_start()
1154 if (_nx_utility_string_length_check(username, &temp_username_length, username_length) || in _nxd_http_client_get_start_extended()
1155 _nx_utility_string_length_check(password, &temp_password_length, password_length)) in _nxd_http_client_get_start_extended()
1171 if (_nx_utility_string_length_check(resource, &temp_resource_length, resource_length)) in _nxd_http_client_get_start_extended()
2268 if (_nx_utility_string_length_check(username, &username_length, NX_HTTP_MAX_NAME) || in _nxd_http_client_put_start()
2269 _nx_utility_string_length_check(password, &password_length, NX_HTTP_MAX_PASSWORD)) in _nxd_http_client_put_start()
2278 if (_nx_utility_string_length_check(resource, &resource_length, NX_MAX_STRING_LENGTH)) in _nxd_http_client_put_start()
2395 if (_nx_utility_string_length_check(username, &temp_username_length, username_length) || in _nxd_http_client_put_start_extended()
[all …]
/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_utility_test.c63 status = _nx_utility_string_length_check(NX_NULL, &string_length, 10); in ntest_0_entry()
74 status = _nx_utility_string_length_check("test string", &string_length, sizeof("test string")); in ntest_0_entry()
85 …status = _nx_utility_string_length_check("test string", &string_length, sizeof("test string") - 1); in ntest_0_entry()
96 …status = _nx_utility_string_length_check("test string", &string_length, sizeof("test string") - 2); in ntest_0_entry()
/NetX-Duo-v6.2.1/addons/smtp/
Dnxd_smtp_client.c290 status = _nx_utility_string_length_check(username, &str_length, NX_SMTP_CLIENT_MAX_USERNAME); in _nxd_smtp_client_create()
298 status = _nx_utility_string_length_check(password, &str_length, NX_SMTP_CLIENT_MAX_PASSWORD); in _nxd_smtp_client_create()
306 … status = _nx_utility_string_length_check(client_domain, &str_length, NX_SMTP_CLIENT_MAX_USERNAME); in _nxd_smtp_client_create()
1212 …if (_nx_utility_string_length_check(client_ptr -> nx_smtp_client_domain, &domain_length, NX_SMTP_C… in _nx_smtp_cmd_helo()
1400 …if (_nx_utility_string_length_check(client_ptr -> nx_smtp_client_domain, &domain_length, NX_SMTP_C… in _nx_smtp_cmd_ehlo()
2018 …if (_nx_utility_string_length_check(client_ptr -> nx_smtp_password, &password_length, NX_SMTP_CLIE… in _nx_smtp_cmd_auth_challenge()
2026 …if (_nx_utility_string_length_check(client_ptr -> nx_smtp_username, &length, NX_SMTP_CLIENT_MAX_US… in _nx_smtp_cmd_auth_challenge()
2220 …if (_nx_utility_string_length_check(mail_ptr -> nx_smtp_client_mail_from_address, &mail_from_lengt… in _nx_smtp_cmd_mail()
2414 …if (_nx_utility_string_length_check(mail_ptr -> nx_smtp_client_mail_recipient_address, &recipient_… in _nx_smtp_cmd_rcpt()
3740 …if (_nx_utility_string_length_check(mail_ptr -> nx_smtp_client_mail_recipient_address, &recipient_… in _nx_smtp_utility_send_header_to_server()
[all …]
/NetX-Duo-v6.2.1/addons/pop3/
Dnxd_pop3_client.c400 if (_nx_utility_string_length_check(client_name, &client_name_length, NX_POP3_MAX_USERNAME) || in _nxd_pop3_client_create()
401_nx_utility_string_length_check(client_password, &client_password_length, NX_POP3_MAX_PASSWORD)) in _nxd_pop3_client_create()
2675 …if ((_nx_utility_string_length_check(&client_ptr -> nx_pop3_client_name[0], NX_NULL, NX_POP3_MAX_U… in _nxd_pop3_client_connect()
2676 …(_nx_utility_string_length_check(&client_ptr -> nx_pop3_client_password[0], NX_NULL, NX_POP3_MAX_P… in _nxd_pop3_client_connect()
2862 …if (_nx_utility_string_length_check(client_ptr -> nx_pop3_server_process_id, &server_process_id_le… in _nx_pop3_client_apop()
2863_nx_utility_string_length_check(client_ptr -> nx_pop3_client_password, &client_password_length, NX… in _nx_pop3_client_apop()
2890 …if (_nx_utility_string_length_check(client_ptr -> nx_pop3_client_name, &client_name_length, NX_POP… in _nx_pop3_client_apop()
2891_nx_utility_string_length_check(md5_digest_buffer, &md5_digest_buffer_length, NX_POP3_MAX_ASCII_MD… in _nx_pop3_client_apop()
3081 …if (_nx_utility_string_length_check(client_ptr -> nx_pop3_client_name, &client_name_length, NX_POP… in _nx_pop3_client_user_pass()
3193 …if (_nx_utility_string_length_check(client_ptr -> nx_pop3_client_password, &client_password_length… in _nx_pop3_client_user_pass()
/NetX-Duo-v6.2.1/addons/pppoe/
Dnx_pppoe_server.c230 if (_nx_utility_string_length_check((char *)pppoe_server_ptr -> nx_pppoe_name, in _nx_pppoe_server_create()
396 if (_nx_utility_string_length_check((CHAR*)ac_name, &temp_name_length, ac_name_length)) in _nx_pppoe_server_ac_name_set()
2571_nx_utility_string_length_check((char*)client_session_ptr -> nx_pppoe_service_name, (UINT *)&lengt… in _nx_pppoe_server_discovery_packet_process()
2927 …if (_nx_utility_string_length_check((char *)(service_name_ptr), &tag_length, NX_MAX_STRING_LENGTH)) in _nx_pppoe_server_discovery_send()
2942 …if (_nx_utility_string_length_check((char *)(client_session_ptr -> nx_pppoe_service_name), &tag_le… in _nx_pppoe_server_discovery_send()
2973 …if (_nx_utility_string_length_check((char *)(pppoe_server_ptr -> nx_pppoe_service_name[service_nam… in _nx_pppoe_server_discovery_send()
3021 …if (_nx_utility_string_length_check((char *)(client_session_ptr -> nx_pppoe_service_name), &tag_le… in _nx_pppoe_server_discovery_send()
3065 …if (_nx_utility_string_length_check((char *)(client_session_ptr -> nx_pppoe_generic_error), &tag_l… in _nx_pppoe_server_discovery_send()
3316 …if (_nx_utility_string_length_check((char *)(pppoe_server_ptr -> nx_pppoe_service_name[service_nam… in _nx_pppoe_server_tag_process()
3359 …if (_nx_utility_string_length_check((char *)(service_name_ptr), &service_name_length, NX_MAX_STRIN… in _nx_pppoe_server_tag_process()
[all …]
Dnx_pppoe_client.c534 …if (_nx_utility_string_length_check((CHAR *)service_name, &service_name_length, NX_MAX_STRING_LENG… in _nx_pppoe_client_service_name_set()
666 …if (_nx_utility_string_length_check((CHAR*)service_name, &temp_service_name_length, service_name_l… in _nx_pppoe_client_service_name_set_extended()
801 if (_nx_utility_string_length_check((CHAR *)host_uniq, &host_uniq_length, NX_MAX_STRING_LENGTH)) in _nx_pppoe_client_host_uniq_set()
931 if (_nx_utility_string_length_check((CHAR*)host_uniq, &temp_host_uniq_length, host_uniq_length)) in _nx_pppoe_client_host_uniq_set_extended()
/NetX-Duo-v6.2.1/addons/dns/
Dnxd_dns.c4141 …if (_nx_utility_string_length_check((CHAR *)ip_question, &ip_question_size, NX_DNS_IP_LOOKUP_SIZE)) in _nx_dns_send_query_by_address()
4994 if (_nx_utility_string_length_check((CHAR *)host_name, &host_name_size, name_size) || in _nx_dns_response_process()
5440 …status = _nx_utility_string_length_check((CHAR *)(ns_entry -> nx_dns_ns_hostname_ptr), &data_lengt… in _nx_dns_process_a_type()
5531 …status = _nx_utility_string_length_check((CHAR *)(mx_entry -> nx_dns_mx_hostname_ptr), &data_lengt… in _nx_dns_process_a_type()
5621 …status = _nx_utility_string_length_check((CHAR *)(srv_entry -> nx_dns_srv_hostname_ptr), &data_len… in _nx_dns_process_a_type()
8048 if (_nx_utility_string_length_check((CHAR *)name, &name_size, NX_DNS_NAME_MAX)) in _nx_dns_question_add()
9952 if (_nx_utility_string_length_check((CHAR *)query_name, &query_name_length, NX_DNS_NAME_MAX)) in _nx_dns_cache_find_answer()
10066 …if (_nx_utility_string_length_check((CHAR *)p -> nx_dns_rr_rdata.nx_dns_rr_rdata_ptr.nx_dns_rr_ptr… in _nx_dns_cache_find_answer()
10092 …if (_nx_utility_string_length_check((CHAR *)p -> nx_dns_rr_rdata.nx_dns_rr_rdata_ns.nx_dns_rr_ns_n… in _nx_dns_cache_find_answer()
10124 …if (_nx_utility_string_length_check((CHAR *)(p -> nx_dns_rr_rdata.nx_dns_rr_rdata_mx.nx_dns_rr_mx_… in _nx_dns_cache_find_answer()
[all …]
/NetX-Duo-v6.2.1/common/src/
Dnx_utility.c76 UINT _nx_utility_string_length_check(CHAR *input_string, UINT *string_length, UINT max_string_leng… in _nx_utility_string_length_check() function
/NetX-Duo-v6.2.1/addons/snmp/
Dnxd_snmp.c1850 if (_nx_utility_string_length_check((CHAR *)password, &password_length, NX_MAX_STRING_LENGTH)) in _nx_snmp_agent_md5_key_create()
2004 if (_nx_utility_string_length_check((CHAR *)password, &temp_password_length, password_length)) in _nx_snmp_agent_md5_key_create_extended()
2449 if (_nx_utility_string_length_check((CHAR *)password, &password_length, NX_MAX_STRING_LENGTH)) in _nx_snmp_agent_sha_key_create()
2603 if (_nx_utility_string_length_check((CHAR *)password, &temp_password_length, password_length)) in _nx_snmp_agent_sha_key_create_extended()
2769 …if (_nx_utility_string_length_check((CHAR *)community_string, &string_length1, NX_SNMP_MAX_USER_NA… in _nx_snmp_agent_public_string_test()
2774 …if (_nx_utility_string_length_check((CHAR *)agent_ptr -> nx_snmp_agent_public_community_string, &s… in _nx_snmp_agent_public_string_test()
2912 …if (_nx_utility_string_length_check((CHAR *)community_string, &string_length1, NX_SNMP_MAX_USER_NA… in _nx_snmp_agent_private_string_test()
2917 …if (_nx_utility_string_length_check((CHAR *)agent_ptr -> nx_snmp_agent_private_community_string, &… in _nx_snmp_agent_private_string_test()
3056 if (_nx_utility_string_length_check((CHAR *)community_string, &length, NX_SNMP_MAX_USER_NAME)) in _nx_snmp_agent_private_string_set()
3183 if (_nx_utility_string_length_check((CHAR *)community_string, &length, NX_SNMP_MAX_USER_NAME)) in _nx_snmp_agent_public_string_set()
[all …]
/NetX-Duo-v6.2.1/utility/iperf/
Dnx_iperf.c2266 status = _nx_utility_string_length_check(token, &token_length, NX_MAX_STRING_LENGTH); in nx_iperf_check_token_value()
2275 status = _nx_utility_string_length_check(value_ptr, &value_length, NX_MAX_STRING_LENGTH); in nx_iperf_check_token_value()
2739 _nx_utility_string_length_check(msg, &length, NX_MAX_STRING_LENGTH); in nx_iperf_print_test_inprogress()
2885 _nx_utility_string_length_check(resource, &length, NX_WEB_HTTP_MAX_RESOURCE); in nx_iperf_get_notify()
/NetX-Duo-v6.2.1/addons/dhcp/
Dnxd_dhcp_client.c236 if (_nx_utility_string_length_check(temp_ptr, NX_NULL, 255)) in _nx_dhcp_create()
6747 if (_nx_utility_string_length_check(dhcp_ptr -> nx_dhcp_name, &name_length, 255)) in _nx_dhcp_send_request_internal()
6778 if (_nx_utility_string_length_check(dhcp_ptr -> nx_dhcp_name, &name_length, 255)) in _nx_dhcp_send_request_internal()
6881 if (_nx_utility_string_length_check(dhcp_ptr -> nx_dhcp_name, &name_length, 255)) in _nx_dhcp_send_request_internal()
Dnxd_dhcpv6_client.c7393 if (_nx_utility_string_length_check(domain_name, &name_length, NX_DHCPV6_MAX_NAME_SIZE)) in _nx_dhcpv6_request_option_FQDN()
/NetX-Duo-v6.2.1/addons/ppp/
Dnx_ppp.c4444 if (_nx_utility_string_length_check((CHAR *)name, &length, NX_PPP_NAME_SIZE) || in _nx_ppp_pap_authentication_request()
4445 _nx_utility_string_length_check((CHAR *)password, &password_length, NX_PPP_PASSWORD_SIZE)) in _nx_ppp_pap_authentication_request()
5689 …if (_nx_utility_string_length_check(ppp_ptr -> nx_ppp_chap_challenger_name, &length1, NX_PPP_NAME_… in _nx_ppp_chap_challenge_send()
5690_nx_utility_string_length_check(ppp_ptr -> nx_ppp_chap_random_value, &length, NX_PPP_VALUE_SIZE)) in _nx_ppp_chap_challenge_send()
/NetX-Duo-v6.2.1/addons/rtsp/
Dnx_rtsp_server.c1357_nx_utility_string_length_check(nx_rtsp_server_response_description_table[i].nx_rtsp_response_desc… in _nx_rtsp_server_error_response_send()
/NetX-Duo-v6.2.1/addons/ftp/
Dnxd_ftp_server.c6442 if (_nx_utility_string_length_check(filename, &length, FX_MAX_LONG_NAME_LEN - 1)) in _nx_ftp_server_block_size_get()
/NetX-Duo-v6.2.1/common/inc/
Dnx_api.h4063 UINT _nx_utility_string_length_check(CHAR *input_string, UINT *string_length, UINT max_string_lengt…