/NetX-Duo-v6.3.0/common/src/ |
D | nxd_ipv6_interface_find.c | 82 NXD_IPV6_ADDRESS *ipv6_address; in _nxd_ipv6_interface_find() local 183 for (ipv6_address = ip_ptr -> nx_ip_interface[i].nxd_interface_ipv6_address_list_head; in _nxd_ipv6_interface_find() 184 ipv6_address; in _nxd_ipv6_interface_find() 185 ipv6_address = ipv6_address -> nxd_ipv6_address_next) in _nxd_ipv6_interface_find() 189 if (ipv6_address -> nxd_ipv6_address_state != NX_IPV6_ADDR_STATE_VALID) in _nxd_ipv6_interface_find() 198 if (IPv6_Address_Type(ipv6_address -> nxd_ipv6_address) & IPV6_ADDRESS_LINKLOCAL) in _nxd_ipv6_interface_find() 205 … else if (_nxd_ipv6_find_max_prefix_length(dest_address, ipv6_address -> nxd_ipv6_address, in _nxd_ipv6_interface_find() 206 … ipv6_address -> nxd_ipv6_address_prefix_length) >= in _nxd_ipv6_interface_find() 207 ipv6_address -> nxd_ipv6_address_prefix_length) in _nxd_ipv6_interface_find() 226 … if (IPv6_Address_Type(ipv6_address -> nxd_ipv6_address) & IPV6_ADDRESS_LINKLOCAL) in _nxd_ipv6_interface_find() [all …]
|
D | nxd_ipv6_address_delete.c | 80 NXD_IPV6_ADDRESS *ipv6_address, *address_list; in _nxd_ipv6_address_delete() local 97 ipv6_address = &ip_ptr -> nx_ipv6_address[address_index]; in _nxd_ipv6_address_delete() 100 if (ipv6_address -> nxd_ipv6_address_valid) in _nxd_ipv6_address_delete() 104 … address_list = ipv6_address -> nxd_ipv6_address_attached -> nxd_interface_ipv6_address_list_head; in _nxd_ipv6_address_delete() 108 if (ipv6_address == address_list) in _nxd_ipv6_address_delete() 111 …ipv6_address -> nxd_ipv6_address_attached -> nxd_interface_ipv6_address_list_head = ipv6_address -… in _nxd_ipv6_address_delete() 117 while (address_list && (address_list -> nxd_ipv6_address_next != ipv6_address)) in _nxd_ipv6_address_delete() 127 address_list -> nxd_ipv6_address_next = ipv6_address -> nxd_ipv6_address_next; in _nxd_ipv6_address_delete() 136 … SET_SOLICITED_NODE_MULTICAST_ADDRESS(multicast_address, ipv6_address -> nxd_ipv6_address); in _nxd_ipv6_address_delete() 138 …_nx_ipv6_multicast_leave(ip_ptr, &multicast_address[0], ipv6_address -> nxd_ipv6_address_attached); in _nxd_ipv6_address_delete() [all …]
|
D | nx_icmpv6_DAD_failure.c | 85 VOID _nx_icmpv6_DAD_failure(NX_IP *ip_ptr, NXD_IPV6_ADDRESS *ipv6_address) in _nx_icmpv6_DAD_failure() argument 94 ipv6_address -> nxd_ipv6_address_state = NX_IPV6_ADDR_STATE_UNKNOWN; in _nx_icmpv6_DAD_failure() 95 ipv6_address -> nxd_ipv6_address_valid = NX_FALSE; in _nx_icmpv6_DAD_failure() 98 ipv6_address -> nxd_ipv6_address_DupAddrDetectTransmit = 0; in _nx_icmpv6_DAD_failure() 102 ipv6_addr_index = (ULONG)ipv6_address -> nxd_ipv6_address_index; in _nx_icmpv6_DAD_failure() 103 interface_index = (ULONG)ipv6_address -> nxd_ipv6_address_attached -> nx_interface_index; in _nx_icmpv6_DAD_failure() 104 …_ptr, NX_IPV6_ADDRESS_DAD_FAILURE, interface_index, ipv6_addr_index, &ipv6_address -> nxd_ipv6_add… in _nx_icmpv6_DAD_failure() 111 …if (ipv6_address == ipv6_address -> nxd_ipv6_address_attached -> nxd_interface_ipv6_address_list_h… in _nx_icmpv6_DAD_failure() 113 …ipv6_address -> nxd_ipv6_address_attached -> nxd_interface_ipv6_address_list_head = ipv6_address -… in _nx_icmpv6_DAD_failure() 118 …for (address_ptr = ipv6_address -> nxd_ipv6_address_attached -> nxd_interface_ipv6_address_list_he… in _nx_icmpv6_DAD_failure() [all …]
|
D | nxd_ipv6_default_router_add_internal.c | 100 NXD_IPV6_ADDRESS *ipv6_address; in _nxd_ipv6_default_router_add_internal() local 120 ipv6_address = if_ptr -> nxd_interface_ipv6_address_list_head; in _nxd_ipv6_default_router_add_internal() 121 while (ipv6_address) in _nxd_ipv6_default_router_add_internal() 125 if (_nxd_ipv6_find_max_prefix_length(router_addr, ipv6_address -> nxd_ipv6_address, in _nxd_ipv6_default_router_add_internal() 126 … ipv6_address -> nxd_ipv6_address_prefix_length) >= ipv6_address -> nxd_ipv6_address_prefix_length) in _nxd_ipv6_default_router_add_internal() 134 ipv6_address = ipv6_address -> nxd_ipv6_address_next; in _nxd_ipv6_default_router_add_internal() 137 if (ipv6_address == NX_NULL) in _nxd_ipv6_default_router_add_internal()
|
D | nxd_ipv6_search_onlink.c | 79 NXD_IPV6_ADDRESS *ipv6_address; in _nxd_ipv6_search_onlink() local 113 ipv6_address = &ip_ptr -> nx_ipv6_address[addr_index]; in _nxd_ipv6_search_onlink() 115 if (!(ipv6_address -> nxd_ipv6_address_valid)) in _nxd_ipv6_search_onlink() 121 if (ipv6_address -> nxd_ipv6_address_ConfigurationMethod != NX_IPV6_ADDRESS_MANUAL_CONFIG) in _nxd_ipv6_search_onlink() 128 ipv6_address -> nxd_ipv6_address, in _nxd_ipv6_search_onlink() 129 ipv6_address -> nxd_ipv6_address_prefix_length)) in _nxd_ipv6_search_onlink()
|
D | nx_icmpv6_process_ra.c | 360 NXD_IPV6_ADDRESS *ipv6_address; in _nx_icmpv6_process_ra() local 391 ipv6_address = &ip_ptr -> nx_ipv6_address[first_unused]; in _nx_icmpv6_process_ra() 401 ipv6_address -> nxd_ipv6_address_valid = NX_TRUE; in _nx_icmpv6_process_ra() 402 ipv6_address -> nxd_ipv6_address_type = NX_IP_VERSION_V6; in _nx_icmpv6_process_ra() 404 ipv6_address -> nxd_ipv6_address_attached = if_ptr; in _nx_icmpv6_process_ra() 405 … ipv6_address -> nxd_ipv6_address[0] = prefix_ptr -> nx_icmpv6_option_prefix[0]; in _nx_icmpv6_process_ra() 406 … ipv6_address -> nxd_ipv6_address[1] = prefix_ptr -> nx_icmpv6_option_prefix[1]; in _nx_icmpv6_process_ra() 407 ipv6_address -> nxd_ipv6_address[2] = word2; in _nx_icmpv6_process_ra() 408 ipv6_address -> nxd_ipv6_address[3] = word3; in _nx_icmpv6_process_ra() 410 … ipv6_address -> nxd_ipv6_address_next = if_ptr -> nxd_interface_ipv6_address_list_head; in _nx_icmpv6_process_ra() [all …]
|
D | nx_icmp_interface_ping6.c | 107 … NXD_IPV6_ADDRESS *ipv6_address, NX_PACKET **response_ptr, ULONG wait_option) in _nx_icmp_interface_ping6() argument 145 COPY_IPV6_ADDRESS(ipv6_address -> nxd_ipv6_address, src_addr.nxd_ip_address.v6); in _nx_icmp_interface_ping6() 218 request_ptr -> nx_packet_address.nx_packet_ipv6_address_ptr = ipv6_address; in _nx_icmp_interface_ping6() 249 …echo_header_ptr -> nx_icmpv6_echo_identifier = (USHORT)(ipv6_address -> nxd_ipv6_address[3] & NX_L… in _nx_icmp_interface_ping6() 263 …if (ipv6_address -> nxd_ipv6_address_attached -> nx_interface_capability_flag & NX_INTERFACE_CAPAB… in _nx_icmp_interface_ping6() 286 ipv6_address -> nxd_ipv6_address, in _nx_icmp_interface_ping6() 380 ipv6_address -> nxd_ipv6_address, in _nx_icmp_interface_ping6()
|
D | nx_icmpv6_dest_table_add.c | 93 ULONG path_mtu, ULONG mtu_timeout, NXD_IPV6_ADDRESS *ipv6_address) in _nx_icmpv6_dest_table_add() argument 184 …status = _nx_nd_cache_add_entry(ip_ptr, next_hop, ipv6_address, &ip_ptr -> nx_ipv6_destination_tab… in _nx_icmpv6_dest_table_add() 213 …ip_ptr -> nx_ipv6_destination_table[i].nx_ipv6_destination_entry_path_mtu = ipv6_address -> nxd_ip… in _nx_icmpv6_dest_table_add() 227 …-> nx_ipv6_destination_table[i].nx_ipv6_destination_entry_path_mtu == ipv6_address -> nxd_ipv6_add… in _nx_icmpv6_dest_table_add()
|
D | nx_ip_interface_detach.c | 95 NXD_IPV6_ADDRESS *ipv6_address; in _nx_ip_interface_detach() local 293 ipv6_address = next_ipv6_address; in _nx_ip_interface_detach() 295 memset(ipv6_address, 0, sizeof(NXD_IPV6_ADDRESS)); in _nx_ip_interface_detach()
|
/NetX-Duo-v6.3.0/utility/iperf/ |
D | demo_iperf.c | 39 NXD_ADDRESS ipv6_address; variable 130 ipv6_address.nxd_ip_address.v6[3] = 0x3; in tx_application_define() 131 ipv6_address.nxd_ip_address.v6[2] = 0x0; in tx_application_define() 132 ipv6_address.nxd_ip_address.v6[1] = 0x0; in tx_application_define() 133 ipv6_address.nxd_ip_address.v6[0] = 0xfe800000; in tx_application_define() 134 ipv6_address.nxd_ip_version = NX_IP_VERSION_V6; in tx_application_define() 146 status = nxd_ipv6_address_set(&ip_0, 0, &ipv6_address, 10, NX_NULL); in tx_application_define()
|
/NetX-Duo-v6.3.0/samples/ |
D | demo_netxduo_dhcpv6_client.c | 185 NXD_ADDRESS ipv6_address; in thread_client_entry() local 246 memset(&ipv6_address,0x0, sizeof(NXD_ADDRESS)); in thread_client_entry() 247 ipv6_address.nxd_ip_version = NX_IP_VERSION_V6; in thread_client_entry() 248 ipv6_address.nxd_ip_address.v6[0] = 0x3ffe0501; in thread_client_entry() 249 ipv6_address.nxd_ip_address.v6[1] = 0xffff0100; in thread_client_entry() 250 ipv6_address.nxd_ip_address.v6[2] = 0x00000000; in thread_client_entry() 251 ipv6_address.nxd_ip_address.v6[3] = 0x0000abcd; in thread_client_entry() 258 …status = nx_dhcpv6_add_client_ia(&dhcp_client, &ipv6_address,DHCPV6_RENEW_TIME, DHCPV6_REBIND_TIME… in thread_client_entry() 271 memset(&ipv6_address,0x0, sizeof(NXD_ADDRESS)); in thread_client_entry() 272 ipv6_address.nxd_ip_version = NX_IP_VERSION_V6; in thread_client_entry() [all …]
|
D | demo_netx_duo_udp.c | 216 NXD_ADDRESS ipv6_address; in thread_0_entry() local 237 ipv6_address.nxd_ip_version = NX_IP_VERSION_V6; in thread_0_entry() 238 ipv6_address.nxd_ip_address.v6[0] = 0x20010000; in thread_0_entry() 239 ipv6_address.nxd_ip_address.v6[1] = 0; in thread_0_entry() 240 ipv6_address.nxd_ip_address.v6[2] = 0; in thread_0_entry() 241 ipv6_address.nxd_ip_address.v6[3] = 2; in thread_0_entry() 298 status = nxd_udp_socket_send(&socket_0, my_packet, &ipv6_address, 0x89); in thread_0_entry()
|
D | demo_netxduo_dns.c | 407 (UINT)(ipv6_address_ptr[i] -> ipv6_address[0] >>16 & 0xFFFF), in thread_client_entry() 408 (UINT)(ipv6_address_ptr[i] -> ipv6_address[0] & 0xFFFF), in thread_client_entry() 409 (UINT)(ipv6_address_ptr[i] -> ipv6_address[1] >>16 & 0xFFFF), in thread_client_entry() 410 (UINT)(ipv6_address_ptr[i] -> ipv6_address[1] & 0xFFFF), in thread_client_entry() 411 (UINT)(ipv6_address_ptr[i] -> ipv6_address[2] >>16 & 0xFFFF), in thread_client_entry() 412 (UINT)(ipv6_address_ptr[i] -> ipv6_address[2] & 0xFFFF), in thread_client_entry() 413 (UINT)(ipv6_address_ptr[i] -> ipv6_address[3] >>16 & 0xFFFF), in thread_client_entry() 414 (UINT)(ipv6_address_ptr[i] -> ipv6_address[3] & 0xFFFF)); in thread_client_entry()
|
D | demo_netxduo_dhcpv6.c | 164 NXD_ADDRESS ipv6_address; in thread_client_entry() local 284 …status = nx_dhcpv6_get_valid_ip_address_lease_time(&dhcp_client, address_index, &ipv6_address, &pr… in thread_client_entry() 292 status = nx_dhcpv6_get_IP_address(&dhcp_client, &ipv6_address); in thread_client_entry()
|
D | demo_netx_duo_mdns.c | 330 ULONG ipv6_address[4]; in perform_service_lookup() local 388 …host_address_get(&mdns, service_instance.service_host, &ipv4_address, ipv6_address, query_timeout); in perform_service_lookup()
|
/NetX-Duo-v6.3.0/common/inc/ |
D | nx_icmpv6.h | 347 CHAR *data_ptr, ULONG data_size, NXD_IPV6_ADDRESS *ipv6_address, 401 ULONG path_mtu, ULONG mtu_timeout, NXD_IPV6_ADDRESS *ipv6_address); 408 VOID _nx_icmpv6_DAD_failure(NX_IP *ip_ptr, NXD_IPV6_ADDRESS *ipv6_address);
|
/NetX-Duo-v6.3.0/addons/dhcp/ |
D | nxd_dhcpv6_client.c | 1835 UINT _nxe_dhcpv6_add_client_ia(NX_DHCPV6 *dhcpv6_ptr, NXD_ADDRESS *ipv6_address, in _nxe_dhcpv6_add_client_ia() argument 1843 if (!dhcpv6_ptr || !ipv6_address) in _nxe_dhcpv6_add_client_ia() 1850 if ((ipv6_address -> nxd_ip_address.v6[0] == 0) && in _nxe_dhcpv6_add_client_ia() 1851 (ipv6_address -> nxd_ip_address.v6[1] == 0) && in _nxe_dhcpv6_add_client_ia() 1852 (ipv6_address -> nxd_ip_address.v6[2] == 0) && in _nxe_dhcpv6_add_client_ia() 1853 (ipv6_address -> nxd_ip_address.v6[3] == 0)) in _nxe_dhcpv6_add_client_ia() 1876 … status = _nx_dhcpv6_add_client_ia(dhcpv6_ptr, ipv6_address, preferred_lifetime, valid_lifetime); in _nxe_dhcpv6_add_client_ia() 1929 UINT _nx_dhcpv6_add_client_ia(NX_DHCPV6 *dhcpv6_ptr, NXD_ADDRESS *ipv6_address, in _nx_dhcpv6_add_client_ia() argument 1938 …r -> nx_dhcpv6_ia[ia_index].nx_global_address.nxd_ip_address.v6[0] == ipv6_address->nxd_ip_address… in _nx_dhcpv6_add_client_ia() 1939 …r -> nx_dhcpv6_ia[ia_index].nx_global_address.nxd_ip_address.v6[1] == ipv6_address->nxd_ip_address… in _nx_dhcpv6_add_client_ia() [all …]
|
D | nxd_dhcpv6_client.h | 901 UINT nx_dhcpv6_create_client_ia(NX_DHCPV6 *dhcpv6_ptr, NXD_ADDRESS *ipv6_address, ULONG pref… 902 UINT nx_dhcpv6_add_client_ia(NX_DHCPV6 *dhcpv6_ptr, NXD_ADDRESS *ipv6_address, ULONG preferr… 954 UINT _nxe_dhcpv6_add_client_ia(NX_DHCPV6 *dhcpv6_ptr, NXD_ADDRESS *ipv6_address, ULONG prefe… 955 UINT _nx_dhcpv6_add_client_ia(NX_DHCPV6 *dhcpv6_ptr, NXD_ADDRESS *ipv6_address, ULONG prefer… 1067 …otify(NX_IP *ip_ptr, UINT status, UINT interface_index, UINT ipv6_addr_index, ULONG *ipv6_address);
|
/NetX-Duo-v6.3.0/addons/mdns/ |
D | nxd_mdns.c | 120 …s_change_notify(NX_IP *ip_ptr, UINT method, UINT interface_index, UINT index, ULONG *ipv6_address); 1689 NXD_IPV6_ADDRESS *ipv6_address; in _nx_mdns_enable() local 1714 ipv6_address = interface_ptr -> nxd_interface_ipv6_address_list_head; in _nx_mdns_enable() 1717 while (ipv6_address) in _nx_mdns_enable() 1721 if (IPv6_Address_Type(ipv6_address -> nxd_ipv6_address) & IPV6_ADDRESS_LINKLOCAL) in _nx_mdns_enable() 1725 ipv6_address = ipv6_address -> nxd_ipv6_address_next; in _nx_mdns_enable() 1729 if(ipv6_address) in _nx_mdns_enable() 1733 … mdns_ptr -> nx_mdns_ipv6_address_index[interface_index] = ipv6_address -> nxd_ipv6_address_index; in _nx_mdns_enable() 4727 …s_get(NX_MDNS *mdns_ptr, UCHAR *host_name, ULONG *ipv4_address, ULONG *ipv6_address, UINT timeout) in _nxe_mdns_host_address_get() argument 4746 status = _nx_mdns_host_address_get(mdns_ptr, host_name, ipv4_address, ipv6_address, timeout); in _nxe_mdns_host_address_get() [all …]
|
D | nxd_mdns.h | 1324 …s_get(NX_MDNS *mdns_ptr, UCHAR *host_name, ULONG *ipv4_address, ULONG *ipv6_address, UINT timeout); 1325 …s_get(NX_MDNS *mdns_ptr, UCHAR *host_name, ULONG *ipv4_address, ULONG *ipv6_address, UINT timeout);
|
/NetX-Duo-v6.3.0/addons/dns/ |
D | nxd_dns.h | 382 ULONG ipv6_address[4]; member
|
D | nxd_dns.c | 5742 ULONG ipv6_address; in _nx_dns_process_aaaa_type() local 5841 ipv6_address = _nx_dns_network_to_long_convert(data_ptr); in _nx_dns_process_aaaa_type() 5843 ipv6_address_ptr -> ipv6_address[i] = ipv6_address; in _nx_dns_process_aaaa_type()
|