Home
last modified time | relevance | path

Searched refs:num_reads (Results 1 – 4 of 4) sorted by relevance

/USBX-v6.2.1/test/regression/
Dusbx_cdc_ecm_basic_ipv6_test.c383 static void read_packet_tcp(NX_TCP_SOCKET *tcp_socket, ULONG num_reads, CHAR *name) in read_packet_tcp() argument
390 if (num_reads % 100 == 0) in read_packet_tcp()
392 stepinfo("%s reading tcp packet# %lu\n", name, num_reads); in read_packet_tcp()
397 UX_TEST_ASSERT(num_writes_from_peer == num_reads); in read_packet_tcp()
421 static void read_packet_udp(NX_UDP_SOCKET *udp_socket, ULONG num_reads, CHAR *name) in read_packet_udp() argument
428 if (num_reads % 100 == 0) in read_packet_udp()
430 stepinfo("%s reading udp packet# %lu\n", name, num_reads); in read_packet_udp()
435 UX_TEST_ASSERT(num_writes_from_peer == num_reads); in read_packet_udp()
Dusbx_ux_test_cdc_ecm.h400 static void read_packet_tcp(NX_TCP_SOCKET *tcp_socket, ULONG num_reads, CHAR *name) in read_packet_tcp() argument
407 if (num_reads % 100 == 0) in read_packet_tcp()
409 stepinfo("%s reading tcp packet# %lu\n", name, num_reads); in read_packet_tcp()
414 UX_TEST_ASSERT(num_writes_from_peer == num_reads); in read_packet_tcp()
454 static void read_packet_udp(NX_UDP_SOCKET *udp_socket, ULONG num_reads, CHAR *name) in read_packet_udp() argument
461 if (num_reads % 100 == 0) in read_packet_udp()
463 stepinfo("%s reading udp packet# %lu\n", name, num_reads); in read_packet_udp()
468 UX_TEST_ASSERT(num_writes_from_peer == num_reads); in read_packet_udp()
Dusbx_rndis_basic_test.c287 static void read_packet_udp(NX_UDP_SOCKET *udp_socket, ULONG num_reads, CHAR *name) in read_packet_udp() argument
294 if (num_reads % 100 == 0) in read_packet_udp()
296 stepinfo("%s reading packet# %lu\n", name, num_reads); in read_packet_udp()
301 if (num_writes_from_peer != num_reads) in read_packet_udp()
Dusbx_msrc_80991_device_rndis_rx_length_less_than_14_test.c288 static void read_packet_udp(NX_UDP_SOCKET *udp_socket, ULONG num_reads, CHAR *name) in read_packet_udp() argument
295 if (num_reads % 100 == 0) in read_packet_udp()
297 stepinfo("%s reading packet# %lu\n", name, num_reads); in read_packet_udp()
302 if (num_writes_from_peer != num_reads) in read_packet_udp()