| /NetX-Duo-v6.2.1/test/regression/netxduo_test/ |
| D | netx_packet_basic_test.c | 136 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 …]
|
| D | netx_tcp_advertised_window_update_test.c | 133 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()
|
| D | netx_tcp_overlapping_packet_test_10.c | 121 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()
|
| D | netx_tcp_overlapping_packet_test_11.c | 118 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()
|
| D | netx_tcp_overlapping_packet_test_13.c | 121 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()
|
| D | netx_tcp_overlapping_packet_test_2.c | 131 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()
|
| D | netx_tcp_overlapping_packet_test_3.c | 132 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()
|
| D | netx_tcp_overlapping_packet_test_6.c | 119 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()
|
| D | netx_tcp_overlapping_packet_test_7.c | 119 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()
|
| D | netx_tcp_overlapping_packet_test_8.c | 119 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()
|
| D | netx_tcp_overlapping_packet_test_9.c | 121 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()
|
| D | netx_tcp_fast_retransmit_test.c | 120 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()
|
| D | netx_tcp_overlapping_packet_test.c | 132 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()
|
| D | netx_tcp_overlapping_packet_test_12.c | 124 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()
|
| D | netx_tcp_overlapping_packet_test_4.c | 120 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()
|
| D | netx_tcp_overlapping_packet_test_5.c | 128 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()
|
| D | netx_tcp_packet_receive_function_test.c | 32 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()
|
| D | netx_tcp_overlapping_packet_test_18.c | 131 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()
|
| D | netx_tcp_overlapping_packet_test_14.c | 131 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()
|
| D | netx_tcp_overlapping_packet_test_16.c | 129 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()
|
| D | netx_tcp_overlapping_packet_test_17.c | 129 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()
|
| D | netx_tcp_overlapping_packet_test_15.c | 131 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/ |
| D | netx_web_chunked_response_packet_chain_test.c | 262 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/ |
| D | netx_mdns_ipv6_string_test.c | 170 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/ |
| D | netx_telnet_server_options_negotiate_test.c | 182 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()
|