| /NetX-Duo-v6.2.1/samples/ |
| D | demo_bsd_raw.c | 234 INT bytes_received; in thread_1_entry() local 306 bytes_received = 0; in thread_1_entry() 310 …bytes_received = recvfrom(sock_raw, (VOID *)recv_buffer,64, 0, (struct sockaddr *) &fromAddr, &add… in thread_1_entry() 311 if (bytes_received > 0) in thread_1_entry() 314 … printf("Client 1 received (%d bytes); %s \n", bytes_received, (CHAR *)&recv_buffer[0] + 20); in thread_1_entry() 317 printf("Client 1 received (%d bytes); %s \n", bytes_received, (CHAR *)&recv_buffer[0]); in thread_1_entry()
|
| /NetX-Duo-v6.2.1/test/regression/netxduo_test/ |
| D | netx_forward_udp_fragment_test.c | 167 ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pac… in thread_0_entry() local 306 … nx_udp_socket_info_get(&socket_2, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 311 …if ((packets_sent != 0) || (bytes_sent != 0) || (packets_received != 1) || (bytes_received != 400)) in thread_0_entry() 366 … nx_udp_socket_info_get(&socket_2, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 371 …if ((packets_sent != 0) || (bytes_sent != 0) || (packets_received != 2) || (bytes_received != 1424… in thread_0_entry()
|
| D | netx_forward_udp_test.c | 158 ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pac… in thread_0_entry() local 615 … nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 620 …if ((packets_sent != 3) || (bytes_sent != 3 * 28) || (packets_received != 4) || (bytes_received !=… in thread_0_entry() 634 … nx_udp_socket_info_get(&socket_1, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 639 …if ((packets_sent != 3) || (bytes_sent != 3 * 28) || (packets_received != 2) || (bytes_received !=… in thread_0_entry() 653 … nx_udp_socket_info_get(&socket_2, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 658 …if ((packets_sent != 3) || (bytes_sent != 3 * 28) || (packets_received != 2) || (bytes_received !=… in thread_0_entry()
|
| D | netx_tcp_socket_receive_rst_test.c | 120 ULONG bytes_received = 0; in thread_0_entry() local 160 bytes_received += my_packet -> nx_packet_length; in thread_0_entry() 165 if (bytes_received != 56) in thread_0_entry()
|
| D | netx_forward_tcp_test_1.c | 191 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 318 &packets_received, &bytes_received, in thread_0_entry() 334 if ((error_counter) || (status) || (packets_received) || (bytes_received) || in thread_0_entry()
|
| D | netx_forward_tcp_test_2.c | 189 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 316 &packets_received, &bytes_received, in thread_0_entry() 332 if ((error_counter) || (status) || (packets_received) || (bytes_received) || in thread_0_entry()
|
| D | netx_forward_tcp_test_3.c | 190 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 317 &packets_received, &bytes_received, in thread_0_entry() 333 if ((error_counter) || (status) || (packets_received) || (bytes_received) || in thread_0_entry()
|
| D | netx_forward_tcp_test_4.c | 189 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 316 &packets_received, &bytes_received, in thread_0_entry() 332 if ((error_counter) || (status) || (packets_received) || (bytes_received) || in thread_0_entry()
|
| D | netx_forward_tcp_test_5.c | 189 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 316 &packets_received, &bytes_received, in thread_0_entry() 332 if ((error_counter) || (status) || (packets_received) || (bytes_received) || in thread_0_entry()
|
| D | netx_forward_udp_fragment_test3.c | 312 ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pac… in thread_1_entry() local 373 … nx_udp_socket_info_get(&socket_2, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_1_entry() 385 … if ((packets_sent != 0) || (bytes_sent != 0) || (packets_received != 0) || (bytes_received != 0)) in thread_1_entry()
|
| D | netx_ip_fragmentation_test.c | 141 ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pac… in thread_0_entry() local 303 … nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 314 (packets_received) || (bytes_received) || in thread_0_entry()
|
| D | netx_udp_ipv4_interface2_test_1_test.c | 139 …ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pa… in thread_0_entry() local 301 … nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 313 …(packets_received) || (bytes_received) || (packets_queued) || (receive_packets_dropped) || (checks… in thread_0_entry()
|
| D | netx_forward_udp_fragment_test2.c | 294 ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pac… in thread_1_entry() local 365 … nx_udp_socket_info_get(&socket_2, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_1_entry() 370 …if ((packets_sent != 0) || (bytes_sent != 0) || (packets_received != 1) || (bytes_received != 800)) in thread_1_entry()
|
| D | netx_forward_udp_fragment_test4.c | 310 ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pac… in thread_1_entry() local 371 … nx_udp_socket_info_get(&socket_2, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_1_entry() 383 … if ((packets_sent != 0) || (bytes_sent != 0) || (packets_received != 0) || (bytes_received != 0)) in thread_1_entry()
|
| D | netx_ip_fragmentation_order_test.c | 149 ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pac… in thread_0_entry() local 280 … nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 291 (packets_received) || (bytes_received) || in thread_0_entry()
|
| D | netx_tcp_fast_disconnect_test.c | 144 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 263 &packets_received, &bytes_received, in thread_0_entry() 275 …if ((error_counter) || (status) || (packets_received) || (bytes_received) || (retransmit_packets) … in thread_0_entry()
|
| D | netx_udp_multiple_ports_test.c | 134 ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pac… in thread_0_entry() local 313 … nx_udp_socket_info_get(&socket_0, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 324 …(packets_received) || (bytes_received) || (packets_queued) || (receive_packets_dropped) || (checks… in thread_0_entry()
|
| D | netx_tcp_data_transfer_test.c | 147 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 283 &packets_received, &bytes_received, in thread_0_entry() 295 if ((error_counter) || (status) || (packets_received) || (bytes_received) || in thread_0_entry()
|
| /NetX-Duo-v6.2.1/test/regression/web_test/ |
| D | netx_web_http_demo_test.c | 160 ULONG bytes_received; in thread_0_entry() local 206 status = nx_packet_data_extract_offset(my_packet, 0, buffer, 100, &bytes_received); in thread_0_entry() 208 EXPECT_EQ((UINT)bytes_received, 5); in thread_0_entry()
|
| /NetX-Duo-v6.2.1/test/regression/nat_test/ |
| D | netx_nat_udp_test.c | 283 ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pac… in thread_0_entry() local 565 …udp_socket_info_get(&local_socket, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 570 …if ((packets_sent != 3) || (bytes_sent != 3 * 28) || (packets_received != 1) || (bytes_received !=… in thread_0_entry() 585 …_socket_info_get(&external_socket, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 590 …if ((packets_sent != 3) || (bytes_sent != 3 * 28) || (packets_received != 2) || (bytes_received !=… in thread_0_entry()
|
| D | netx_nat_tcp_test1.c | 281 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 401 &packets_received, &bytes_received, in thread_0_entry() 417 if ((status) || (packets_received) || (bytes_received) || in thread_0_entry()
|
| D | netx_nat_tcp_test2.c | 281 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 423 &packets_received, &bytes_received, in thread_0_entry() 439 if ((status) || (packets_received) || (bytes_received) || in thread_0_entry()
|
| D | netx_nat_udp_port_test.c | 289 ULONG packets_sent, bytes_sent, packets_received, bytes_received, packets_queued, receive_pac… in thread_0_entry() local 482 …udp_socket_info_get(&local_socket, &packets_sent, &bytes_sent, &packets_received, &bytes_received, in thread_0_entry() 487 … if ((packets_sent != 1) || (bytes_sent != 28) || (packets_received != 0) || (bytes_received != 0)) in thread_0_entry()
|
| D | netx_nat_tcp_port_test.c | 287 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 467 &packets_received, &bytes_received, in thread_0_entry() 483 if ((status) || (packets_received) || (bytes_received) || in thread_0_entry()
|
| D | netx_nat_tcp_port_test2.c | 288 ULONG packets_sent, bytes_sent, packets_received, bytes_received, retransmit_packets, packets… in thread_0_entry() local 468 &packets_received, &bytes_received, in thread_0_entry() 484 if ((status) || (packets_received) || (bytes_received) || in thread_0_entry()
|