| /NetX-Duo-v6.2.1/test/regression/nat_test/ |
| D | netx_nat_tcp_test1.c | 28 NX_TCP_SOCKET local_socket; variable 288 …status = nx_tcp_socket_create(&local_ip, &local_socket, "Local Socket", NX_IP_NORMAL, NX_FRAGMENT_… in thread_0_entry() 298 status = nx_tcp_client_socket_bind(&local_socket, 0x88, NX_WAIT_FOREVER); in thread_0_entry() 312 …status = nx_tcp_client_socket_connect(&local_socket, NX_NAT_EXTERNAL_HOST, 0x89, 5 * NX_IP_PERIOD… in thread_0_entry() 332 …status = nx_tcp_client_socket_connect(&local_socket, NX_NAT_EXTERNAL_HOST, 0x89, 5 * NX_IP_PERIOD… in thread_0_entry() 342 status = nx_tcp_socket_state_wait(&local_socket, NX_TCP_ESTABLISHED, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 369 status = nx_tcp_socket_send(&local_socket, my_packet, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 380 status = nx_tcp_socket_disconnect(&local_socket, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 390 status = nx_tcp_client_socket_unbind(&local_socket); in thread_0_entry() 400 status = nx_tcp_socket_info_get(&local_socket, &packets_sent, &bytes_sent, in thread_0_entry() [all …]
|
| D | netx_nat_udp_test.c | 29 NX_UDP_SOCKET local_socket; variable 290 …status = nx_udp_socket_create(&local_ip, &local_socket, "Local Socket", NX_IP_NORMAL, NX_FRAGMENT_… in thread_0_entry() 300 status = nx_udp_socket_bind(&local_socket, 0x88, TX_WAIT_FOREVER); in thread_0_entry() 355 status = nx_udp_socket_send(&local_socket, my_packet, NX_NAT_EXTERNAL_HOST, 0x89); in thread_0_entry() 428 status = nx_udp_socket_send(&local_socket, my_packet, NX_NAT_EXTERNAL_HOST, 0x89); in thread_0_entry() 507 status = nx_udp_socket_send(&local_socket, my_packet, NX_NAT_EXTERNAL_HOST, 0x89); in thread_0_entry() 565 …status = nx_udp_socket_info_get(&local_socket, &packets_sent, &bytes_sent, &packets_received, &by… in thread_0_entry() 605 status = nx_udp_socket_unbind(&local_socket); in thread_0_entry() 616 status = nx_udp_socket_delete(&local_socket); in thread_0_entry() 690 status = nx_udp_socket_receive(&local_socket, &my_packet, 10 * NX_IP_PERIODIC_RATE); in thread_1_entry() [all …]
|
| D | netx_nat_tcp_fragment_test.c | 28 NX_TCP_SOCKET local_socket; variable 311 …status = nx_tcp_socket_create(&local_ip, &local_socket, "Local Socket", NX_IP_NORMAL, NX_FRAGMENT_… in thread_0_entry() 321 status = nx_tcp_client_socket_bind(&local_socket, 0x88, NX_WAIT_FOREVER); in thread_0_entry() 339 …status = nx_tcp_client_socket_connect(&local_socket, NX_NAT_EXTERNAL_HOST, 0x89, NX_IP_PERIODIC_R… in thread_0_entry() 349 status = nx_tcp_socket_state_wait(&local_socket, NX_TCP_ESTABLISHED, NX_IP_PERIODIC_RATE); in thread_0_entry() 376 status = nx_tcp_socket_send(&local_socket, my_packet, NX_IP_PERIODIC_RATE); in thread_0_entry() 397 status = nx_tcp_socket_receive(&local_socket, &my_packet, NX_IP_PERIODIC_RATE); in thread_0_entry() 447 status = nx_tcp_socket_disconnect(&local_socket, NX_IP_PERIODIC_RATE); in thread_0_entry() 457 status = nx_tcp_client_socket_unbind(&local_socket); in thread_0_entry() 467 status = nx_tcp_socket_delete(&local_socket); in thread_0_entry()
|
| D | netx_nat_tcp_port_test.c | 28 NX_TCP_SOCKET local_socket; variable 359 …status = nx_tcp_socket_create(&local_ip, &local_socket, "Local Socket", NX_IP_NORMAL, NX_FRAGMENT_… in thread_0_entry() 369 status = nx_tcp_client_socket_bind(&local_socket, 0x88, NX_WAIT_FOREVER); in thread_0_entry() 387 …status = nx_tcp_client_socket_connect(&local_socket, NX_NAT_EXTERNAL_HOST, 0x89, 5 * NX_IP_PERIOD… in thread_0_entry() 397 status = nx_tcp_socket_state_wait(&local_socket, NX_TCP_ESTABLISHED, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 424 status = nx_tcp_socket_send(&local_socket, my_packet, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 446 status = nx_tcp_socket_disconnect(&local_socket, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 456 status = nx_tcp_client_socket_unbind(&local_socket); in thread_0_entry() 466 status = nx_tcp_socket_info_get(&local_socket, &packets_sent, &bytes_sent, in thread_0_entry() 492 status = nx_tcp_socket_delete(&local_socket); in thread_0_entry()
|
| D | netx_nat_tcp_port_test2.c | 28 NX_TCP_SOCKET local_socket; variable 360 …status = nx_tcp_socket_create(&local_ip, &local_socket, "Local Socket", NX_IP_NORMAL, NX_FRAGMENT_… in thread_0_entry() 370 status = nx_tcp_client_socket_bind(&local_socket, 0x88, NX_WAIT_FOREVER); in thread_0_entry() 388 …status = nx_tcp_client_socket_connect(&local_socket, NX_NAT_EXTERNAL_HOST, 0x89, 5 * NX_IP_PERIOD… in thread_0_entry() 398 status = nx_tcp_socket_state_wait(&local_socket, NX_TCP_ESTABLISHED, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 425 status = nx_tcp_socket_send(&local_socket, my_packet, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 447 status = nx_tcp_socket_disconnect(&local_socket, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 457 status = nx_tcp_client_socket_unbind(&local_socket); in thread_0_entry() 467 status = nx_tcp_socket_info_get(&local_socket, &packets_sent, &bytes_sent, in thread_0_entry() 493 status = nx_tcp_socket_delete(&local_socket); in thread_0_entry()
|
| D | netx_nat_tcp_test2.c | 28 NX_TCP_SOCKET local_socket; variable 471 status = nx_tcp_socket_create(&local_ip, &local_socket, "External Server Socket", in thread_1_entry() 487 status = nx_tcp_server_socket_listen(&local_ip, 0x88, &local_socket, 5, NX_NULL); in thread_1_entry() 497 status = nx_tcp_server_socket_accept(&local_socket, NX_WAIT_FOREVER); in thread_1_entry() 507 status = nx_tcp_socket_receive(&local_socket, &my_packet, 5 * NX_IP_PERIODIC_RATE); in thread_1_entry() 522 status = nx_tcp_socket_disconnect(&local_socket, 5 * NX_IP_PERIODIC_RATE); in thread_1_entry() 532 status = nx_tcp_server_socket_unaccept(&local_socket); in thread_1_entry() 552 status = nx_tcp_socket_delete(&local_socket); in thread_1_entry()
|
| D | netx_nat_udp_port_test.c | 29 NX_UDP_SOCKET local_socket; variable 394 …status = nx_udp_socket_create(&local_ip, &local_socket, "Local Socket", NX_IP_NORMAL, NX_FRAGMENT_… in thread_0_entry() 404 status = nx_udp_socket_bind(&local_socket, 0x88, TX_WAIT_FOREVER); in thread_0_entry() 459 status = nx_udp_socket_send(&local_socket, my_packet, NX_NAT_EXTERNAL_HOST, 0x89); in thread_0_entry() 482 …status = nx_udp_socket_info_get(&local_socket, &packets_sent, &bytes_sent, &packets_received, &by… in thread_0_entry() 524 status = nx_udp_socket_unbind(&local_socket); in thread_0_entry() 535 status = nx_udp_socket_delete(&local_socket); in thread_0_entry()
|
| D | netx_nat_invalid_header_test.c | 28 NX_UDP_SOCKET local_socket; variable 284 …status = nx_udp_socket_create(&local_ip, &local_socket, "Local Socket", NX_IP_NORMAL, NX_FRAGMENT_… in thread_0_entry() 294 status = nx_udp_socket_bind(&local_socket, 0x88, TX_WAIT_FOREVER); in thread_0_entry() 365 status = nx_udp_socket_unbind(&local_socket); in thread_0_entry() 376 status = nx_udp_socket_delete(&local_socket); in thread_0_entry()
|
| D | netx_nat_udp_fragment_test.c | 29 NX_UDP_SOCKET local_socket; variable 308 …status = nx_udp_socket_create(&local_ip, &local_socket, "Local Socket", NX_IP_NORMAL, NX_FRAGMENT_… in thread_0_entry() 318 status = nx_udp_socket_bind(&local_socket, 0x88, TX_WAIT_FOREVER); in thread_0_entry() 378 status = nx_udp_socket_send(&local_socket, my_packet, NX_NAT_EXTERNAL_HOST, 0x89); in thread_0_entry() 495 status = nx_udp_socket_receive(&local_socket, &my_packet, NX_IP_PERIODIC_RATE); in thread_1_entry()
|
| D | netx_nat_tcp_remove_oldest_udp_entry_test.c | 46 NX_TCP_SOCKET local_socket; variable 275 …status = nx_tcp_socket_create(&local_ip, &local_socket, "Local Socket", NX_IP_NORMAL, NX_FRAGMENT_… in thread_client_entry() 442 status = nx_tcp_client_socket_bind(&local_socket, local_port, NX_WAIT_FOREVER); in thread_client_entry() 451 status = nx_tcp_client_socket_connect(&local_socket, NX_NAT_EXTERNAL_HOST, peer_port, 20); in thread_client_entry() 499 status = nx_tcp_client_socket_unbind(&local_socket); in thread_client_entry()
|