Home
last modified time | relevance | path

Searched refs:my_packet4 (Results 1 – 18 of 18) sorted by relevance

/NetX-Duo-v6.2.1/test/regression/netxduo_test/
Dnetx_tcp_overlapping_packet_test_6.c121 NX_PACKET *my_packet4; in thread_0_entry() local
164 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
187 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry()
188 my_packet4 -> nx_packet_length = 20; in thread_0_entry()
189 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
206 if(client_socket.nx_tcp_socket_tx_outstanding_bytes > my_packet4 -> nx_packet_length) in thread_0_entry()
209 client_socket.nx_tcp_socket_tx_outstanding_bytes -= my_packet4 -> nx_packet_length; in thread_0_entry()
214 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_4.c122 NX_PACKET *my_packet4; in thread_0_entry() local
165 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
188 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[20], 20); in thread_0_entry()
189 my_packet4 -> nx_packet_length = 20; in thread_0_entry()
190 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
210 if(client_socket.nx_tcp_socket_tx_outstanding_bytes > my_packet4 -> nx_packet_length) in thread_0_entry()
213 client_socket.nx_tcp_socket_tx_outstanding_bytes -= my_packet4 -> nx_packet_length; in thread_0_entry()
217 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_8.c121 NX_PACKET *my_packet4; in thread_0_entry() local
164 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
187 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[0], 60); in thread_0_entry()
188 my_packet4 -> nx_packet_length = 60; in thread_0_entry()
189 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 60; in thread_0_entry()
210 client_socket.nx_tcp_socket_tx_outstanding_bytes -= my_packet4 -> nx_packet_length; in thread_0_entry()
212 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_10.c123 NX_PACKET *my_packet4; in thread_0_entry() local
166 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
189 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[20], 26); in thread_0_entry()
190 my_packet4 -> nx_packet_length = 26; in thread_0_entry()
191 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 26; in thread_0_entry()
206 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_11.c120 NX_PACKET *my_packet4; in thread_0_entry() local
164 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
188 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[0], 30); in thread_0_entry()
189 my_packet4 -> nx_packet_length = 30; in thread_0_entry()
190 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 30; in thread_0_entry()
218 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_13.c123 NX_PACKET *my_packet4; in thread_0_entry() local
167 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
192 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[45], 35); in thread_0_entry()
193 my_packet4 -> nx_packet_length = 35; in thread_0_entry()
194 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 35; in thread_0_entry()
216 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_7.c121 NX_PACKET *my_packet4; in thread_0_entry() local
167 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
195 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[0], 20); in thread_0_entry()
196 my_packet4 -> nx_packet_length = 20; in thread_0_entry()
197 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
226 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_9.c123 NX_PACKET *my_packet4; in thread_0_entry() local
165 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
188 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[25], 6); in thread_0_entry()
189 my_packet4 -> nx_packet_length = 6; in thread_0_entry()
190 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 6; in thread_0_entry()
208 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_fast_retransmit_test.c122 NX_PACKET *my_packet4; in thread_0_entry() local
164 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
183 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[60], 20); in thread_0_entry()
184 my_packet4 -> nx_packet_length = 20; in thread_0_entry()
185 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
199 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test.c134 NX_PACKET *my_packet4; in thread_0_entry() local
180 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
205 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[76], 10); in thread_0_entry()
206 my_packet4 -> nx_packet_length = 10; in thread_0_entry()
207 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 10; in thread_0_entry()
224 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_12.c126 NX_PACKET *my_packet4; in thread_0_entry() local
169 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
192 memcpy(my_packet4 -> nx_packet_prepend_ptr, &msg[30], 20); in thread_0_entry()
193 my_packet4 -> nx_packet_length = 20; in thread_0_entry()
194 my_packet4 -> nx_packet_append_ptr = my_packet4 -> nx_packet_prepend_ptr + 20; in thread_0_entry()
212 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_tcp_overlapping_packet_test_15.c133 NX_PACKET *my_packet4; in thread_0_entry() local
179 status += nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry()
197 status += nx_packet_data_append(my_packet4, &msg[19], 4, &pool_0, TX_WAIT_FOREVER); in thread_0_entry()
222 status += nx_tcp_socket_send(&client_socket, my_packet4, NX_IP_PERIODIC_RATE); in thread_0_entry()
Dnetx_2_20_test.c136 NX_PACKET *my_packet4; in ntest_0_entry() local
244 status = nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_IP_PERIODIC_RATE); in ntest_0_entry()
250 status = nx_packet_data_append(my_packet4, MSG+60, 20, &pool_0, NX_IP_PERIODIC_RATE); in ntest_0_entry()
257 status = nx_tcp_socket_send(&server_socket, my_packet4, NX_IP_PERIODIC_RATE); in ntest_0_entry()
Dnetx_102_20_test.c136 NX_PACKET *my_packet4; in ntest_0_entry() local
244 status = nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_IP_PERIODIC_RATE); in ntest_0_entry()
250 status = nx_packet_data_append(my_packet4, MSG+60, 20, &pool_0, NX_IP_PERIODIC_RATE); in ntest_0_entry()
257 status = nx_tcp_socket_send(&server_socket, my_packet4, NX_IP_PERIODIC_RATE); in ntest_0_entry()
Dnetx_102_21_test.c136 NX_PACKET *my_packet4; in ntest_0_entry() local
244 status = nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_IP_PERIODIC_RATE); in ntest_0_entry()
250 status = nx_packet_data_append(my_packet4, MSG+60, 20, &pool_0, NX_IP_PERIODIC_RATE); in ntest_0_entry()
257 status = nx_tcp_socket_send(&server_socket, my_packet4, NX_IP_PERIODIC_RATE); in ntest_0_entry()
Dnetx_103_17_test.c143 NX_PACKET *my_packet4; in ntest_0_entry() local
250 status = nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_IP_PERIODIC_RATE); in ntest_0_entry()
256 status = nx_packet_data_append(my_packet4, MSG+60, 20, &pool_0, NX_IP_PERIODIC_RATE); in ntest_0_entry()
280 status = nx_tcp_socket_send(&server_socket, my_packet4, NX_IP_PERIODIC_RATE); in ntest_0_entry()
Dnetx_104_17_test.c136 NX_PACKET *my_packet4; in ntest_0_entry() local
243 status = nx_packet_allocate(&pool_0, &my_packet4, NX_TCP_PACKET, NX_IP_PERIODIC_RATE); in ntest_0_entry()
249 status = nx_packet_data_append(my_packet4, MSG+60, 20, &pool_0, NX_IP_PERIODIC_RATE); in ntest_0_entry()
256 status = nx_tcp_socket_send(&server_socket, my_packet4, NX_IP_PERIODIC_RATE); in ntest_0_entry()
Dnetx_packet_basic_test.c138 NX_PACKET *my_packet4; in ntest_0_entry() local
240 status = nx_packet_allocate(&pool_0, &my_packet4, NX_UDP_PACKET, NX_NO_WAIT); in ntest_0_entry()