Home
last modified time | relevance | path

Searched refs:bytes_received (Results 1 – 25 of 32) sorted by relevance

12

/NetX-Duo-v6.2.1/samples/
Ddemo_bsd_raw.c234 INT bytes_received; in thread_1_entry() local
306 bytes_received = 0; in thread_1_entry()
310bytes_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/
Dnetx_forward_udp_fragment_test.c167 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()
Dnetx_forward_udp_test.c158 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()
Dnetx_tcp_socket_receive_rst_test.c120 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()
Dnetx_forward_tcp_test_1.c191 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()
Dnetx_forward_tcp_test_2.c189 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()
Dnetx_forward_tcp_test_3.c190 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()
Dnetx_forward_tcp_test_4.c189 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()
Dnetx_forward_tcp_test_5.c189 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()
Dnetx_forward_udp_fragment_test3.c312 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()
Dnetx_ip_fragmentation_test.c141 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()
Dnetx_udp_ipv4_interface2_test_1_test.c139 …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()
Dnetx_forward_udp_fragment_test2.c294 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()
Dnetx_forward_udp_fragment_test4.c310 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()
Dnetx_ip_fragmentation_order_test.c149 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()
Dnetx_tcp_fast_disconnect_test.c144 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()
Dnetx_udp_multiple_ports_test.c134 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()
Dnetx_tcp_data_transfer_test.c147 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/
Dnetx_web_http_demo_test.c160 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/
Dnetx_nat_udp_test.c283 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()
Dnetx_nat_tcp_test1.c281 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()
Dnetx_nat_tcp_test2.c281 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()
Dnetx_nat_udp_port_test.c289 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()
Dnetx_nat_tcp_port_test.c287 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()
Dnetx_nat_tcp_port_test2.c288 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()

12