Home
last modified time | relevance | path

Searched refs:my_packet1 (Results 1 – 25 of 44) sorted by relevance

12

/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_packet_basic_test.c135 NX_PACKET *my_packet1; in ntest_0_entry() local
192 status = nx_packet_allocate(&pool_4, &my_packet1, NX_UDP_PACKET, 10); in ntest_0_entry()
204 if(((ALIGN_TYPE)my_packet1 & (NX_PACKET_ALIGNMENT - 1)) || in ntest_0_entry()
206 ((ALIGN_TYPE)(my_packet1 -> nx_packet_data_start) & (NX_PACKET_ALIGNMENT - 1)) || in ntest_0_entry()
214 status = nx_packet_release(my_packet1); in ntest_0_entry()
227 status = nx_packet_allocate(&pool_0, &my_packet1, NX_UDP_PACKET, 10); in ntest_0_entry()
263 …status = nx_packet_data_append(my_packet1, "ABCDEFGHIJKLMNOPQRSTUVWXYZ ", 28, &pool_0, NX_NO_WAI… in ntest_0_entry()
274 status = nx_packet_copy(my_packet1, &my_packet2, &pool_1, NX_NO_WAIT); in ntest_0_entry()
301 while(my_packet1 -> nx_packet_next == (NX_PACKET *)NX_NULL) in ntest_0_entry()
305 …status += nx_packet_data_append(my_packet1, "0102030405060708091011121314151617181920", 40, &pool… in ntest_0_entry()
[all …]
Dnetx_packet_suspension_test.c91 NX_PACKET *my_packet1; in ntest_0_entry() local
109 status = nx_packet_allocate(&pool_0, &my_packet1, NX_UDP_PACKET, NX_IP_PERIODIC_RATE/10); in ntest_0_entry()
133 status = nx_packet_release(my_packet1); in ntest_0_entry()
185 NX_PACKET *my_packet1; in ntest_1_entry() local
192 status = nx_packet_allocate(&pool_0, &my_packet1, NX_UDP_PACKET, NX_IP_PERIODIC_RATE/10); in ntest_1_entry()
202 status = nx_packet_allocate(&pool_0, &my_packet1, NX_UDP_PACKET, NX_WAIT_FOREVER); in ntest_1_entry()
216 NX_PACKET *my_packet1; in ntest_2_entry() local
223 status = nx_packet_allocate(&pool_0, &my_packet1, NX_UDP_PACKET, NX_IP_PERIODIC_RATE/10); in ntest_2_entry()
233 status = nx_packet_allocate(&pool_0, &my_packet1, NX_UDP_PACKET, NX_WAIT_FOREVER); in ntest_2_entry()
Dnetx_tcp_ipv4_interface2_mss_test.c137 NX_PACKET *my_packet1; in thread_0_entry() local
186 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
198 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 550); in thread_0_entry()
199 my_packet1 -> nx_packet_length = 550; in thread_0_entry()
200 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 550; in thread_0_entry()
207 my_packet1 -> nx_packet_ip_version = NX_IP_VERSION_V4; in thread_0_entry()
211 status += nx_tcp_socket_send(&client_socket, my_packet1, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_advertised_window_update_test.c132 NX_PACKET *my_packet1; in thread_0_entry() local
174 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
184 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 38); in thread_0_entry()
185 my_packet1 -> nx_packet_length = 38; in thread_0_entry()
186 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 38; in thread_0_entry()
201 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_ipv6_interface2_mss_test.c173 NX_PACKET *my_packet1; in thread_0_entry() local
223 status = nx_packet_allocate(&pool_0, &my_packet1, NX_IPv6_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
232 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 550); in thread_0_entry()
233 my_packet1 -> nx_packet_length = 550; in thread_0_entry()
234 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 550; in thread_0_entry()
235 my_packet1 -> nx_packet_ip_version = NX_IP_VERSION_V6; in thread_0_entry()
242 status += nx_tcp_socket_send(&client_socket, my_packet1, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_10.c120 NX_PACKET *my_packet1; in thread_0_entry() local
163 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
177 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
178 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
179 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
194 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_11.c117 NX_PACKET *my_packet1; in thread_0_entry() local
161 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
176 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[60], 20); in thread_0_entry()
177 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
178 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
195 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_13.c120 NX_PACKET *my_packet1; in thread_0_entry() local
164 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
180 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
181 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
182 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
201 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_2.c130 NX_PACKET *my_packet1; in thread_0_entry() local
175 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
189 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 38); in thread_0_entry()
190 my_packet1 -> nx_packet_length = 38; in thread_0_entry()
191 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 38; in thread_0_entry()
206 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_3.c131 NX_PACKET *my_packet1; in thread_0_entry() local
176 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
190 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 38); in thread_0_entry()
191 my_packet1 -> nx_packet_length = 38; in thread_0_entry()
192 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 38; in thread_0_entry()
207 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_6.c118 NX_PACKET *my_packet1; in thread_0_entry() local
161 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
175 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
176 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
177 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
192 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_7.c118 NX_PACKET *my_packet1; in thread_0_entry() local
164 status += nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
183 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
184 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
185 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
217 status += nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_8.c118 NX_PACKET *my_packet1; in thread_0_entry() local
161 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
175 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
176 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
177 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
198 status += nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_9.c120 NX_PACKET *my_packet1; in thread_0_entry() local
162 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
176 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
177 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
178 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
196 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_fast_retransmit_test.c119 NX_PACKET *my_packet1; in thread_0_entry() local
161 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
171 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
172 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
173 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
190 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_ipv6_window_scale_test.c271 NX_PACKET *my_packet1; in thread_1_entry() local
306 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_1_entry()
316 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_1_entry()
317 my_packet1 -> nx_packet_length = 20; in thread_1_entry()
318 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_1_entry()
321 status = nx_tcp_socket_send(&server_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_1_entry()
Dnetx_tcp_overlapping_packet_test.c131 NX_PACKET *my_packet1; in thread_0_entry() local
177 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
193 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 38); in thread_0_entry()
194 my_packet1 -> nx_packet_length = 38; in thread_0_entry()
195 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 38; in thread_0_entry()
214 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_12.c123 NX_PACKET *my_packet1; in thread_0_entry() local
166 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
180 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
181 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
182 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
200 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_4.c119 NX_PACKET *my_packet1; in thread_0_entry() local
162 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
176 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
177 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
178 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
196 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_5.c127 NX_PACKET *my_packet1; in thread_0_entry() local
172 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
188 memcpy(my_packet1 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
189 my_packet1 -> nx_packet_length = 20; in thread_0_entry()
190 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
209 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_packet_receive_function_test.c31 static NX_PACKET *my_packet1; variable
169 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
178 memcpy(my_packet1 -> nx_packet_prepend_ptr,"ABCDEFGHIJKLMNOPQRSTUVWXYZ12", 28); in thread_0_entry()
179 my_packet1 -> nx_packet_length = 28; in thread_0_entry()
180 my_packet1 -> nx_packet_append_ptr = my_packet1 -> nx_packet_prepend_ptr + 28; in thread_0_entry()
183 status = nx_tcp_socket_send(&client_socket, my_packet1, 2 * NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_18.c130 NX_PACKET *my_packet1; in thread_0_entry() local
174 status = nx_packet_allocate(&pool_0, &my_packet1, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
187 status = nx_packet_data_append(my_packet1, &msg[0], 3, &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
198 status = nx_tcp_socket_send(&client_socket, my_packet1, NX_IP_PERIODIC_RATE); in thread_0_entry()
/NetX-Duo-v6.2.1/test/regression/mdns_test/
Dnetx_mdns_bad_packet_test.c393 NX_PACKET *my_packet1; in ntest_0_entry() local
446 status = nx_packet_allocate(&pool_0, &my_packet1, 16, NX_NO_WAIT); in ntest_0_entry()
456 …status = nx_packet_data_append(my_packet1, bad_packet1 + 14, sizeof(bad_packet1) - 14, &pool_0, NX… in ntest_0_entry()
466 my_packet1 -> nx_packet_ip_interface = &ip_0.nx_ip_interface[0]; in ntest_0_entry()
467 _nx_ip_packet_receive(&ip_0, my_packet1); in ntest_0_entry()
471 status = nx_packet_allocate(&pool_0, &my_packet1, 16, NX_NO_WAIT); in ntest_0_entry()
481 …status = nx_packet_data_append(my_packet1, bad_packet2 + 14, sizeof(bad_packet2) - 14, &pool_0, NX… in ntest_0_entry()
491 my_packet1 -> nx_packet_ip_interface = &ip_0.nx_ip_interface[0]; in ntest_0_entry()
492 _nx_ip_packet_receive(&ip_0, my_packet1); in ntest_0_entry()
496 status = nx_packet_allocate(&pool_0, &my_packet1, 16, NX_NO_WAIT); in ntest_0_entry()
[all …]
Dnetx_mdns_ipv6_string_test.c169 NX_PACKET *my_packet1; in ntest_0_entry() local
231 status = nx_packet_allocate(&pool_0, &my_packet1, 16, NX_NO_WAIT); in ntest_0_entry()
241 …status = nx_packet_data_append(my_packet1, response1 + 14, sizeof(response1) - 14, &pool_0, NX_NO_… in ntest_0_entry()
251 my_packet1 -> nx_packet_ip_interface = &ip_0.nx_ip_interface[0]; in ntest_0_entry()
252 _nx_ip_packet_receive(&ip_0, my_packet1); in ntest_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
321 nx_packet_allocate(&client_pool, &my_packet1, NX_TCP_PACKET, 1 * NX_IP_PERIODIC_RATE); in thread_client_entry()
322 … nx_packet_data_append(my_packet1, pkt1, sizeof(pkt1), &client_pool, 1 * NX_IP_PERIODIC_RATE); 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()
331 my_packet1->nx_packet_prepend_ptr += 71; in thread_client_entry()
332 my_packet1->nx_packet_length -= 71; in thread_client_entry()
333 my_client.nx_web_http_client_response_packet = my_packet1; in thread_client_entry()

12