Searched refs:dns_0 (Results 1 – 3 of 3) sorted by relevance
/NetX-Duo-v6.4.1/test/regression/dns_test/ |
D | netx_dns_nxe_api_test.c | 17 static NX_DNS dns_0; variable 71 dns_0.nx_dns_id = NX_DNS_ID; in nxde_address_error_checks() 73 validate_expected_status(_nxde_dns_server_add(&dns_0, &address_0), NX_DNS_PARAM_ERROR); in nxde_address_error_checks() 76 validate_expected_status(_nxde_dns_server_add(&dns_0, &address_0), NX_DNS_INVALID_ADDRESS_TYPE); in nxde_address_error_checks() 77 …validate_expected_status(_nxde_dns_server_remove(&dns_0, &address_0), NX_DNS_INVALID_ADDRESS_TYPE); in nxde_address_error_checks() 81 validate_expected_status(_nxde_dns_server_add(&dns_0, &address_0), NX_DNS_BAD_ADDRESS_ERROR); in nxde_address_error_checks() 82 validate_expected_status(_nxde_dns_server_remove(&dns_0, &address_0), NX_DNS_BAD_ADDRESS_ERROR); in nxde_address_error_checks() 87 validate_expected_status(_nxde_dns_server_add(&dns_0, &address_0), NX_DNS_BAD_ADDRESS_ERROR); in nxde_address_error_checks() 88 validate_expected_status(_nxde_dns_server_remove(&dns_0, &address_0), NX_DNS_BAD_ADDRESS_ERROR); in nxde_address_error_checks() 95 validate_expected_status(_nxe_dns_delete(&dns_0), NX_CALLER_ERROR); in nx_dns_id_calls() [all …]
|
/NetX-Duo-v6.4.1/test/regression/azure_iot/ |
D | main.c | 89 static NX_DNS dns_0; variable 299 demo_entry(&ip_0, &pool_0, &dns_0, unix_time_get); in test_entry() 330 status = nx_dns_create(&dns_0, &ip_0, (UCHAR *)"DNS Client"); in dns_create() 341 status = nx_dns_packet_pool_set(&dns_0, ip_0.nx_ip_default_packet_pool); in dns_create() 344 nx_dns_delete(&dns_0); in dns_create() 358 status = nx_dns_server_add(&dns_0, dns_server_address[0]); in dns_create() 361 nx_dns_delete(&dns_0); in dns_create()
|
/NetX-Duo-v6.4.1/samples/ |
D | main.c | 140 static NX_DNS dns_0; variable 411 sample_entry(&ip_0, &pool_0, (VOID *)&dns_0, unix_time_get); in sample_helper_thread_entry() 472 status = nx_dns_create(&dns_0, &ip_0, (UCHAR *)"DNS Client"); in dns_create() 483 status = nx_dns_packet_pool_set(&dns_0, ip_0.nx_ip_default_packet_pool); in dns_create() 486 nx_dns_delete(&dns_0); in dns_create() 492 status = nx_dns_server_add(&dns_0, dns_server_address); in dns_create() 495 nx_dns_delete(&dns_0); in dns_create() 661 …status = nx_dns_host_by_name_get(&dns_0, (UCHAR *)sntp_servers[sntp_server_index], &sntp_server_ad… in sntp_time_sync()
|