Home
last modified time | relevance | path

Searched refs:socket_0 (Results 1 – 25 of 63) sorted by relevance

123

/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_udp_branch_test.c25 static NX_UDP_SOCKET socket_0; variable
105 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in test_application_define()
127 _nx_udp_socket_bind(&socket_0, 0x1234, NX_NO_WAIT); in test_application_define()
140 _nx_udp_socket_unbind(&socket_0); in test_application_define()
180 socket_0.nx_udp_socket_id = NX_UDP_ID; in thread_0_entry()
185 tx_thread_identify() -> tx_thread_suspend_control_block = &socket_0; in thread_0_entry()
186 socket_0.nx_udp_socket_id = 0; in thread_0_entry()
192 socket_0.nx_udp_socket_id = 0; in thread_0_entry()
197 tx_thread_identify() -> tx_thread_suspend_control_block = &socket_0; in thread_0_entry()
198 socket_0.nx_udp_socket_id = NX_UDP_ID; in thread_0_entry()
[all …]
Dnetx_udp_nxe_api_test.c28 static NX_UDP_SOCKET socket_0; variable
179 …status = nx_udp_socket_create(NX_NULL, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80… in thread_0_entry()
188 …status = nx_udp_socket_create(&invalid_ip, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, … in thread_0_entry()
205 …status = _nxe_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80… in thread_0_entry()
214 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", 0xFFFFFFFF, NX_FRAGMENT_OKAY, 0x80, 5); in thread_0_entry()
222 status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, 11111, 0x80, 5); in thread_0_entry()
230 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, NX_IP_… in thread_0_entry()
239 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
249 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
268 status = nx_udp_socket_bind(&socket_0, 0x88, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
[all …]
Dnetx_udp_socket_bind_test.c17 static NX_UDP_SOCKET socket_0; variable
105 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
109 status = nx_udp_socket_bind(&socket_0, 1234, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
114 status = nx_udp_socket_bind(&socket_0, 1234, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
119 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
142 status = nx_udp_socket_bind(&socket_0, NX_ANY_PORT, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
147 status = nx_udp_socket_bind(&socket_0, 1234, NX_NO_WAIT); in thread_0_entry()
152 status = nx_udp_socket_delete(&socket_0); in thread_0_entry()
Dnetx_tcp_client_socket_bind_test.c17 static NX_TCP_SOCKET socket_0; variable
108 status = nx_tcp_socket_create(&ip_0, &socket_0, "Socket 0", in thread_0_entry()
117 status = nx_tcp_client_socket_bind(&socket_0, CLIENT_PORT_1, NX_WAIT_FOREVER); in thread_0_entry()
134 status = nx_tcp_client_socket_unbind(&socket_0); in thread_0_entry()
139 status = nx_tcp_client_socket_bind(&socket_0, NX_MAX_PORT, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
148 status = nx_tcp_client_socket_unbind(&socket_0); in thread_0_entry()
174 status = nx_tcp_client_socket_bind(&socket_0, NX_ANY_PORT, NX_WAIT_FOREVER); in thread_0_entry()
181 status = nx_tcp_client_socket_bind(&socket_0, NX_SEARCH_PORT_START, NX_NO_WAIT); in thread_0_entry()
188 status = nx_tcp_socket_delete(&socket_0); in thread_0_entry()
Dnetx_udp_socket_delete_test.c17 static NX_UDP_SOCKET socket_0; variable
103 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
108 status = nx_udp_socket_delete(&socket_0); in thread_0_entry()
113 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
117 status = nx_udp_socket_bind(&socket_0, 1234, NX_NO_WAIT); in thread_0_entry()
122 status = nx_udp_socket_delete(&socket_0); in thread_0_entry()
Dnetx_udp_basic_processing_test.c26 static NX_UDP_SOCKET socket_0; variable
205 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
226 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
237 status = nx_udp_socket_port_get(&socket_0, &free_port); in thread_0_entry()
248 status = nx_udp_socket_checksum_disable(&socket_0); in thread_0_entry()
284 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
302 status = nx_udp_socket_checksum_enable(&socket_0); in thread_0_entry()
331 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
349 status = nx_udp_socket_checksum_disable(&socket_0); in thread_0_entry()
381 status = nxd_udp_socket_send(&socket_0, my_packet, &address_1, 0x89); in thread_0_entry()
[all …]
Dnetx_udp_socket_unbind_receive_test.c17 static NX_UDP_SOCKET socket_0; variable
100 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
105 status = nx_udp_socket_bind(&socket_0, 0x80, NX_IP_PERIODIC_RATE); in thread_0_entry()
113 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
118 status = nx_udp_socket_delete(&socket_0); in thread_0_entry()
142 nx_udp_socket_receive(&socket_0, &my_packet, 2 * NX_IP_PERIODIC_RATE); in thread_1_entry()
Dnetx_ip_fragmentation_test.c21 static NX_UDP_SOCKET socket_0; variable
159 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
180 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
191 status = nx_udp_socket_port_get(&socket_0, &free_port); in thread_0_entry()
202 status = nx_udp_socket_checksum_disable(&socket_0); in thread_0_entry()
238 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
256 status = nx_udp_socket_checksum_enable(&socket_0); in thread_0_entry()
285 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
303 …status = nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_… in thread_0_entry()
323 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
[all …]
Dnetx_udp_packet_type_test.c22 static NX_UDP_SOCKET socket_0; variable
171 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
181 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
215 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
244 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
277 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
308 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
349 status = nxd_udp_socket_send(&socket_0, my_packet, &address_1, 0x89); in thread_0_entry()
380 status = nxd_udp_socket_send(&socket_0, my_packet, &address_1, 0x89); in thread_0_entry()
412 status = nxd_udp_socket_send(&socket_0, my_packet, &address_1, 0x89); in thread_0_entry()
[all …]
Dnetx_udp_ipv4_interface2_test_1_test.c24 static NX_UDP_SOCKET socket_0; variable
157 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
178 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
189 status = nx_udp_socket_port_get(&socket_0, &free_port); in thread_0_entry()
200 status = nx_udp_socket_checksum_disable(&socket_0); in thread_0_entry()
236 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(2, 2, 3, 5), 0x89); in thread_0_entry()
254 status = nx_udp_socket_checksum_enable(&socket_0); in thread_0_entry()
283 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(2, 2, 3, 5), 0x89); in thread_0_entry()
301 …status = nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_… in thread_0_entry()
321 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
[all …]
Dnetx_ip_fragmentation_order_test.c24 static NX_UDP_SOCKET socket_0; variable
156 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
177 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
184 status = nx_udp_socket_port_get(&socket_0, &free_port); in thread_0_entry()
195 status = nx_udp_socket_checksum_disable(&socket_0); in thread_0_entry()
227 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
239 status = nx_udp_socket_checksum_enable(&socket_0); in thread_0_entry()
266 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
280 …status = nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_… in thread_0_entry()
300 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
[all …]
Dnetx_udp_packet_receive_test.c27 static NX_UDP_SOCKET socket_0; variable
201 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
223 status = nx_udp_socket_checksum_disable(&socket_0); in thread_0_entry()
230 status = nx_udp_socket_checksum_enable(&socket_0); in thread_0_entry()
238 status = nx_udp_socket_port_get(&socket_0, &port); in thread_0_entry()
247 status = nx_udp_socket_receive(&socket_0, &my_packet, NX_IP_PERIODIC_RATE/10); in thread_0_entry()
255 status = nx_udp_socket_bind(&socket_0, 0x88, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry()
265 status = nx_udp_socket_port_get(&socket_0, &free_port); in thread_0_entry()
299 status = nxd_udp_socket_source_send(&socket_0, my_packet, &address_1, PORT_1, 0); in thread_0_entry()
328 status = nxd_udp_socket_source_send(&socket_0, my_packet, &address_1, PORT_2, 0); in thread_0_entry()
[all …]
Dnetx_udp_free_port_find_test.c17 static NX_UDP_SOCKET socket_0; variable
112 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
116 status = nx_udp_socket_bind(&socket_0, CLIENT_PORT_1, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
131 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
136 status = nx_udp_socket_bind(&socket_0, NX_MAX_PORT, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
145 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
150 status = nx_udp_socket_delete(&socket_0); in thread_0_entry()
Dnetx_udp_fragment_test.c24 static NX_UDP_SOCKET socket_0; variable
198 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
205 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
216 status = nx_udp_socket_receive(&socket_0, &my_packet, 3 * NX_IP_PERIODIC_RATE); in thread_0_entry()
232 status = nx_udp_socket_receive(&socket_0, &my_packet, 3 * NX_IP_PERIODIC_RATE); in thread_0_entry()
249 status = nx_udp_socket_receive(&socket_0, &my_packet, 3 * NX_IP_PERIODIC_RATE); in thread_0_entry()
265 status = nx_udp_socket_receive(&socket_0, &my_packet, 3 * NX_IP_PERIODIC_RATE); in thread_0_entry()
289 status = nx_udp_socket_receive(&socket_0, &my_packet, 3 * NX_IP_PERIODIC_RATE); in thread_0_entry()
330 status += nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
358 status += nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
[all …]
Dnetx_udp_port_unreachable_test.c19 static NX_UDP_SOCKET socket_0; variable
126 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
136 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
166 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
224 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
242 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
252 status = nx_udp_socket_delete(&socket_0); in thread_0_entry()
Dnetx_udp_socket_unbind_test.c18 static NX_UDP_SOCKET socket_0; variable
113 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
123 status = nx_udp_socket_bind(&socket_0, CLIENT_PORT_1, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
146 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
156 status = nx_udp_socket_bind(&socket_0, CLIENT_PORT_1, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
163 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
168 status = nx_udp_socket_delete(&socket_0); in thread_0_entry()
Dnetx_udp_loopback_test.c19 static NX_UDP_SOCKET socket_0; variable
161 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
171 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
210 …status = nx_udp_socket_source_send(&socket_0, my_packet, IP_ADDRESS(127, 0, 0, 1), 0x89, NX_LOOPBA… in thread_0_entry()
214 …status = nxd_udp_socket_source_send(&socket_0, my_packet, &address_lo, 0x89, NX_LOOPBACK_INTERFACE… in thread_0_entry()
219 status = nxd_udp_socket_source_send(&socket_0, my_packet, &address_0, 0x89, 0); in thread_0_entry()
233 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
243 status = nx_udp_socket_delete(&socket_0); in thread_0_entry()
Dnetx_nxd_udp_socket_send_special_test.c21 static NX_UDP_SOCKET socket_0; variable
161 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
185 status = nxd_udp_socket_send(&socket_0, my_packet, &address_2, 0x89); in thread_0_entry()
193 status = nx_udp_socket_bind(&socket_0, 0x88, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
201 status = nxd_udp_socket_send(&socket_0, my_packet, &address_2, 0x89); in thread_0_entry()
210 status = nxd_udp_socket_send(&socket_0, my_packet, &address_3, 0x89); in thread_0_entry()
243 status = nxd_udp_socket_send(&socket_0, my_packet, &address_1, 0x89); in thread_0_entry()
Dnetx_udp_multiple_ports_test.c23 static NX_UDP_SOCKET socket_0; variable
152 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
173 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
184 status = nx_udp_socket_port_get(&socket_0, &free_port); in thread_0_entry()
220 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0xE9); in thread_0_entry()
245 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0xC9); in thread_0_entry()
270 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0xA9); in thread_0_entry()
295 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
313 …status = nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_… in thread_0_entry()
331 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
[all …]
Dnetx_udp_ipv6_interface2_test_1_test.c27 static NX_UDP_SOCKET socket_0; variable
194 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
215 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
226 status = nx_udp_socket_port_get(&socket_0, &free_port); in thread_0_entry()
237 status = nx_udp_socket_checksum_disable(&socket_0); in thread_0_entry()
267 status = nxd_udp_socket_source_send(&socket_0, my_packet, &ipv6_address_4, 0x89, 0); in thread_0_entry()
306 status = nxd_udp_socket_send(&socket_0, my_packet, &ipv6_address_4, 0x89); in thread_0_entry()
324 status = nx_udp_socket_checksum_enable(&socket_0); in thread_0_entry()
353 status = nxd_udp_socket_send(&socket_0, my_packet, &ipv6_address_4, 0x89); in thread_0_entry()
371 …status = nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_… in thread_0_entry()
[all …]
Dnetx_forward_udp_test.c22 static NX_UDP_SOCKET socket_0; variable
173 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
194 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
205 status = nx_udp_socket_port_get(&socket_0, &free_port); in thread_0_entry()
323 status = nx_udp_socket_source_send(&socket_0, my_packet, IP_ADDRESS(3, 2, 3, 5), 0x89, 0); in thread_0_entry()
356 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
391 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(2, 2, 3, 5), 0x8a); in thread_0_entry()
615 …status = nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_… in thread_0_entry()
672 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
683 status = nx_udp_socket_delete(&socket_0); in thread_0_entry()
[all …]
Dnetx_udp_checksum_zero_test.c22 static NX_UDP_SOCKET socket_0; variable
138 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
148 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
173 status = nx_udp_socket_send(&socket_0, my_packet, IP_ADDRESS(1, 2, 3, 5), 0x89); in thread_0_entry()
184 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
187 status += nx_udp_socket_delete(&socket_0); in thread_0_entry()
Dnetx_udp_bind_cleanup_test.c18 static NX_UDP_SOCKET socket_0; variable
109 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
130 status = nx_udp_socket_bind(&socket_0, 0x88, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
144 status = nx_udp_socket_unbind(&socket_0); in thread_0_entry()
158 status = nx_udp_socket_delete(&socket_0); in thread_0_entry()
/NetX-Duo-v6.2.1/samples/
Ddemo_netx_duo_multihome_udp.c82 NX_UDP_SOCKET socket_0; variable
482 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
491 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
523 …status = nxd_udp_socket_source_send(&socket_0, my_packet, &ip1_primary_ipv4_address, 0x89, PRIMAR… in thread_0_entry()
526 …status = nxd_udp_socket_source_send(&socket_0, my_packet, &ip1_secondary_ipv4_address, 0x89, SECO… in thread_0_entry()
530 …status = nxd_udp_socket_source_send(&socket_0, my_packet, &ip1_primary_linklocal_address, 0x89, i… in thread_0_entry()
533 …status = nxd_udp_socket_source_send(&socket_0, my_packet, &ip1_secondary_linklocal_address, 0x89,… in thread_0_entry()
536 …status = nxd_udp_socket_source_send(&socket_0, my_packet, &ip1_primary_global_address, 0x89, ip0_… in thread_0_entry()
539 …status = nxd_udp_socket_source_send(&socket_0, my_packet, &ip1_secondary_global_address, 0x89, ip… in thread_0_entry()
542 status = nxd_udp_socket_send(&socket_0, my_packet, &ip1_primary_global_address, 0x89); in thread_0_entry()
[all …]
Ddemo_netx_duo_udp.c24 NX_UDP_SOCKET socket_0; variable
245 …status = nx_udp_socket_create(&ip_0, &socket_0, "Socket 0", NX_IP_NORMAL, NX_FRAGMENT_OKAY, 0x80, … in thread_0_entry()
255 status = nx_udp_socket_bind(&socket_0, 0x88, TX_WAIT_FOREVER); in thread_0_entry()
265 nx_udp_socket_checksum_disable(&socket_0); in thread_0_entry()
293 status = nxd_udp_socket_send(&socket_0, my_packet, &ipv4_address, 0x89); in thread_0_entry()
298 status = nxd_udp_socket_send(&socket_0, my_packet, &ipv6_address, 0x89); in thread_0_entry()
301 status = nxd_udp_socket_send(&socket_0, my_packet, &ipv4_address, 0x89); in thread_0_entry()

123