| /NetX-Duo-v6.2.1/test/regression/netxduo_test/ |
| D | netx_tcp_overlapping_packet_test_10.c | 122 NX_PACKET *my_packet3; in thread_0_entry() local 165 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 185 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry() 186 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 187 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 199 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_11.c | 119 NX_PACKET *my_packet3; in thread_0_entry() local 163 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 184 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry() 185 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 186 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 209 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_13.c | 122 NX_PACKET *my_packet3; in thread_0_entry() local 166 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 188 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[80], 20); in thread_0_entry() 189 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 190 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 211 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_2.c | 132 NX_PACKET *my_packet3; in thread_0_entry() local 177 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 197 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[76], 38); in thread_0_entry() 198 my_packet3 -> nx_packet_length = 38; in thread_0_entry() 199 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 38; in thread_0_entry() 211 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_3.c | 133 NX_PACKET *my_packet3; in thread_0_entry() local 178 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 198 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[76], 38); in thread_0_entry() 199 my_packet3 -> nx_packet_length = 38; in thread_0_entry() 200 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 38; in thread_0_entry() 212 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_6.c | 120 NX_PACKET *my_packet3; in thread_0_entry() local 163 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 183 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry() 184 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 185 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 199 status = nx_tcp_socket_send(&client_socket,my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_7.c | 120 NX_PACKET *my_packet3; in thread_0_entry() local 166 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 191 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[60], 20); in thread_0_entry() 192 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 193 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 212 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_8.c | 120 NX_PACKET *my_packet3; in thread_0_entry() local 163 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 183 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry() 184 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 185 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 194 status = nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_9.c | 122 NX_PACKET *my_packet3; in thread_0_entry() local 164 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 184 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry() 185 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 186 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 202 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_fast_retransmit_test.c | 121 NX_PACKET *my_packet3; in thread_0_entry() local 163 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 179 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry() 180 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 181 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 196 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test.c | 133 NX_PACKET *my_packet3; in thread_0_entry() local 179 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 201 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[76], 38); in thread_0_entry() 202 my_packet3 -> nx_packet_length = 38; in thread_0_entry() 203 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 38; in thread_0_entry() 219 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_12.c | 125 NX_PACKET *my_packet3; in thread_0_entry() local 168 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 188 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry() 189 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 190 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 207 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_4.c | 121 NX_PACKET *my_packet3; in thread_0_entry() local 164 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 184 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[40], 20); in thread_0_entry() 185 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 186 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 204 status = nx_tcp_socket_send(&client_socket,my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_5.c | 129 NX_PACKET *my_packet3; in thread_0_entry() local 174 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 196 memcpy(my_packet3 -> nx_packet_prepend_ptr, &msg[80], 20); in thread_0_entry() 197 my_packet3 -> nx_packet_length = 20; in thread_0_entry() 198 my_packet3 -> nx_packet_append_ptr = my_packet3 -> nx_packet_prepend_ptr + 20; in thread_0_entry() 214 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_packet_basic_test.c | 137 NX_PACKET *my_packet3; in ntest_0_entry() local 229 status += nx_packet_allocate(&pool_0, &my_packet3, NX_UDP_PACKET, 10); in ntest_0_entry() 252 status += nx_packet_release(my_packet3); in ntest_0_entry() 326 status += nx_packet_copy(my_packet2, &my_packet3, &pool_2, NX_NO_WAIT); in ntest_0_entry() 331 (my_packet3 -> nx_packet_length != my_packet2 -> nx_packet_length)) in ntest_0_entry() 355 status = nx_packet_data_retrieve(my_packet3, local_buffer, &size); in ntest_0_entry() 358 if ((status) || (my_packet3 -> nx_packet_length != my_packet2 -> nx_packet_length) || in ntest_0_entry() 373 status += nx_packet_transmit_release(my_packet3); in ntest_0_entry()
|
| D | netx_tcp_overlapping_packet_test_18.c | 132 NX_PACKET *my_packet3; in thread_0_entry() local 176 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 189 status += nx_packet_data_append(my_packet3, &msg[3], 20, &pool_0, TX_WAIT_FOREVER); in thread_0_entry() 209 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_14.c | 132 NX_PACKET *my_packet3; in thread_0_entry() local 176 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 189 status += nx_packet_data_append(my_packet3, &msg[3], 20, &pool_0, TX_WAIT_FOREVER); in thread_0_entry() 212 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_16.c | 130 NX_PACKET *my_packet3; in thread_0_entry() local 173 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 192 …status += nx_packet_data_append(my_packet3, (VOID *)(&long_msg[64]), 0x300, &pool_0, TX_WAIT_FOREV… in thread_0_entry() 215 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_tcp_overlapping_packet_test_17.c | 130 NX_PACKET *my_packet3; in thread_0_entry() local 173 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 192 …status += nx_packet_data_append(my_packet3, (VOID *)(&long_msg[0]), 0x300, &pool_0, TX_WAIT_FOREVE… in thread_0_entry() 212 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_packet_suspension_test.c | 93 NX_PACKET *my_packet3; in ntest_0_entry() local 111 status += nx_packet_allocate(&pool_0, &my_packet3, NX_UDP_PACKET, NX_IP_PERIODIC_RATE/10); in ntest_0_entry() 144 status = nx_packet_release(my_packet3); in ntest_0_entry()
|
| D | netx_tcp_overlapping_packet_test_15.c | 132 NX_PACKET *my_packet3; in thread_0_entry() local 178 status += nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_WAIT_FOREVER); in thread_0_entry() 196 status += nx_packet_data_append(my_packet3, &msg[0], 15, &pool_0, TX_WAIT_FOREVER); in thread_0_entry() 218 status += nx_tcp_socket_send(&client_socket, my_packet3, NX_IP_PERIODIC_RATE); in thread_0_entry()
|
| D | netx_2_20_test.c | 135 NX_PACKET *my_packet3; in ntest_0_entry() local 224 status = nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_IP_PERIODIC_RATE); in ntest_0_entry() 230 status = nx_packet_data_append(my_packet3, MSG+40, 20, &pool_0, NX_IP_PERIODIC_RATE); in ntest_0_entry() 237 status = nx_tcp_socket_send(&server_socket, my_packet3, NX_IP_PERIODIC_RATE); in ntest_0_entry()
|
| D | netx_102_20_test.c | 135 NX_PACKET *my_packet3; in ntest_0_entry() local 224 status = nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_IP_PERIODIC_RATE); in ntest_0_entry() 230 status = nx_packet_data_append(my_packet3, MSG+40, 20, &pool_0, NX_IP_PERIODIC_RATE); in ntest_0_entry() 237 status = nx_tcp_socket_send(&server_socket, my_packet3, NX_IP_PERIODIC_RATE); in ntest_0_entry()
|
| D | netx_102_21_test.c | 135 NX_PACKET *my_packet3; in ntest_0_entry() local 224 status = nx_packet_allocate(&pool_0, &my_packet3, NX_TCP_PACKET, NX_IP_PERIODIC_RATE); in ntest_0_entry() 230 status = nx_packet_data_append(my_packet3, MSG+40, 20, &pool_0, NX_IP_PERIODIC_RATE); in ntest_0_entry() 237 status = nx_tcp_socket_send(&server_socket, my_packet3, NX_IP_PERIODIC_RATE); in ntest_0_entry()
|
| /NetX-Duo-v6.2.1/test/regression/web_test/ |
| D | netx_web_chunked_response_packet_chain_test.c | 262 NX_PACKET *my_packet1, *my_packet2, *my_packet3; in thread_client_entry() local 325 nx_packet_allocate(&client_pool, &my_packet3, NX_TCP_PACKET, 1 * NX_IP_PERIODIC_RATE); in thread_client_entry() 326 … nx_packet_data_append(my_packet3, pkt3, sizeof(pkt3), &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()
|