Home
last modified time | relevance | path

Searched refs:dns_server_address (Results 1 – 7 of 7) sorted by relevance

/NetX-Duo-v6.4.1/samples/
Dmain.c179 static UINT dns_create(ULONG dns_server_address);
316 ULONG dns_server_address[3]; in sample_helper_thread_entry() local
318 UINT dns_server_address_size = sizeof(dns_server_address); in sample_helper_thread_entry()
348 SAMPLE_NETWORK_CONFIGURE(&ip_0, &dns_server_address[0]); in sample_helper_thread_entry()
376 …p_interface_user_option_retrieve(&dhcp_0, 0, NX_DHCP_OPTION_DNS_SVR, (UCHAR *)(dns_server_address), in sample_helper_thread_entry()
379 dns_server_address[0] = SAMPLE_DNS_SERVER_ADDRESS; in sample_helper_thread_entry()
383 status = dns_create(dns_server_address[0]); in sample_helper_thread_entry()
465 static UINT dns_create(ULONG dns_server_address) in dns_create() argument
492 status = nx_dns_server_add(&dns_0, dns_server_address); in dns_create()
501 (dns_server_address >> 24), in dns_create()
[all …]
/NetX-Duo-v6.4.1/test/regression/azure_iot/
Dmain.c324 ULONG dns_server_address[3]; in dns_create() local
351 …p_interface_user_option_retrieve(&dhcp_0, 0, NX_DHCP_OPTION_DNS_SVR, (UCHAR *)(dns_server_address), in dns_create()
354 dns_server_address[0] = DEMO_DNS_SERVER_ADDRESS; in dns_create()
358 status = nx_dns_server_add(&dns_0, dns_server_address[0]); in dns_create()
367 (dns_server_address[0] >> 24), in dns_create()
368 (dns_server_address[0] >> 16 & 0xFF), in dns_create()
369 (dns_server_address[0] >> 8 & 0xFF), in dns_create()
370 (dns_server_address[0] & 0xFF)); in dns_create()
/NetX-Duo-v6.4.1/addons/dns/
Dnxd_dns.h922 UINT nx_dns_server_get(NX_DNS *dns_ptr, UINT index, ULONG *dns_server_address);
941 UINT nxd_dns_server_add(NX_DNS *dns_ptr, NXD_ADDRESS *dns_server_address);
943 UINT nxd_dns_server_get(NX_DNS *dns_ptr, UINT index, NXD_ADDRESS *dns_server_address);
991 UINT _nxe_dns_server_get(NX_DNS *dns_ptr, UINT index, ULONG *dns_server_address);
992 UINT _nx_dns_server_get(NX_DNS *dns_ptr, UINT index, ULONG *dns_server_address);
1005 UINT _nxde_dns_server_get(NX_DNS *dns_ptr, UINT index, NXD_ADDRESS *dns_server_address);
1006 UINT _nxd_dns_server_get(NX_DNS *dns_ptr, UINT index, NXD_ADDRESS *dns_server_address);
Dnxd_dns.c735 NXD_ADDRESS dns_server_address; in _nx_dns_server_add() local
738 memset(&dns_server_address, 0, sizeof(NXD_ADDRESS)); in _nx_dns_server_add()
741 dns_server_address.nxd_ip_version = NX_IP_VERSION_V4; in _nx_dns_server_add()
742 dns_server_address.nxd_ip_address.v4 = server_address; in _nx_dns_server_add()
745 return (_nx_dns_server_add_internal(dns_ptr, &dns_server_address)); in _nx_dns_server_add()
912 UINT _nxd_dns_server_add(NX_DNS *dns_ptr, NXD_ADDRESS *dns_server_address) in _nxd_dns_server_add() argument
917 return (_nx_dns_server_add_internal(dns_ptr, dns_server_address)); in _nxd_dns_server_add()
1218 NXD_ADDRESS dns_server_address; in _nx_dns_server_remove() local
1221 dns_server_address.nxd_ip_version = NX_IP_VERSION_V4; in _nx_dns_server_remove()
1222 dns_server_address.nxd_ip_address.v4 = server_address; in _nx_dns_server_remove()
[all …]
/NetX-Duo-v6.4.1/addons/dhcp/
Dnxd_dhcp_server.h565 …tr, UINT iface_index, ULONG subnet_mask, ULONG default_gateway_address, ULONG dns_server_address);
580 …tr, UINT iface_index, ULONG subnet_mask, ULONG default_gateway_address, ULONG dns_server_address);
581 …tr, UINT iface_index, ULONG subnet_mask, ULONG default_gateway_address, ULONG dns_server_address);
Dnxd_dhcp_server.c1067 ULONG dns_server_address) in _nxe_dhcp_set_interface_network_parameters() argument
1078 if ((subnet_mask == 0) || (default_gateway_address == 0) || (dns_server_address == 0)) in _nxe_dhcp_set_interface_network_parameters()
1086 dns_server_address); in _nxe_dhcp_set_interface_network_parameters()
1141 ULONG dns_server_address) in _nx_dhcp_set_interface_network_parameters() argument
1163 dhcp_ptr -> nx_dhcp_interface_table[iface_index].nx_dhcp_dns_ip_address = dns_server_address; in _nx_dhcp_set_interface_network_parameters()
Dnxd_dhcpv6_server.c2670 NXD_ADDRESS *dns_server_address; in _nx_dhcpv6_add_option_requests() local
2717 dns_server_address = &dhcpv6_server_ptr -> nx_dhcpv6_dns_ip_address; in _nx_dhcpv6_add_option_requests()
2721 message_word = dns_server_address -> nxd_ip_address.v6[j]; in _nx_dhcpv6_add_option_requests()