| /NetX-Duo-v6.2.1/test/regression/bsd_test/ |
| D | netx_bsd_tcp_accept_blocking_timeout_test.c | 25 #define NUM_CLIENTS NX_BSD_MAX_SOCKETS macro 29 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 132 static client_info client_data[NUM_CLIENTS]; 133 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 134 static TX_THREAD helper_thread[NUM_CLIENTS]; 159 if((sockfd - NX_BSD_SOCKFD_START + 1) != (NUM_CLIENTS / 2)) in bsd_server_helper_thread_entry() 204 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 212 if(i != (NUM_CLIENTS - 1)) in test_tcp_server4() 255 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 299 static NX_TCP_SOCKET tcp_sockets[NUM_CLIENTS]; [all …]
|
| D | netx_bsd_tcp_accept_nonblocking_timeout_test.c | 22 #define NUM_CLIENTS NX_BSD_MAX_SOCKETS macro 27 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 129 static client_info client_data[NUM_CLIENTS]; 130 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 131 static TX_THREAD helper_thread[NUM_CLIENTS]; 174 if((sockfd - NX_BSD_SOCKFD_START + 1) != (NUM_CLIENTS / 2)) in bsd_server_helper_thread_entry() 226 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 281 if(i != (NUM_CLIENTS - 1)) in test_tcp_server4() 308 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 352 static NX_TCP_SOCKET tcp_sockets[NUM_CLIENTS]; [all …]
|
| D | netx_bsd_tcp_accept_noselect_test.c | 23 #define NUM_CLIENTS NX_BSD_MAX_SOCKETS macro 28 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 129 static client_info client_data[NUM_CLIENTS]; 130 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 131 static TX_THREAD helper_thread[NUM_CLIENTS]; 173 if((sockfd - NX_BSD_SOCKFD_START + 1) != (NUM_CLIENTS / 2)) in bsd_server_helper_thread_entry() 224 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 283 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 327 static NX_TCP_SOCKET tcp_sockets[NUM_CLIENTS]; 335 for(i = 0; i < NUM_CLIENTS; i++) in multiple_client4() [all …]
|
| D | netx_bsd_tcp_accept_blocking_test.c | 24 #define NUM_CLIENTS NX_BSD_MAX_SOCKETS macro 28 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 131 static client_info client_data[NUM_CLIENTS]; 132 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 133 static TX_THREAD helper_thread[NUM_CLIENTS]; 157 if((sockfd - NX_BSD_SOCKFD_START + 1) != (NUM_CLIENTS / 2)) in bsd_server_helper_thread_entry() 202 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 210 if(i != (NUM_CLIENTS - 1)) in test_tcp_server4() 253 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 297 static NX_TCP_SOCKET tcp_sockets[NUM_CLIENTS]; [all …]
|
| D | netx_bsd_tcp_accept_nonblocking_test.c | 22 #define NUM_CLIENTS NX_BSD_MAX_SOCKETS macro 27 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 129 static client_info client_data[NUM_CLIENTS]; 130 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 131 static TX_THREAD helper_thread[NUM_CLIENTS]; 174 if((sockfd - NX_BSD_SOCKFD_START + 1) != (NUM_CLIENTS / 2)) in bsd_server_helper_thread_entry() 226 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 281 if(i != (NUM_CLIENTS - 1)) in test_tcp_server4() 308 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 352 static NX_TCP_SOCKET tcp_sockets[NUM_CLIENTS]; [all …]
|
| D | netx_bsd_ioctl_nonblocking_test.c | 24 #define NUM_CLIENTS 10 macro 29 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 135 static client_info client_data[NUM_CLIENTS]; 136 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 137 static ULONG stack_blocking_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 140 static ULONG stack_space6[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 141 static TX_THREAD helper_thread6[NUM_CLIENTS]; 143 static TX_THREAD helper_thread[NUM_CLIENTS]; 144 static TX_THREAD helper_blocking_thread[NUM_CLIENTS]; 274 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_blocking_server4() [all …]
|
| D | netx_bsd_tcp_basic_nonblocking_test.c | 24 #define NUM_CLIENTS 10 macro 29 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 135 static client_info client_data[NUM_CLIENTS]; 136 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 137 static TX_THREAD helper_thread[NUM_CLIENTS]; 139 static ULONG stack_space6[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 140 static TX_THREAD helper_thread6[NUM_CLIENTS]; 239 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 302 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 345 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server6() [all …]
|
| D | netx_bsd_tcp_basic_blocking_test.c | 25 #define NUM_CLIENTS 10 macro 29 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 139 static client_info client_data[NUM_CLIENTS]; 140 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 141 static TX_THREAD helper_thread[NUM_CLIENTS]; 143 static ULONG stack_space6[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 144 static TX_THREAD helper_thread6[NUM_CLIENTS]; 371 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 427 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 501 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server6() [all …]
|
| D | netx_bsd_tcp_rcvbuf_test.c | 24 #define NUM_CLIENTS 10 macro 28 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 138 static client_info client_data[NUM_CLIENTS]; 139 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 140 static TX_THREAD helper_thread[NUM_CLIENTS]; 142 static ULONG stack_space6[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 143 static TX_THREAD helper_thread6[NUM_CLIENTS]; 376 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 436 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 516 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server6() [all …]
|
| D | netx_bsd_getaddrinfo_test.c | 63 #define NUM_CLIENTS 10 macro 69 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 190 static client_info client_data[NUM_CLIENTS]; 191 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 192 static TX_THREAD helper_thread[NUM_CLIENTS]; 194 static ULONG stack_space6[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 195 static TX_THREAD helper_thread6[NUM_CLIENTS]; 430 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 486 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server4() 571 for(i = 0; i < NUM_CLIENTS; i++) in test_tcp_server6() [all …]
|
| D | netx_bsd_udp_checksum_corrupt_test.c | 11 #define NUM_CLIENTS 2 macro 74 …&pool_0, "NetX Main Packet Pool", 256, pointer, (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2); in test_application_define() 75 pointer = pointer + (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2; in test_application_define()
|
| D | netx_bsd_ntop_test.c | 18 #define NUM_CLIENTS 10 macro 20 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /…
|
| D | netx_bsd_multicast_test.c | 21 #define NUM_CLIENTS 20 macro 79 …&pool_0, "NetX Main Packet Pool", 256, pointer, (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2); in test_application_define() 80 pointer = pointer + (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2; in test_application_define()
|
| D | netx_bsd_tcp_bind_test.c | 22 #define NUM_CLIENTS 140 macro 26 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /… 27 static ULONG stack_space[NUM_CLIENTS][DEMO_STACK_SIZE / sizeof(ULONG)]; 28 static TX_THREAD helper_thread[NUM_CLIENTS]; 76 memset(helper_thread, 0, sizeof(TX_THREAD) * NUM_CLIENTS); in test_application_define() 162 static client_info client_data[NUM_CLIENTS];
|
| D | netx_bsd_tcp_getsockname_without_bind_test.c | 20 #define NUM_CLIENTS 10 macro 24 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /…
|
| D | netx_bsd_raw_basic_rx_nohdr_blocking_test.c | 22 #define NUM_CLIENTS 20 macro 79 …&pool_0, "NetX Main Packet Pool", 256, pointer, (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2); in test_application_define() 80 pointer = pointer + (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2; in test_application_define()
|
| D | netx_bsd_raw_tx_test.c | 20 #define NUM_CLIENTS 20 macro 178 …&pool_0, "NetX Main Packet Pool", 256, pointer, (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2); in test_application_define() 179 pointer = pointer + (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2; in test_application_define()
|
| D | netx_bsd_raw_rx_nohdr_basic_blocking_test.c | 22 #define NUM_CLIENTS 20 macro 79 …&pool_0, "NetX Main Packet Pool", 256, pointer, (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2); in test_application_define() 80 pointer = pointer + (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2; in test_application_define()
|
| D | netx_bsd_raw_basic_blocking_test.c | 22 #define NUM_CLIENTS 20 macro 79 …&pool_0, "NetX Main Packet Pool", 256, pointer, (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2); in test_application_define() 80 pointer = pointer + (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2; in test_application_define()
|
| D | netx_bsd_udp_basic_blocking_test.c | 23 #define NUM_CLIENTS 20 macro 80 …&pool_0, "NetX Main Packet Pool", 256, pointer, (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2); in test_application_define() 81 pointer = pointer + (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2; in test_application_define()
|
| D | netx_bsd_udp_basic_nonblocking_test.c | 23 #define NUM_CLIENTS 20 macro 81 …&pool_0, "NetX Main Packet Pool", 256, pointer, (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2); in test_application_define() 82 pointer = pointer + (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2; in test_application_define()
|
| D | netx_bsd_tcp_fionread_test.c | 23 #define NUM_CLIENTS NX_BSD_MAX_SOCKETS macro 27 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /…
|
| D | netx_bsd_raw_pppoe_test.c | 26 #define NUM_CLIENTS 20 macro 85 …&pool_0, "NetX Main Packet Pool", 256, pointer, (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2); in test_application_define() 86 pointer = pointer + (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2; in test_application_define()
|
| D | netx_bsd_tcp_udp_select_test.c | 25 #define NUM_CLIENTS 20 macro 29 static ULONG packet_pool_area[(256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 8 /…
|
| D | netx_bsd_udp_connect_test.c | 24 #define NUM_CLIENTS 20 macro 100 …&pool_0, "NetX Main Packet Pool", 256, pointer, (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2); in test_application_define() 101 pointer = pointer + (256 + sizeof(NX_PACKET)) * (NUM_CLIENTS + 4) * 2; in test_application_define()
|