/NetX-Duo-v6.4.1/test/regression/nat_test/ |
D | netx_nat_tcp_test2.c | 29 NX_TCP_SOCKET external_socket; variable 288 …status = nx_tcp_socket_create(&external_ip, &external_socket, "Local Socket", NX_IP_NORMAL, NX_FRA… in thread_0_entry() 298 status = nx_tcp_client_socket_bind(&external_socket, 0x89, NX_WAIT_FOREVER); in thread_0_entry() 312 …status = nx_tcp_client_socket_connect(&external_socket, NX_NAT_EXTERNAL_IPADR, 0x88, 5 * NX_IP_PE… in thread_0_entry() 328 …status = nx_tcp_client_socket_connect(&external_socket, NX_NAT_EXTERNAL_IPADR, 0x88, 5 * NX_IP_PE… in thread_0_entry() 354 …status = nx_tcp_client_socket_connect(&external_socket, NX_NAT_EXTERNAL_IPADR, 0x88, 5 * NX_IP_PE… in thread_0_entry() 364 … status = nx_tcp_socket_state_wait(&external_socket, NX_TCP_ESTABLISHED, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 391 status = nx_tcp_socket_send(&external_socket, my_packet, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 402 status = nx_tcp_socket_disconnect(&external_socket, 5 * NX_IP_PERIODIC_RATE); in thread_0_entry() 412 status = nx_tcp_client_socket_unbind(&external_socket); in thread_0_entry() [all …]
|
D | netx_nat_udp_test.c | 30 NX_UDP_SOCKET external_socket; variable 311 …status = nx_udp_socket_create(&external_ip, &external_socket, "External Socket", NX_IP_NORMAL, NX_… in thread_0_entry() 320 status = nx_udp_socket_bind(&external_socket, 0x89, TX_WAIT_FOREVER); in thread_0_entry() 390 status = nx_udp_socket_send(&external_socket, my_packet, NX_NAT_EXTERNAL_IPADR, 0x88); in thread_0_entry() 463 status = nx_udp_socket_send(&external_socket, my_packet, NX_NAT_EXTERNAL_IPADR, 0x88); in thread_0_entry() 542 status = nx_udp_socket_send(&external_socket, my_packet, NX_NAT_EXTERNAL_IPADR, 0x88); in thread_0_entry() 585 …status = nx_udp_socket_info_get(&external_socket, &packets_sent, &bytes_sent, &packets_received, … in thread_0_entry() 627 status = nx_udp_socket_unbind(&external_socket); in thread_0_entry() 638 status = nx_udp_socket_delete(&external_socket); in thread_0_entry() 666 status = nx_udp_socket_receive(&external_socket, &my_packet, 10 * NX_IP_PERIODIC_RATE); in thread_1_entry() [all …]
|
D | netx_nat_tcp_fragment_test.c | 29 NX_TCP_SOCKET external_socket; variable 492 status = nx_tcp_socket_create(&external_ip, &external_socket, "External Server Socket", in thread_1_entry() 508 status = nx_tcp_server_socket_listen(&external_ip, 0x89, &external_socket, 5, NX_NULL); in thread_1_entry() 518 status = nx_tcp_server_socket_accept(&external_socket, NX_WAIT_FOREVER); in thread_1_entry() 532 status = nx_tcp_socket_receive(&external_socket, &my_packet, NX_IP_PERIODIC_RATE); in thread_1_entry() 609 status = nx_tcp_socket_send(&external_socket, my_packet, NX_IP_PERIODIC_RATE); in thread_1_entry() 620 status = nx_tcp_socket_disconnect(&external_socket, 5 * NX_IP_PERIODIC_RATE); in thread_1_entry() 630 status = nx_tcp_server_socket_unaccept(&external_socket); in thread_1_entry() 650 status = nx_tcp_socket_delete(&external_socket); in thread_1_entry()
|
D | netx_nat_tcp_test1.c | 29 NX_TCP_SOCKET external_socket; variable 458 status = nx_tcp_socket_create(&external_ip, &external_socket, "External Server Socket", in thread_1_entry() 474 status = nx_tcp_server_socket_listen(&external_ip, 0x89, &external_socket, 5, NX_NULL); in thread_1_entry() 484 status = nx_tcp_server_socket_accept(&external_socket, NX_WAIT_FOREVER); in thread_1_entry() 494 status = nx_tcp_socket_receive(&external_socket, &my_packet, 5 * NX_IP_PERIODIC_RATE); in thread_1_entry() 509 status = nx_tcp_socket_disconnect(&external_socket, 5 * NX_IP_PERIODIC_RATE); in thread_1_entry() 519 status = nx_tcp_server_socket_unaccept(&external_socket); in thread_1_entry() 539 status = nx_tcp_socket_delete(&external_socket); in thread_1_entry()
|
D | netx_nat_tcp_port_test.c | 30 NX_TCP_SOCKET external_socket; variable 526 status = nx_tcp_socket_create(&external_ip, &external_socket, "External Server Socket", in thread_1_entry() 542 status = nx_tcp_server_socket_listen(&external_ip, 0x89, &external_socket, 5, NX_NULL); in thread_1_entry() 552 status = nx_tcp_server_socket_accept(&external_socket, NX_WAIT_FOREVER); in thread_1_entry() 562 status = nx_tcp_socket_peer_info_get(&external_socket, &peer_ip_address, &peer_port); in thread_1_entry() 572 status = nx_tcp_socket_receive(&external_socket, &my_packet, 5 * NX_IP_PERIODIC_RATE); in thread_1_entry() 588 status = nx_tcp_socket_disconnect(&external_socket, 5 * NX_IP_PERIODIC_RATE); in thread_1_entry() 598 status = nx_tcp_server_socket_unaccept(&external_socket); in thread_1_entry() 618 status = nx_tcp_socket_delete(&external_socket); in thread_1_entry()
|
D | netx_nat_tcp_port_test2.c | 31 NX_TCP_SOCKET external_socket; variable 527 status = nx_tcp_socket_create(&external_ip, &external_socket, "External Server Socket", in thread_1_entry() 543 status = nx_tcp_server_socket_listen(&external_ip, 0x89, &external_socket, 5, NX_NULL); in thread_1_entry() 553 status = nx_tcp_server_socket_accept(&external_socket, NX_WAIT_FOREVER); in thread_1_entry() 563 status = nx_tcp_socket_peer_info_get(&external_socket, &peer_ip_address, &peer_port); in thread_1_entry() 573 status = nx_tcp_socket_receive(&external_socket, &my_packet, 5 * NX_IP_PERIODIC_RATE); in thread_1_entry() 589 status = nx_tcp_socket_disconnect(&external_socket, 5 * NX_IP_PERIODIC_RATE); in thread_1_entry() 599 status = nx_tcp_server_socket_unaccept(&external_socket); in thread_1_entry() 619 status = nx_tcp_socket_delete(&external_socket); in thread_1_entry()
|
D | netx_nat_invalid_header_test.c | 29 NX_UDP_SOCKET external_socket; variable 305 …status = nx_udp_socket_create(&external_ip, &external_socket, "External Socket", NX_IP_NORMAL, NX_… in thread_0_entry() 314 status = nx_udp_socket_bind(&external_socket, 0x89, TX_WAIT_FOREVER); in thread_0_entry() 354 status = nx_udp_socket_send(&external_socket, my_packet, NX_NAT_EXTERNAL_IPADR, 0x88); in thread_0_entry() 387 status = nx_udp_socket_unbind(&external_socket); in thread_0_entry() 398 status = nx_udp_socket_delete(&external_socket); in thread_0_entry()
|
D | netx_nat_udp_port_test.c | 31 NX_UDP_SOCKET external_socket; variable 415 …status = nx_udp_socket_create(&external_ip, &external_socket, "External Socket", NX_IP_NORMAL, NX_… in thread_0_entry() 424 status = nx_udp_socket_bind(&external_socket, 0x89, TX_WAIT_FOREVER); in thread_0_entry() 546 status = nx_udp_socket_unbind(&external_socket); in thread_0_entry() 557 status = nx_udp_socket_delete(&external_socket); in thread_0_entry() 587 status = nx_udp_socket_receive(&external_socket, &my_packet, 10 * NX_IP_PERIODIC_RATE); in thread_1_entry()
|
D | netx_nat_udp_fragment_test.c | 30 NX_UDP_SOCKET external_socket; variable 329 …status = nx_udp_socket_create(&external_ip, &external_socket, "External Socket", NX_IP_NORMAL, NX_… in thread_0_entry() 339 status = nx_udp_socket_bind(&external_socket, 0x89, TX_WAIT_FOREVER); in thread_0_entry() 422 status = nx_udp_socket_send(&external_socket, my_packet, NX_NAT_EXTERNAL_IPADR, 0x88); in thread_0_entry() 454 status = nx_udp_socket_receive(&external_socket, &my_packet, NX_IP_PERIODIC_RATE); in thread_1_entry()
|
D | netx_nat_tcp_remove_oldest_udp_entry_test.c | 47 NX_TCP_SOCKET external_socket; variable
|