Home
last modified time | relevance | path

Searched refs:my_packet2 (Results 1 – 25 of 41) sorted by relevance

12

/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_packet_basic_test.c136 NX_PACKET *my_packet2; in ntest_0_entry() local
193 status += nx_packet_allocate(&pool_4, &my_packet2, NX_UDP_PACKET, 10); in ntest_0_entry()
205 ((ALIGN_TYPE)my_packet2 & (NX_PACKET_ALIGNMENT - 1)) || in ntest_0_entry()
207 ((ALIGN_TYPE)(my_packet2 -> nx_packet_data_start) & (NX_PACKET_ALIGNMENT - 1))) in ntest_0_entry()
215 status += nx_packet_release(my_packet2); in ntest_0_entry()
228 status += nx_packet_allocate(&pool_0, &my_packet2, NX_UDP_PACKET, 10); in ntest_0_entry()
251 status = nx_packet_release(my_packet2); in ntest_0_entry()
274 status = nx_packet_copy(my_packet1, &my_packet2, &pool_1, NX_NO_WAIT); in ntest_0_entry()
277 if ((status != NX_SUCCESS) || (my_packet2 -> nx_packet_length != 28)) in ntest_0_entry()
286 status = nx_packet_data_retrieve(my_packet2, local_buffer, &size); in ntest_0_entry()
[all …]
Dnetx_tcp_advertised_window_update_test.c133 NX_PACKET *my_packet2; in thread_0_entry() local
175 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
188 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[38], 38); in thread_0_entry()
189 my_packet2 -> nx_packet_length = 38; in thread_0_entry()
190 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 38; in thread_0_entry()
208 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_10.c121 NX_PACKET *my_packet2; in thread_0_entry() local
164 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
181 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[60], 20); in thread_0_entry()
182 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
183 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
202 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_11.c118 NX_PACKET *my_packet2; in thread_0_entry() local
162 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
180 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
181 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
182 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
205 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_13.c121 NX_PACKET *my_packet2; in thread_0_entry() local
165 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
184 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
185 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
186 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
206 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_2.c131 NX_PACKET *my_packet2; in thread_0_entry() local
176 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
193 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[38], 38); in thread_0_entry()
194 my_packet2 -> nx_packet_length = 38; in thread_0_entry()
195 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 38; in thread_0_entry()
216 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_3.c132 NX_PACKET *my_packet2; in thread_0_entry() local
177 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
194 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[38], 38); in thread_0_entry()
195 my_packet2 -> nx_packet_length = 38; in thread_0_entry()
196 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 38; in thread_0_entry()
217 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_6.c119 NX_PACKET *my_packet2; in thread_0_entry() local
162 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
179 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
180 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
181 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
195 status = nx_tcp_socket_send(&client_socket,my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_7.c119 NX_PACKET *my_packet2; in thread_0_entry() local
165 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
187 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
188 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
189 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
209 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_8.c119 NX_PACKET *my_packet2; in thread_0_entry() local
162 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
179 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
180 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
181 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
203 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_9.c121 NX_PACKET *my_packet2; in thread_0_entry() local
163 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
180 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
181 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
182 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
199 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_fast_retransmit_test.c120 NX_PACKET *my_packet2; in thread_0_entry() local
162 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
175 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
176 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
177 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
193 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test.c132 NX_PACKET *my_packet2; in thread_0_entry() local
178 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
197 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[38], 38); in thread_0_entry()
198 my_packet2 -> nx_packet_length = 38; in thread_0_entry()
199 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 38; in thread_0_entry()
228 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_12.c124 NX_PACKET *my_packet2; in thread_0_entry() local
167 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
184 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
185 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
186 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
204 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_4.c120 NX_PACKET *my_packet2; in thread_0_entry() local
163 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
180 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
181 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
182 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
200 status = nx_tcp_socket_send(&client_socket,my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_5.c128 NX_PACKET *my_packet2; in thread_0_entry() local
173 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
192 memcpy(my_packet2 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
193 my_packet2 -> nx_packet_length = 20; in thread_0_entry()
194 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
219 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_packet_receive_function_test.c32 static NX_PACKET *my_packet2; variable
196 status = nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
205 memcpy(my_packet2 -> nx_packet_prepend_ptr, "ABCDEFGHIJKLMNOPQRSTUVWXYZ12", 28); in thread_0_entry()
206 my_packet2 -> nx_packet_length = 28; in thread_0_entry()
207 my_packet2 -> nx_packet_append_ptr = my_packet2 -> nx_packet_prepend_ptr + 28; in thread_0_entry()
210 status = nx_tcp_socket_send(&client_socket, my_packet2, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_18.c131 NX_PACKET *my_packet2; in thread_0_entry() local
175 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
188 status += nx_packet_data_append(my_packet2, &msg[0], 15, &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
205 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_14.c131 NX_PACKET *my_packet2; in thread_0_entry() local
175 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
188 status += nx_packet_data_append(my_packet2, &msg[0], 15, &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
208 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_16.c129 NX_PACKET *my_packet2; in thread_0_entry() local
172 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
191 …status += nx_packet_data_append(my_packet2, (VOID *)(&long_msg[0]), 0x300, &pool_0, TX_WAIT_FOREVE… in thread_0_entry()
211 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_17.c129 NX_PACKET *my_packet2; in thread_0_entry() local
172 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
191 …status += nx_packet_data_append(my_packet2, (VOID *)(&long_msg[192]), 0x100, &pool_0, TX_WAIT_FORE… in thread_0_entry()
208 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_15.c131 NX_PACKET *my_packet2; in thread_0_entry() local
177 status += nx_packet_allocate(&pool_0, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
195 status += nx_packet_data_append(my_packet2, &msg[23], 3, &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
214 status += nx_tcp_socket_send(&client_socket, my_packet2, NX_IP_PERIODIC_RATE); in thread_0_entry()
/NetX-Duo-v6.2.1/test/regression/web_test/
Dnetx_web_chunked_response_packet_chain_test.c262 NX_PACKET *my_packet1, *my_packet2, *my_packet3; in thread_client_entry() local
323 nx_packet_allocate(&client_pool, &my_packet2, NX_TCP_PACKET, 1 * NX_IP_PERIODIC_RATE); in thread_client_entry()
324 … nx_packet_data_append(my_packet2, pkt2, sizeof(pkt2), &client_pool, 1 * NX_IP_PERIODIC_RATE); in thread_client_entry()
327 my_packet2->nx_packet_next = my_packet3; in thread_client_entry()
328 my_packet2->nx_packet_length += my_packet3->nx_packet_length; in thread_client_entry()
329 my_packet1->nx_packet_next = my_packet2; in thread_client_entry()
330 my_packet1->nx_packet_length += my_packet2->nx_packet_length; in thread_client_entry()
/NetX-Duo-v6.2.1/test/regression/mdns_test/
Dnetx_mdns_ipv6_string_test.c170 NX_PACKET *my_packet2; in ntest_0_entry() local
258 status = nx_packet_allocate(&pool_0, &my_packet2, 16, NX_NO_WAIT); in ntest_0_entry()
268 …status = nx_packet_data_append(my_packet2, response2 + 14, sizeof(response2) - 14, &pool_0, NX_NO_… in ntest_0_entry()
278 my_packet2 -> nx_packet_ip_interface = &ip_0.nx_ip_interface[0]; in ntest_0_entry()
279 _nx_ip_packet_receive(&ip_0, my_packet2); in ntest_0_entry()
/NetX-Duo-v6.2.1/test/regression/telnet_test/
Dnetx_telnet_server_options_negotiate_test.c182 NX_PACKET *my_packet, *my_packet2, *rcv_packet; in thread_client_entry() local
244 status = nx_packet_allocate(&pool_client, &my_packet2, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_client_entry()
249 nx_packet_data_append(my_packet2, send_buff, sizeof(send_buff), &pool_client, NX_WAIT_FOREVER); in thread_client_entry()
252 status = nx_telnet_client_packet_send(&my_client, my_packet2, TELNET_TIMEOUT); in thread_client_entry()

12