Home
last modified time | relevance | path

Searched refs:IP_ADDRESS (Results 1 – 25 of 1357) sorted by relevance

12345678910>>...55

/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_igmp_multicast_basic_test.c67 …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()
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()
120 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,7), 0); in ntest_0_entry()
124 status += nx_ipv4_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,6), 0); in ntest_0_entry()
126 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,6), 0); in ntest_0_entry()
[all …]
Dnetx_igmp_loopback_test.c70 …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()
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()
143 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,3),TEST_INTERFACE); in ntest_0_entry()
144 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,4),TEST_INTERFACE); in ntest_0_entry()
145 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,5),TEST_INTERFACE); in ntest_0_entry()
146 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,6),TEST_INTERFACE); in ntest_0_entry()
147 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,7),TEST_INTERFACE); in ntest_0_entry()
150 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,4),TEST_INTERFACE); in ntest_0_entry()
[all …]
Dnetx_igmp_basic_test.c68 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_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()
118 status += nx_igmp_multicast_join(&ip_0, IP_ADDRESS(224,0,0,7)); in ntest_0_entry()
121 status += nx_igmp_multicast_join(&ip_0, IP_ADDRESS(224,0,0,4)); in ntest_0_entry()
122 status += nx_igmp_multicast_join(&ip_0, IP_ADDRESS(224,0,0,4)); in ntest_0_entry()
[all …]
Dnetx_ip_interface_detachment_arp_table_test.c58 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
63 …status += nx_ip_create(&ip_1, "NetX IP Instance 1", IP_ADDRESS(1, 2, 3, 5), 0xFFFFFF00UL, &pool_0,… in test_application_define()
70 …status = nx_ip_interface_attach(&ip_0, "2nd interface", IP_ADDRESS(4, 3, 2, 10), 0xFF000000, _nx_r… in test_application_define()
75 …status = nx_ip_interface_attach(&ip_1, "2nd interface", IP_ADDRESS(4, 3, 2, 11), 0xFF000000, _nx_r… in test_application_define()
80 …status = nx_ip_interface_attach(&ip_1, "3rd interface", IP_ADDRESS(4, 3, 2, 12), 0xFF000000, _nx_r… in test_application_define()
127 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(4, 3, 2, 11), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packe… in ntest_0_entry()
135 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(4, 3, 2, 12), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packe… in ntest_0_entry()
143 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 5), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry()
151 status = nx_arp_static_entry_create(&ip_0, IP_ADDRESS(4,3,2,13), 0x0011, 0x22334458); in ntest_0_entry()
152 status += nx_arp_static_entry_create(&ip_0, IP_ADDRESS(4,3,2,14), 0x0011, 0x22334459); in ntest_0_entry()
[all …]
Dnetx_igmp_nxe_api_test.c67 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFF000UL, &pool_0, … in test_application_define()
287 status = nx_igmp_multicast_interface_join(NX_NULL, IP_ADDRESS(224,0,0,251), 0); in thread_0_entry()
301 status = nx_igmp_multicast_interface_join(&invalid_ip, IP_ADDRESS(224,0,0,251), 0); in thread_0_entry()
312 …status = nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(1, 2, 3, 4), NX_MAX_PHYSICAL_INTERFACE… in thread_0_entry()
326 status = nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,251), 0); in thread_0_entry()
340 …status = nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,251), NX_MAX_PHYSICAL_INTERFAC… in thread_0_entry()
352 status = nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,251), 0); in thread_0_entry()
372 status = nx_ipv4_multicast_interface_join(NX_NULL, IP_ADDRESS(224,0,0,251), 0); in thread_0_entry()
384 status = nx_ipv4_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,251), 0); in thread_0_entry()
399 status = nx_ipv4_multicast_interface_join(&invalid_ip, IP_ADDRESS(224,0,0,251), 0); in thread_0_entry()
[all …]
Dnetx_ip_interface_address_set_test.c68 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 14), 0xFFFFFF00UL, &pool_0,… in test_application_define()
73 …status += nx_ip_create(&ip_1, "NetX IP Instance 1", IP_ADDRESS(1, 2, 3, 15), 0xFFFFFF00UL, &pool_0… in test_application_define()
132 …status = nx_ip_interface_attach(&ip_0, "2nd interface", IP_ADDRESS(4, 3, 2, 110), 0xFF000000, _nx_… in ntest_0_entry()
141 …status = nx_ip_interface_attach(&ip_0, "2nd interface", IP_ADDRESS(4, 3, 2, 110), 0xFF000000, _nx_… in ntest_0_entry()
150 …status = nx_ip_interface_attach(&ip_1, "2nd interface", IP_ADDRESS(4, 3, 2, 111), 0xFF000000, _nx_… in ntest_0_entry()
159 …status = nx_icmp_ping(&ip_1, IP_ADDRESS(4, 3, 2, 91), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packe… in ntest_0_entry()
170 …status = nx_icmp_ping(&ip_1, IP_ADDRESS(4, 3, 2, 110), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_pack… in ntest_0_entry()
178 …status = nx_icmp_ping(&ip_1, IP_ADDRESS(1, 2, 3, 14), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packe… in ntest_0_entry()
187 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(4, 3, 2, 9), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry()
198 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(4, 3, 2, 111), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_pack… in ntest_0_entry()
[all …]
Dnetx_arp_branch_test.c85 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
137 nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, 7), 0x0011, 0x22334457); in thread_0_entry()
166 ip_0.nx_ip_interface[0].nx_interface_ip_probe_address = IP_ADDRESS(1, 2, 3, 4); in thread_0_entry()
169 …locate(&ip_0, &my_packet, NX_ARP_OPTION_REQUEST, IP_ADDRESS(1, 2, 3, 5), 0x0011, 0x22334456, IP_AD… in thread_0_entry()
193 …locate(&ip_0, &my_packet, NX_ARP_OPTION_REQUEST, IP_ADDRESS(1, 2, 3, 4), 0x0011, 0x22334456, IP_AD… in thread_0_entry()
209 …locate(&ip_0, &my_packet, NX_ARP_OPTION_REQUEST, IP_ADDRESS(1, 2, 3, 4), 0x0022, 0x22334456, IP_AD… in thread_0_entry()
231 ip_0.nx_ip_interface[0].nx_interface_ip_address = IP_ADDRESS(1, 2, 3, 4); in thread_0_entry()
234 ip_0.nx_ip_interface[0].nx_interface_ip_probe_address = IP_ADDRESS(0, 0, 0, 0); in thread_0_entry()
237 …locate(&ip_0, &my_packet, NX_ARP_OPTION_REQUEST, IP_ADDRESS(1, 2, 3, 4), 0x0011, 0x22334456, IP_AD… in thread_0_entry()
253 …locate(&ip_0, &my_packet, NX_ARP_OPTION_REQUEST, IP_ADDRESS(1, 2, 3, 4), 0x0022, 0x22334456, IP_AD… in thread_0_entry()
[all …]
Dnetx_ip_nxe_api_test.c70 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFF000UL, &pool_0, … in test_application_define()
77 …status = nx_ip_create(&ip_1, "NetX IP Instance 0", IP_ADDRESS(255, 255, 255, 255), 0xFFFFF000UL, &… in test_application_define()
84 …status = nx_ip_create(&ip_1, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFF000UL, &pool_0, … in test_application_define()
92 …status = nx_ip_create(&ip_1, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFF000UL, &pool_0, … in test_application_define()
99 …status = nx_ip_create(&ip_1, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFF000UL, &pool_0, … in test_application_define()
238 status = nx_ip_address_set(NX_NULL, IP_ADDRESS(1, 2, 3, 4), IP_ADDRESS(255, 255, 255, 0)); in thread_0_entry()
252 status = nx_ip_address_set(&invalid_ip, IP_ADDRESS(1, 2, 3, 4), IP_ADDRESS(255, 255, 255, 0)); in thread_0_entry()
263 status = nx_ip_address_set(&ip_0, IP_ADDRESS(255, 255, 255, 255), IP_ADDRESS(255, 255, 255, 0)); in thread_0_entry()
274 status = nx_ip_address_set(&ip_0, IP_ADDRESS(192, 0, 0, 1), IP_ADDRESS(255, 255, 255, 0)); in thread_0_entry()
289 …status = _nxe_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFF000UL, &pool_0… in thread_0_entry()
[all …]
Dnetx_ip_address_set_test.c67 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 14), 0xFFFFFF00UL, &pool_0,… in test_application_define()
72 …status += nx_ip_create(&ip_1, "NetX IP Instance 1", IP_ADDRESS(1, 2, 3, 15), 0xFFFFFF00UL, &pool_0… in test_application_define()
132 …status = nx_ip_interface_attach(&ip_0, "2nd interface", IP_ADDRESS(4, 3, 2, 110), 0xFF000000, _nx_… in ntest_0_entry()
140 …status = nx_ip_interface_attach(&ip_1, "2nd interface", IP_ADDRESS(4, 3, 2, 111), 0xFF000000, _nx_… in ntest_0_entry()
149 …status = nx_icmp_ping(&ip_1, IP_ADDRESS(4, 3, 2, 91), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packe… in ntest_0_entry()
160 …status = nx_icmp_ping(&ip_1, IP_ADDRESS(4, 3, 2, 110), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_pack… in ntest_0_entry()
168 …status = nx_icmp_ping(&ip_1, IP_ADDRESS(1, 2, 3, 14), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packe… in ntest_0_entry()
177 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(4, 3, 2, 9), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry()
188 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(4, 3, 2, 111), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_pack… in ntest_0_entry()
197 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 15), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packe… in ntest_0_entry()
[all …]
Dnetx_ip_multicast_interface_detach_test.c65 …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()
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()
115 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,7), 1); in ntest_0_entry()
118 status += nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,4), 1); in ntest_0_entry()
[all …]
Dnetx_ip_static_route_delete_test.c62 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
90 …status = nx_ip_static_route_add(&ip_0, IP_ADDRESS(2, 2, 3, 4), IP_ADDRESS(255, 255, 255, 0), IP_AD… in ntest_0_entry()
100 status = nx_ip_static_route_delete(&ip_0, IP_ADDRESS(3, 2, 3, 4), IP_ADDRESS(255, 255, 255, 0)); in ntest_0_entry()
110 status = nx_ip_static_route_delete(&ip_0, IP_ADDRESS(2, 2, 3, 4), IP_ADDRESS(255, 255, 255, 0)); in ntest_0_entry()
120 status = nx_ip_static_route_delete(&ip_0, IP_ADDRESS(2, 2, 3, 4), IP_ADDRESS(255, 255, 255, 0)); in ntest_0_entry()
Dnetx_ip_basic_test.c74 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 9), 0xFFFFFF00UL, &pool_0, … in test_application_define()
78 …status = nx_ip_create(&ip_1, "NetX IP Instance 1", IP_ADDRESS(1, 2, 3, 10), 0xFFFFFF00UL, &pool_0,… in test_application_define()
127 nx_ip_static_route_add(&ip_0, IP_ADDRESS(1, 2, 3, 0), 0xFFFFFF00UL, IP_ADDRESS(1, 2, 3, 2)); in ntest_0_entry()
129 nx_ip_static_route_add(&ip_0, IP_ADDRESS(1, 2, 3, 0), 0xFFFFFF00UL, IP_ADDRESS(1, 2, 3, 1)); in ntest_0_entry()
131 nx_ip_static_route_add(&ip_0, IP_ADDRESS(1, 2, 4, 0), 0xFFFFFF00UL, IP_ADDRESS(1, 2, 3, 1)); in ntest_0_entry()
134 _nx_ip_route_find(&ip_0, IP_ADDRESS(1, 2, 3, 2), &if_ptr, &next_hop_address); in ntest_0_entry()
138 (next_hop_address != IP_ADDRESS(1, 2, 3, 1))) in ntest_0_entry()
158 if ((status) || (ip_address != IP_ADDRESS(1, 2, 3, 9))) in ntest_0_entry()
166 status = nx_ip_address_set(&ip_0, IP_ADDRESS(1, 2, 3, 13), 0xFFFFFF00UL); in ntest_0_entry()
170 if ((status) || (ip_address != IP_ADDRESS(1, 2, 3, 13))) in ntest_0_entry()
[all …]
Dnetx_igmp_branch_test.c78 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
155 nx_igmp_multicast_join(&ip_0, IP_ADDRESS(224, 0, 0, 2)); in thread_0_entry()
156 _nx_igmp_multicast_check(&ip_0, IP_ADDRESS(224, 0, 0, 2), &ip_0.nx_ip_interface[0]); in thread_0_entry()
157 _nx_igmp_multicast_check(&ip_0, IP_ADDRESS(224, 0, 0, 2), NX_NULL); in thread_0_entry()
158 nx_igmp_multicast_leave(&ip_0, IP_ADDRESS(224, 0, 0, 2)); in thread_0_entry()
165 …nx_ip_interface_attach(&ip_0, "2nd interface", IP_ADDRESS(4, 3, 2, 10), 0xFF000000, _nx_ram_networ… in thread_0_entry()
166 nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224, 0, 0, 2), 0); in thread_0_entry()
167 _nx_igmp_multicast_interface_join_internal(&ip_0, IP_ADDRESS(224, 0, 0, 2), 0, NX_FALSE); in thread_0_entry()
168 _nx_igmp_multicast_interface_join_internal(&ip_0, IP_ADDRESS(224, 0, 0, 2), 1, NX_FALSE); in thread_0_entry()
169 _nx_igmp_multicast_interface_join_internal(&ip_0, IP_ADDRESS(224, 0, 0, 3), 1, NX_FALSE); in thread_0_entry()
[all …]
Dnetx_arp_nxe_api_test.c69 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFF000UL, &pool_0, … in test_application_define()
183 status = nx_arp_entry_delete(NX_NULL, IP_ADDRESS(1, 2, 3, 4)); in thread_0_entry()
194 status = nx_arp_entry_delete(&invalid_ip, IP_ADDRESS(1, 2, 3, 4)); in thread_0_entry()
274 …status = nx_arp_hardware_address_find(NX_NULL, IP_ADDRESS(1, 2, 3, 4), &physical_msw, &physical_ls… in thread_0_entry()
288 …status = nx_arp_hardware_address_find(&invalid_ip, IP_ADDRESS(1, 2, 3, 4), &physical_msw, &physica… in thread_0_entry()
299 status = nx_arp_hardware_address_find(&ip_0, IP_ADDRESS(1, 2, 3, 4), NX_NULL, &physical_lsw); in thread_0_entry()
310 status = nx_arp_hardware_address_find(&ip_0, IP_ADDRESS(1, 2, 3, 4), &physical_msw, NX_NULL); in thread_0_entry()
335 …status = nx_arp_hardware_address_find(&ip_0, IP_ADDRESS(1, 2, 3, 4), &physical_msw, &physical_lsw)… in thread_0_entry()
501 status = nx_arp_dynamic_entry_set(NX_NULL, IP_ADDRESS(1, 2, 3, 4), 0x0011, 0x22334456); in thread_0_entry()
515 status = nx_arp_dynamic_entry_set(&invalid_ip, IP_ADDRESS(1, 2, 3, 4), 0x0011, 0x22334456); in thread_0_entry()
[all …]
Dnetx_arp_dynamic_entry_set_test.c68 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
104 status = nx_arp_dynamic_entry_set(&ip_0, IP_ADDRESS(1, 2, 3, 5), 0x0011, 0x22334457); in ntest_0_entry()
113 …status = nx_arp_hardware_address_find(&ip_0, IP_ADDRESS(1, 2, 3, 5), &physical_msw, &physical_lsw); in ntest_0_entry()
123 if ((status) || (ip_address != IP_ADDRESS(1, 2, 3, 5))) in ntest_0_entry()
131 status = nx_arp_dynamic_entry_set(&ip_0, IP_ADDRESS(1, 2, 4, 5), 0x0011, 0x22334458); in ntest_0_entry()
140 status = nx_ip_gateway_address_set(&ip_0, IP_ADDRESS(1, 2, 3, 1)); in ntest_0_entry()
149 status = nx_arp_dynamic_entry_set(&ip_0, IP_ADDRESS(1, 2, 4, 5), 0x0011, 0x22334458); in ntest_0_entry()
158 status = nx_arp_dynamic_entry_set(&ip_0, IP_ADDRESS(1, 2, 3, 15), 0x00, 0x22334459); in ntest_0_entry()
168 if ((status) || (ip_address != IP_ADDRESS(1, 2, 3, 15))) in ntest_0_entry()
176 …status = nx_arp_hardware_address_find(&ip_0, IP_ADDRESS(1, 2, 3, 15), &physical_msw, &physical_lsw… in ntest_0_entry()
Dnetx_ip_static_route_add_test.c62 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
96 …status = nx_ip_static_route_add(&ip_0, IP_ADDRESS(2, 2, 3, 4), IP_ADDRESS(255, 255, 255, 0), IP_AD… in ntest_0_entry()
117 network_address = IP_ADDRESS(2, 2, 3, 4); in ntest_0_entry()
118 network_mask = IP_ADDRESS(255, 255, 0, 0); in ntest_0_entry()
119 next_hop_address = IP_ADDRESS(1, 2, 3, 4); in ntest_0_entry()
140 network_mask = IP_ADDRESS(255, 254, 0, 0); in ntest_0_entry()
153 network_mask = IP_ADDRESS(255, 255, 255, 0); in ntest_0_entry()
Dnetx_ip_route_reachable_test.c65 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
109 status = nx_ip_gateway_address_set(&ip_0, IP_ADDRESS(1, 2, 3, 1)); in ntest_0_entry()
116 …status = nx_ip_static_route_add(&ip_0, IP_ADDRESS(3, 2, 3, 0), 0xFFFFFF00, IP_ADDRESS(1, 2, 3, 2)); in ntest_0_entry()
123 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(2, 2, 3, 1), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &packet_ptr… in ntest_0_entry()
130 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(3, 2, 3, 1), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &packet_ptr… in ntest_0_entry()
137 status = nx_ip_interface_address_set(&ip_0, 0, IP_ADDRESS(1, 3, 3, 4), 0xFFFFFF00); in ntest_0_entry()
143 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(2, 2, 3, 1), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &packet_ptr… in ntest_0_entry()
150 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(3, 2, 3, 1), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &packet_ptr… in ntest_0_entry()
Dnetx_arp_entry_cache_test.c68 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
115 …status = nx_arp_dynamic_entry_set(&ip_0, IP_ADDRESS(1, 2, 3, address), physical_msw, physical_lsw… in ntest_0_entry()
134 status = nx_arp_entry_delete(&ip_0, IP_ADDRESS(1, 2, 3, address)); in ntest_0_entry()
159 status = nx_arp_entry_delete(&ip_0, IP_ADDRESS(1, 2, 3, address)); in ntest_0_entry()
182 status = nx_arp_entry_delete(&ip_0, IP_ADDRESS(1, 2, 3, address)); in ntest_0_entry()
212 …status = nx_arp_dynamic_entry_set(&ip_0, IP_ADDRESS(1, 2, 3, address), physical_msw, physical_lsw… in ntest_0_entry()
235 …status = nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, address), physical_msw, physical_l… in ntest_0_entry()
254 …status = nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, address), physical_msw, physical_l… in ntest_0_entry()
263 …status = nx_arp_dynamic_entry_set(&ip_0, IP_ADDRESS(1, 2, 3, address), physical_msw, physical_lsw… in ntest_0_entry()
285 status = nx_arp_entry_delete(&ip_0, IP_ADDRESS(1, 2, 3, address)); in ntest_0_entry()
[all …]
Dnetx_ip_interface_detachment_test.c70 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
75 …status += nx_ip_create(&ip_1, "NetX IP Instance 1", IP_ADDRESS(1, 2, 3, 5), 0xFFFFFF00UL, &pool_0,… in test_application_define()
82 …status = nx_ip_interface_attach(&ip_0, "2nd interface", IP_ADDRESS(4, 3, 2, 10), 0xFF000000, _nx_r… in test_application_define()
87 …status = nx_ip_interface_attach(&ip_1, "2nd interface", IP_ADDRESS(4, 3, 2, 11), 0xFF000000, _nx_r… in test_application_define()
113 …status = nx_ip_static_route_add(&ip_1, IP_ADDRESS(4, 3, 2, 1), 0xFFFFFF00UL, IP_ADDRESS(4, 3, 2, 1… in test_application_define()
183 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(4, 3, 2, 9), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry()
194 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(4, 3, 2, 11), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packe… in ntest_0_entry()
203 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 5), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry()
216 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(4, 3, 2, 11), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packe… in ntest_0_entry()
224 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 5), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry()
[all …]
Dnetx_arp_static_entry_create_test.c67 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
114 status = nx_ip_gateway_address_set(&ip_0, IP_ADDRESS(1, 2, 3, 1)); in ntest_0_entry()
133 status = nx_arp_static_entry_create(&ip_0, IP_ADDRESS(2, 2, 3, 5), 0x0022, 0x22334457); in ntest_0_entry()
163 status = nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, address), msw, lsw); in ntest_0_entry()
191 status = nx_arp_dynamic_entry_set(&ip_0, IP_ADDRESS(1, 2, 3, address), msw, lsw); in ntest_0_entry()
214 if ((status) || (ip_address != IP_ADDRESS(1, 2, 3, address))) in ntest_0_entry()
222 …status = nx_arp_hardware_address_find(&ip_0, IP_ADDRESS(1, 2, 3, address), &physical_msw, &physica… in ntest_0_entry()
236 status = nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, address), msw, lsw); in ntest_0_entry()
259 if ((status) || (ip_address != IP_ADDRESS(1, 2, 3, address))) in ntest_0_entry()
267 …status = nx_arp_hardware_address_find(&ip_0, IP_ADDRESS(1, 2, 3, address), &physical_msw, &physica… in ntest_0_entry()
[all …]
Dnetx_igmp_interface_indirect_report_send_test.c73 …status = nx_ip_create(&ip_0, "NetX IP Instance 0", IP_ADDRESS(1, 2, 3, 4), 0xFFFFFF00UL, &pool_0, … in test_application_define()
77 …status = nx_ip_interface_attach(&ip_0, "Secondary IP", IP_ADDRESS(1,2,4,4), 0xFFFFFF00UL, _nx_ram_… in test_application_define()
124 status = nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,7), 0); in ntest_0_entry()
133 status = nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,1), 0); in ntest_0_entry()
142 status = nx_igmp_multicast_interface_join(&ip_0, IP_ADDRESS(224,0,0,3), 1); in ntest_0_entry()
166 status = nx_igmp_multicast_interface_leave(&ip_0, IP_ADDRESS(224,0,0,3), 1); in ntest_0_entry()
168 status = nx_igmp_multicast_leave(&ip_0, IP_ADDRESS(224,0,0,3)); in ntest_0_entry()
192 status = _nx_igmp_interface_report_send(&ip_0, IP_ADDRESS(224,0,0,1), 0, NX_TRUE); in ntest_0_entry()
224 status = _nx_igmp_interface_report_send(&ip_0, IP_ADDRESS(224,0,0,7), 0, NX_TRUE); in ntest_0_entry()
252 status = nx_igmp_multicast_interface_leave(&ip_0, IP_ADDRESS(224,0,0,5), 0); in ntest_0_entry()
[all …]
Dnetx_arp_static_entry_test.c84 …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_create(&ip_1, "NetX IP Instance 1", IP_ADDRESS(1, 2, 3, 5), 0xFFFFFF00UL, &pool_0,… in test_application_define()
150 status = nx_arp_static_entry_delete(&ip_0, IP_ADDRESS(1, 2, 3, 5), 0x0011, 0x22334457); in ntest_0_entry()
157 status = nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, 5), 0x0011, 0x22334457); in ntest_0_entry()
167 if ((status) || (ip_address != IP_ADDRESS(1, 2, 3, 5))) in ntest_0_entry()
175 …status = nx_arp_hardware_address_find(&ip_0, IP_ADDRESS(1, 2, 3, 5), &physical_msw, &physical_lsw); in ntest_0_entry()
184 status = nx_arp_static_entry_create(&ip_0, IP_ADDRESS(2, 2, 3, 5), 0x0011, 0x22334458); in ntest_0_entry()
202 …status = nx_arp_hardware_address_find(&ip_0, IP_ADDRESS(2, 2, 3, 5), &physical_msw, &physical_lsw); in ntest_0_entry()
227 …status = nx_tcp_client_socket_connect(&client_socket, IP_ADDRESS(1, 2, 3, 5), 12, 5 * NX_IP_PERIO… in ntest_0_entry()
293 status = nx_arp_static_entry_delete(&ip_0, IP_ADDRESS(1, 2, 3, 5), 0, 0x22334457); in ntest_0_entry()
[all …]
Dnetx_forward_icmp_test.c67 …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_ip_interface_attach(&ip_0, "Second Interface", IP_ADDRESS(2, 2, 3, 4), 0xFFFFFF00UL, _… in test_application_define()
78 …status = nx_ip_create(&ip_1, "NetX IP Instance 1", IP_ADDRESS(1, 2, 3, 5), 0xFFFFFF00UL, &pool_0, … in test_application_define()
84 status = nx_ip_gateway_address_set(&ip_1, IP_ADDRESS(1, 2, 3, 4)); in test_application_define()
89 …status = nx_ip_create(&ip_2, "NetX IP Instance 1", IP_ADDRESS(2, 2, 3, 5), 0xFFFFFF00UL, &pool_0, … in test_application_define()
95 status = nx_ip_gateway_address_set(&ip_2, IP_ADDRESS(2, 2, 3, 4)); in test_application_define()
167 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(1, 2, 3, 5), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry()
187 …status = nx_icmp_ping(&ip_0, IP_ADDRESS(2, 2, 3, 5), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry()
217 …status = nx_icmp_ping(&ip_1, IP_ADDRESS(1, 2, 3, 4), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry()
237 …status = nx_icmp_ping(&ip_1, IP_ADDRESS(2, 2, 3, 4), "ABCDEFGHIJKLMNOPQRSTUVWXYZ", 28, &my_packet… in ntest_0_entry()
[all …]
Dnetx_arp_static_entries_delete_test.c84 …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_create(&ip_1, "NetX IP Instance 1", IP_ADDRESS(1, 2, 3, 5), 0xFFFFFF00UL, &pool_0,… in test_application_define()
150 status = nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, 5), 0x0011, 0x22334457); in ntest_0_entry()
151 status += nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, 6), 0x0011, 0x22334458); in ntest_0_entry()
152 status += nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, 7), 0x0011, 0x22334459); in ntest_0_entry()
153 status += nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, 39), 0x0011, 0x2233445a); in ntest_0_entry()
154 status += nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, 37), 0x0011, 0x2233445b); in ntest_0_entry()
155 status += nx_arp_static_entry_create(&ip_0, IP_ADDRESS(1, 2, 3, 69), 0x0000, 0x2233445c); in ntest_0_entry()
166 if ((status) || (ip_address != IP_ADDRESS(1, 2, 3, 5))) in ntest_0_entry()
174 …status = nx_arp_hardware_address_find(&ip_0, IP_ADDRESS(1, 2, 3, 5), &physical_msw, &physical_lsw); in ntest_0_entry()
[all …]
/NetX-Duo-v6.2.1/test/regression/dns_test/
Dnetx_dns_non_blocking_a_test.c103 …status = nx_ip_create(&client_ip, "NetX IP Instance 0", IP_ADDRESS(192, 168, 100, 98), 0xFFFF0000U… in test_application_define()
108 …status += nx_ip_create(&server_ip, "NetX IP Instance 1", IP_ADDRESS(192, 168, 100, 2), 0xFFFF0000U… in test_application_define()
200 status = nx_dns_server_add(&client_dns, IP_ADDRESS(192, 168, 100, 2)); in thread_0_entry()
257 (*ipv4_address_ptr1 != IP_ADDRESS(74,125,224,194)) || in thread_0_entry()
258 (*ipv4_address_ptr2 != IP_ADDRESS(74,125,224,195)) || in thread_0_entry()
259 (*ipv4_address_ptr3 != IP_ADDRESS(74,125,224,196)) || in thread_0_entry()
260 (*ipv4_address_ptr4 != IP_ADDRESS(74,125,224,197)) || in thread_0_entry()
261 (*ipv4_address_ptr5 != IP_ADDRESS(74,125,224,198)) || in thread_0_entry()
262 (*ipv4_address_ptr6 != IP_ADDRESS(74,125,224,199)) || in thread_0_entry()
263 (*ipv4_address_ptr7 != IP_ADDRESS(74,125,224,200)) || in thread_0_entry()
[all …]

12345678910>>...55