/NetX-Duo-v6.2.1/test/regression/netxduo_test/ |
D | netx_ipv6_multicast_basic_test.c | 15 static NX_IP ip_0; variable 65 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 150 status = nxd_ipv6_multicast_interface_join(&ip_0, &group_address[0], 0); in ntest_0_entry() 151 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[1], 0); in ntest_0_entry() 152 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[1], 0); in ntest_0_entry() 153 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[2], 0); in ntest_0_entry() 154 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[2], 0); in ntest_0_entry() 155 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[2], 0); in ntest_0_entry() 156 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[3], 0); in ntest_0_entry() 157 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[3], 0); in ntest_0_entry() [all …]
|
D | netx_icmpv6_destination_table_periodic_test.c | 23 static NX_IP ip_0; variable 648 …status = _nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1,2,3,4), 0xFFFFFF00UL, &pool_0, _n… in test_application_define() 657 status = nxd_ipv6_enable(&ip_0); in test_application_define() 664 status = nxd_icmp_enable(&ip_0); in test_application_define() 686 status = nxd_ipv6_address_set(&ip_0, 0, NX_NULL, 10, NX_NULL); in thread_0_entry() 715 status = nxd_nd_cache_entry_set(&ip_0, dest_ip.nxd_ip_address.v6, 0, mac); in thread_0_entry() 738 _nx_ip_packet_receive(&ip_0, packet_ptr); in thread_0_entry() 744 if ((ip_0.nx_ipv6_destination_table_size != 1) || in thread_0_entry() 745 …(ip_0.nx_ipv6_destination_table[0].nx_ipv6_destination_entry_destination_address[0] != 0xfe800000)… in thread_0_entry() 746 …(ip_0.nx_ipv6_destination_table[0].nx_ipv6_destination_entry_destination_address[1] != 0x00000000)… in thread_0_entry() [all …]
|
D | netx_igmp_multicast_basic_test.c | 17 static NX_IP ip_0; variable 67 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 72 …status += nx_ip_interface_attach(&ip_0, "Second Interface", IP_ADDRESS(2, 2, 3, 4), 0xFFFFFF00UL, … in test_application_define() 75 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 81 status = nx_igmp_enable(&ip_0); in test_application_define() 115 status = nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,1), 0); in ntest_0_entry() 116 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,2), 0); in ntest_0_entry() 117 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,3), 0); in ntest_0_entry() 118 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,4), 0); in ntest_0_entry() 119 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,5), 0); in ntest_0_entry() [all …]
|
D | netx_igmp_branch_test.c | 27 static NX_IP ip_0; variable 78 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 86 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 94 status = nx_igmp_enable(&ip_0); in test_application_define() 127 tx_mutex_get(&(ip_0.nx_ip_protection), TX_WAIT_FOREVER); in thread_0_entry() 134 _nx_igmp_packet_receive(&ip_0, my_packet[0]); in thread_0_entry() 135 ip_0.nx_ip_igmp_queue_head = NX_NULL; in thread_0_entry() 145 _nx_igmp_packet_receive(&ip_0, my_packet[0]); in thread_0_entry() 146 ip_0.nx_ip_igmp_queue_head = NX_NULL; in thread_0_entry() 150 tx_mutex_put(&(ip_0.nx_ip_protection)); in thread_0_entry() [all …]
|
D | netx_arp_branch_test.c | 26 static NX_IP ip_0; variable 85 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 93 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 137 nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, 7), 0x0011, 0x22334457); in thread_0_entry() 138 ip_0.nx_ip_arp_table[10] -> nx_arp_active_list_head = NX_NULL; in thread_0_entry() 139 _nx_arp_static_entry_delete_internal(&ip_0, ip_0.nx_ip_arp_table[10]); in thread_0_entry() 143 ip_0.nx_ip_arp_static_list = &arp_entry; in thread_0_entry() 147 _nx_arp_interface_entries_delete(&ip_0, 0); in thread_0_entry() 150 ip_0.nx_ip_arp_static_list = NX_NULL; in thread_0_entry() 163 ip_0.nx_ip_interface[0].nx_interface_ip_address = 0; in thread_0_entry() [all …]
|
D | netx_ip_branch_test.c | 35 static NX_IP ip_0; variable 333 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 341 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 350 status = nxd_ipv6_enable(&ip_0); in test_application_define() 398 ip_0.nx_ip_link_status_change_callback = link_status_change_callback; in thread_0_entry() 399 ip_0.nx_ip_interface[0].nx_interface_link_status_change = NX_FALSE; in thread_0_entry() 400 _nx_ip_deferred_link_status_process(&ip_0); in thread_0_entry() 401 ip_0.nx_ip_interface[0].nx_interface_link_status_change = NX_TRUE; in thread_0_entry() 402 _nx_ip_deferred_link_status_process(&ip_0); in thread_0_entry() 405 ip_0.nx_ip_link_status_change_callback = NX_NULL; in thread_0_entry() [all …]
|
D | netx_ipv6_branch_test.c | 28 static NX_IP ip_0; variable 81 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 89 status = nx_ip_interface_attach(&ip_0, "Second Interface", IP_ADDRESS(2, 2, 3, 4), 0xFFFFFF00UL, in test_application_define() 97 status = nxd_icmp_enable(&ip_0); in test_application_define() 104 status = nxd_ipv6_enable(&ip_0); in test_application_define() 171 _nx_ipv6_prefix_list_add_entry(&ip_0, prefix_address, 64, 100); in thread_0_entry() 172 _nx_ipv6_prefix_list_delete(&ip_0, prefix_address, 48); in thread_0_entry() 174 _nx_ipv6_prefix_list_delete(&ip_0, prefix_address, 64); in thread_0_entry() 176 _nx_ipv6_prefix_list_delete(&ip_0, prefix_address, 64); in thread_0_entry() 185 nxd_ipv6_address_set(&ip_0, 0, &ipv6_address, 64, NX_NULL); in thread_0_entry() [all …]
|
D | netx_ip_multicast_interface_detach_test.c | 15 static NX_IP ip_0; variable 65 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 74 …status = nx_ip_interface_attach(&ip_0, "2nd interface", IP_ADDRESS(2, 2, 3, 4), 0xFFFFFF00UL, _nx_… in test_application_define() 81 status = nx_igmp_enable(&ip_0); in test_application_define() 109 status = nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,1), 1); in ntest_0_entry() 110 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,2), 1); in ntest_0_entry() 111 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,3), 1); in ntest_0_entry() 112 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,4), 1); in ntest_0_entry() 113 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,5), 1); in ntest_0_entry() 114 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,6), 1); in ntest_0_entry() [all …]
|
D | netx_igmp_loopback_test.c | 20 static NX_IP ip_0; variable 70 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 74 …status += nx_ip_interface_attach(&ip_0,"Second Interface",IP_ADDRESS(2,2,3,4),0xFFFFFF00UL, _nx_r… in test_application_define() 77 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 83 status = nx_igmp_enable(&ip_0); in test_application_define() 90 status = nx_udp_enable(&ip_0); in test_application_define() 128 … nx_ip_interface_capability_set(&ip_0, TEST_INTERFACE, NX_INTERFACE_CAPABILITY_IPV4_TX_CHECKSUM | in ntest_0_entry() 138 status = nx_igmp_loopback_enable(&ip_0); in ntest_0_entry() 141 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,1),TEST_INTERFACE); in ntest_0_entry() 142 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,2),TEST_INTERFACE); in ntest_0_entry() [all …]
|
D | netx_caller_check_test.c | 24 static NX_IP ip_0; variable 85 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 93 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 101 status = nx_udp_enable(&ip_0); in test_application_define() 108 status = nx_tcp_enable(&ip_0); in test_application_define() 115 status = nx_igmp_enable(&ip_0); in test_application_define() 122 status = nxd_icmp_enable(&ip_0); in test_application_define() 142 if (nx_ip_raw_packet_enable(&ip_0) != NX_CALLER_ERROR) in test_process() 146 if (nx_ip_raw_packet_disable(&ip_0) != NX_CALLER_ERROR) in test_process() 150 if (nx_ip_raw_receive_queue_max_set(&ip_0, 0) != NX_CALLER_ERROR) in test_process() [all …]
|
D | netx_nd_cache_branch_test.c | 22 static NX_IP ip_0; variable 73 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 81 status = nxd_icmp_enable(&ip_0); in test_application_define() 88 status = nxd_ipv6_enable(&ip_0); in test_application_define() 120 ip_0.nx_ipv6_destination_table_size = NX_IPV6_DESTINATION_TABLE_SIZE + 1; in thread_0_entry() 121 _nx_nd_cache_delete_internal(&ip_0, &ip_0.nx_ipv6_nd_cache[0]); in thread_0_entry() 122 ip_0.nx_ipv6_destination_table_size = 0; in thread_0_entry() 126 ip_0.nx_ipv6_nd_cache[0].nx_nd_cache_nd_status = ND_CACHE_STATE_CREATED; in thread_0_entry() 127 ip_0.nx_ipv6_nd_cache[0].nx_nd_cache_interface_ptr = NX_NULL; in thread_0_entry() 132 _nx_nd_cache_find_entry(&ip_0, address_1, &cache_entry); in thread_0_entry() [all …]
|
D | netx_ipv6_multicast_interface_detach_test.c | 15 static NX_IP ip_0; variable 65 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 74 …status = nx_ip_interface_attach(&ip_0, "2nd interface", IP_ADDRESS(2, 2, 3, 4), 0xFFFFFF00UL, _nx_… in test_application_define() 158 status = nxd_ipv6_multicast_interface_join(&ip_0, &group_address[0], 1); in ntest_0_entry() 159 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[1], 1); in ntest_0_entry() 160 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[1], 1); in ntest_0_entry() 161 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[2], 1); in ntest_0_entry() 162 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[2], 1); in ntest_0_entry() 163 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[2], 1); in ntest_0_entry() 164 status += nxd_ipv6_multicast_interface_join(&ip_0, &group_address[3], 1); in ntest_0_entry() [all …]
|
D | netx_igmp_basic_test.c | 18 static NX_IP ip_0; variable 68 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 73 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 79 status = nx_igmp_enable(&ip_0); in test_application_define() 112 status = nx_igmp_multicast_join(&ip_0, IP_ADDRESS(224,0,0,1)); in ntest_0_entry() 113 status += nx_igmp_multicast_join(&ip_0, IP_ADDRESS(224,0,0,2)); in ntest_0_entry() 114 status += nx_igmp_multicast_join(&ip_0, IP_ADDRESS(224,0,0,3)); in ntest_0_entry() 115 status += nx_igmp_multicast_join(&ip_0, IP_ADDRESS(224,0,0,4)); in ntest_0_entry() 116 status += nx_igmp_multicast_join(&ip_0, IP_ADDRESS(224,0,0,5)); in ntest_0_entry() 117 status += nx_igmp_multicast_join(&ip_0, IP_ADDRESS(224,0,0,6)); in ntest_0_entry() [all …]
|
D | netx_igmp_nxe_api_test.c | 20 static NX_IP ip_0; variable 67 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFF000UL, &pool_0, … in test_application_define() 129 status = nx_igmp_enable(&ip_0); in thread_0_entry() 140 status = nx_igmp_enable(&ip_0); in thread_0_entry() 180 ip_0.nx_ip_igmp_packet_receive = NX_NULL; in thread_0_entry() 183 …status = nx_igmp_info_get(&ip_0, &igmp_reports_sent, &igmp_queries_received, &igmp_checksum_errors… in thread_0_entry() 223 ip_0.nx_ip_igmp_packet_receive = NX_NULL; in thread_0_entry() 226 status = nx_igmp_loopback_disable(&ip_0); in thread_0_entry() 266 ip_0.nx_ip_igmp_packet_receive = NX_NULL; in thread_0_entry() 269 status = nx_igmp_loopback_enable(&ip_0); in thread_0_entry() [all …]
|
D | netx_nd_cache_add_test.c | 20 static NX_IP ip_0; variable 71 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 83 status = nxd_ipv6_enable(&ip_0); in test_application_define() 91 status = nxd_icmp_enable(&ip_0); in test_application_define() 106 status = nxd_ipv6_address_set(&ip_0, 0, &global_address_0, 64, NX_NULL); in test_application_define() 156 …status = nxd_icmp_ping(&ip_0, &global_address_1, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet, NX_… in ntest_0_entry() 175 …x_nd_cache_add(&ip_0, &global_address_1.nxd_ip_address.v6[0], &ip_0.nx_ip_interface[0], &mac_addre… in ntest_0_entry() 195 …_nd_cache_add(&ip_0, &global_address_1.nxd_ip_address.v6[0], &ip_0.nx_ip_interface[0], &mac_addres… in ntest_0_entry() 215 …_nd_cache_add(&ip_0, &global_address_1.nxd_ip_address.v6[0], &ip_0.nx_ip_interface[0], &mac_addres… in ntest_0_entry() 235 …_nd_cache_add(&ip_0, &global_address_1.nxd_ip_address.v6[0], &ip_0.nx_ip_interface[0], &mac_addres… in ntest_0_entry() [all …]
|
D | netx_icmpv6_branch_test.c | 24 static NX_IP ip_0; variable 145 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 153 status = nxd_icmp_enable(&ip_0); in test_application_define() 160 status = nxd_ipv6_enable(&ip_0); in test_application_define() 207 nxd_ipv6_address_set(&ip_0, 0, &ipv6_address, 64, NX_NULL); in thread_0_entry() 214 nxd_ipv6_address_set(&ip_0, 0, &ipv6_address, 64, NX_NULL); in thread_0_entry() 221 nxd_ipv6_address_set(&ip_0, 0, &ipv6_address, 64, NX_NULL); in thread_0_entry() 223 _nx_icmpv6_DAD_failure(&ip_0, &ip_0.nx_ipv6_address[2]); in thread_0_entry() 224 _nx_icmpv6_DAD_failure(&ip_0, &ip_0.nx_ipv6_address[1]); in thread_0_entry() 226 nxd_ipv6_address_delete(&ip_0, 0); in thread_0_entry() [all …]
|
D | netx_ip_delete_test.c | 26 static NX_IP ip_0; variable 93 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 9), 0xFFFFFF00UL, &pool_0, … in test_application_define() 100 status = nx_arp_enable(&ip_0, arp_stack, sizeof(arp_stack)); in test_application_define() 106 status = nx_tcp_enable(&ip_0); in test_application_define() 112 status = nx_udp_enable(&ip_0); in test_application_define() 144 status = nx_tcp_socket_create(&ip_0, &client_socket, "Client Socket", in ntest_0_entry() 167 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in ntest_0_entry() 188 status = nx_ip_delete(&ip_0); in ntest_0_entry() 220 status = nx_ip_delete(&ip_0); in ntest_0_entry() 231 status = nx_tcp_socket_create(&ip_0, &client_socket, "Client Socket", in ntest_0_entry() [all …]
|
D | netx_icmpv6_redirect_test.c | 22 static NX_IP ip_0; variable 165 …status = _nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1,2,3,4), 0xFFFFFF00UL, &pool_0, _n… in test_application_define() 174 status = nxd_ipv6_enable(&ip_0); in test_application_define() 181 status = nxd_icmp_enable(&ip_0); in test_application_define() 228 status = nxd_ipv6_address_set(&ip_0, 0, NX_NULL, 10, NX_NULL); in thread_0_entry() 229 status += nxd_ipv6_address_set(&ip_0, 0, &src, 64, NX_NULL); in thread_0_entry() 256 _nx_ip_packet_deferred_receive(&ip_0, packet_ptr); in thread_0_entry() 260 if (ip_0.nx_ipv6_destination_table_size != 0) in thread_0_entry() 266 nxd_ipv6_default_router_add(&ip_0, &router, 60, 0); in thread_0_entry() 283 _nx_ip_packet_deferred_receive(&ip_0, packet_ptr); in thread_0_entry() [all …]
|
D | netx_arp_entry_abnormal_operation_test.c | 22 static NX_IP ip_0; variable 76 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 82 …status += nx_ip_interface_attach(&ip_0,"Second Interface",IP_ADDRESS(2,2,3,4),0xFFFFFF00UL, _nx_r… in test_application_define() 87 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 93 status = nx_icmp_enable(&ip_0); in test_application_define() 132 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(2, 2, 3, 5), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry() 151 if (ip_0.nx_ip_arp_dynamic_active_count != 1) in ntest_0_entry() 160 if (ip_0.nx_ip_arp_static_entries != 0) in ntest_0_entry() 173 status = nx_arp_dynamic_entry_set(&ip_0, IP_ADDRESS(2, 2, 3, 5), 0x0011, 0x22334467); in ntest_0_entry() 192 if (ip_0.nx_ip_arp_dynamic_active_count != 1) in ntest_0_entry() [all …]
|
D | netx_ipv6_address_set_test.c | 20 static NX_IP ip_0; variable 92 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1,2,3,4), 0xFFFFFF00UL, &pool_0, _nx… in test_application_define() 177 status = nxd_ipv6_enable(&ip_0); in test_application_define() 204 …status = nx_ip_interface_attach(&ip_0, "2nd interface", 0x02010101, 0xFFFFFF00, _nx_ram_network_dr… in thread_0_entry() 214 status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, &multicast_addr, 64, NX_NULL); in thread_0_entry() 223 status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, &if0_lla, 64, NX_NULL); in thread_0_entry() 231 status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, &if0_ga1, 64, NX_NULL); in thread_0_entry() 239 status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, &if0_ga2, 64, NX_NULL); in thread_0_entry() 247 status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, NX_NULL, 10, &link_local_address_index); in thread_0_entry() 255 status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, NX_NULL, 10, NX_NULL); in thread_0_entry() [all …]
|
D | netx_icmp_nxe_api_test.c | 23 static NX_IP ip_0; variable 77 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFF000UL, &pool_0, … in test_application_define() 94 status = nxd_ipv6_address_set(&ip_0, 0, &ipv6_address, 64, NX_NULL); in test_application_define() 160 status = nx_icmp_enable(&ip_0); in thread_0_entry() 171 status = nx_icmp_enable(&ip_0); in thread_0_entry() 211 ip_0.nx_ip_icmp_packet_receive = NX_NULL; in thread_0_entry() 214 …status = nx_icmp_info_get(&ip_0, &pings_sent, &ping_timeouts, &ping_threads_suspended, &ping_respo… in thread_0_entry() 254 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 5), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, NX_NULL, NX… in thread_0_entry() 266 …status = nx_icmp_ping(&ip_0, NX_NULL, "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet, NX_IP_PERIODIC… in thread_0_entry() 277 ip_0.nx_ip_icmp_packet_receive = NX_NULL; in thread_0_entry() [all …]
|
D | netx_ip_packet_filter_extended_test.c | 15 static NX_IP ip_0; variable 69 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 83 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 95 status = nx_icmp_enable(&ip_0); in test_application_define() 105 status = nxd_ipv6_enable(&ip_0); in test_application_define() 113 status = nxd_icmp_enable(&ip_0); in test_application_define() 128 status = nxd_ipv6_address_set(&ip_0, 0, &global_address_0, 64, NX_NULL); in test_application_define() 179 ip_0.nx_ip_packet_filter_extended = NX_NULL; in ntest_0_entry() 181 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 5), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet,… in ntest_0_entry() 195 if ((ip_0.nx_ip_pings_sent != test_sent) || in ntest_0_entry() [all …]
|
D | netx_ip_packet_filter_test.c | 15 static NX_IP ip_0; variable 69 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 83 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 95 status = nx_icmp_enable(&ip_0); in test_application_define() 105 status = nxd_ipv6_enable(&ip_0); in test_application_define() 113 status = nxd_icmp_enable(&ip_0); in test_application_define() 128 status = nxd_ipv6_address_set(&ip_0, 0, &global_address_0, 64, NX_NULL); in test_application_define() 179 ip_0.nx_ip_packet_filter = NX_NULL; in ntest_0_entry() 181 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 5), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet,… in ntest_0_entry() 195 if ((ip_0.nx_ip_pings_sent != test_sent) || in ntest_0_entry() [all …]
|
D | netx_icmp_branch_test.c | 21 static NX_IP ip_0; variable 73 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define() 81 status = nx_arp_enable(&ip_0, (void *) pointer, 1024); in test_application_define() 89 status = nx_udp_enable(&ip_0); in test_application_define() 96 status = nx_tcp_enable(&ip_0); in test_application_define() 103 status = nx_icmp_enable(&ip_0); in test_application_define() 141 tx_mutex_get(&(ip_0.nx_ip_protection), TX_WAIT_FOREVER); in thread_0_entry() 148 _nx_icmp_packet_receive(&ip_0, my_packet[0]); in thread_0_entry() 149 ip_0.nx_ip_icmp_queue_head = NX_NULL; in thread_0_entry() 159 _nx_icmp_packet_receive(&ip_0, my_packet[0]); in thread_0_entry() [all …]
|
D | netx_ipv6_address_delete_test.c | 22 static NX_IP ip_0; variable 93 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1,2,3,4), 0xFFFFFF00UL, &pool_0, _nx… in test_application_define() 168 status = nxd_ipv6_enable(&ip_0); in test_application_define() 190 …status = nx_ip_interface_attach(&ip_0, "2nd interface", 0x02010101, 0xFFFFFF00, _nx_ram_network_dr… in thread_0_entry() 199 status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, &if0_lla, 64, &if0_lla_index); in thread_0_entry() 207 status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, &if0_ga0, 64, &if0_ga0_index); in thread_0_entry() 215 status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, &if0_ga1, 64, &if0_ga1_index); in thread_0_entry() 223 status = nxd_ipv6_address_set(&ip_0, PRIMARY_INTERFACE, &if0_ga2, 64, &if0_ga2_index); in thread_0_entry() 231 status = nxd_ipv6_address_set(&ip_0, SECONDARY_INTERFACE, &if1_ga0, 64, &if1_ga0_index); in thread_0_entry() 239 status = nxd_ipv6_address_set(&ip_0, SECONDARY_INTERFACE, &if1_ga1, 64, &if1_ga1_index); in thread_0_entry() [all …]
|