| /NetX-Duo-v6.2.1/test/regression/bsd_test/ |
| D | netx_bsd_tcp_sendto_recvfrom_test.c | 142 remote_addr.sin_port = htons(12); in test_tcp_client4() 158 (remote_addr.sin_port != htons(12)) || in test_tcp_client4() 172 (remote_addr.sin_port != htons(12)) || in test_tcp_client4() 187 (remote_addr.sin_port != htons(12)) || in test_tcp_client4() 194 remote_addr.sin_port = htons(12); in test_tcp_client4() 205 (remote_addr.sin_port != htons(12)) || in test_tcp_client4() 212 remote_addr.sin_port = htons(13); in test_tcp_client4() 223 (remote_addr.sin_port != htons(12)) || in test_tcp_client4()
|
| D | netx_bsd_tcp_getsockname_without_bind_test.c | 141 remote_addr.sin_port = htons(13); in ntest_0_entry() 155 else if(local_addr.sin_port == 0) in ntest_0_entry() 169 remote_addr.sin_port = htons(12); in ntest_0_entry() 183 else if(local_addr.sin_port != htons(client_port)) in ntest_0_entry()
|
| D | netx_bsd_tcp_2nd_bind_test.c | 129 local_addr.sin_port = htons(12345); in ntest_0_entry() 142 local_addr.sin_port = htons(12345); in ntest_0_entry()
|
| D | netx_bsd_udp_bind_test.c | 309 local_addr.sin_port = 0; in test_udp_server4_bind_to_ANY() 321 if (local_addr.sin_port == 0) in test_udp_server4_bind_to_ANY() 330 local_addr.sin_port = htons(12345); in test_udp_server4_bind_to_ANY() 348 (remote_addr.sin_port != htons(54321))) in test_udp_server4_bind_to_ANY() 386 local_addr.sin_port = htons(12345); in test_udp_server4_bind_to_AF_INET() 404 (remote_addr.sin_port != htons(54321))) in test_udp_server4_bind_to_AF_INET() 549 local_addr.sin_port = htons(12345); in test_udp4_on_interface() 568 (remote_addr.sin_port != htons(54321))) in test_udp4_on_interface() 606 local_addr.sin_port = htons(12345); in test_udp4_receive_multiple() 632 (remote_addr.sin_port != htons(54321))) in test_udp4_receive_multiple()
|
| D | netx_bsd_tcp_basic_blocking_test.c | 283 local_addr.sin_port = INADDR_ANY; in test_tcp_client4() 291 remote_addr.sin_port = htons(12); in test_tcp_client4() 359 local_addr.sin_port = htons(12345); in test_tcp_server4() 392 else if(local_addr.sin_port != htons(12345)) in test_tcp_server4() 593 local_addr.sin_port = htons(12345); in close_before_accept_test() 610 remote_addr.sin_port = htons(12345); in close_before_accept_test() 709 remote_addr.sin_port = htons(13); in ntest_0_entry() 729 remote_addr.sin_port = htons(13); in ntest_0_entry()
|
| D | netx_bsd_tcp_rcvbuf_test.c | 283 local_addr.sin_port = INADDR_ANY; in test_tcp_client4() 291 remote_addr.sin_port = htons(12); in test_tcp_client4() 364 local_addr.sin_port = htons(12345); in test_tcp_server4() 401 else if(local_addr.sin_port != htons(12345)) in test_tcp_server4() 612 local_addr.sin_port = htons(12345); in close_before_accept_test() 629 remote_addr.sin_port = htons(12345); in close_before_accept_test() 728 remote_addr.sin_port = htons(13); in ntest_0_entry() 748 remote_addr.sin_port = htons(13); in ntest_0_entry()
|
| D | netx_bsd_tcp_clients_shared_port_test.c | 267 echoClientAddr.sin_port = htons(CLIENT_PORT); in thread_client_entry() 272 echoServAddr.sin_port = htons(76); in thread_client_entry() 296 if (localAddr.sin_port != htons(CLIENT_PORT)) in thread_client_entry()
|
| D | netx_bsd_ioctl_nonblocking_test.c | 251 local_addr.sin_port = htons(12345); in test_tcp_blocking_server4() 295 else if(local_addr.sin_port != htons(12345)) in test_tcp_blocking_server4() 357 local_addr.sin_port = htons(12345); in test_tcp_server4() 579 remote_addr.sin_port = htons(12); in test_tcp_client4() 850 remote_addr.sin_port = htons(13); in ntest_0_entry() 922 remote_addr.sin_port = htons(13); in ntest_0_entry()
|
| D | netx_bsd_multicast_test.c | 137 local_addr.sin_port = htons(12345); in test_udp_server4() 197 (remote_addr.sin_port != htons(54321))) in test_udp_server4()
|
| D | netx_bsd_raw_tx_test.c | 233 remote_addr.sin_port = htons(5); in test_raw_ipv4_sendto() 371 remote_addr.sin_port = htons(5); in test_raw_ipv4_send()
|
| D | netx_bsd_tcp_servers_shared_port_test.c | 257 echoServAddr.sin_port = htons(SERVER_PORT); in thread_server_entry() 302 if (localAddr.sin_port != htons(SERVER_PORT)) in thread_server_entry()
|
| D | netx_bsd_getaddrinfo_test.c | 451 else if(local_addr.sin_port != htons(12345)) in test_tcp_server4() 663 local_addr.sin_port = htons(12345); in close_before_accept_test() 680 remote_addr.sin_port = htons(12345); in close_before_accept_test() 779 remote_addr.sin_port = htons(13); in ntest_0_entry() 799 remote_addr.sin_port = htons(13); in ntest_0_entry()
|
| D | netx_bsd_tcp_disconnect_test.c | 205 remote_addr.sin_port = htons(12); in test_tcp_client4() 240 local_addr.sin_port = htons(12345); in test_tcp_server4()
|
| D | netx_bsd_udp_basic_blocking_test.c | 193 local_addr.sin_port = htons(12345); in test_udp_server4() 211 (remote_addr.sin_port != htons(54321))) in test_udp_server4()
|
| D | netx_bsd_tcp_basic_nonblocking_test.c | 225 local_addr.sin_port = htons(12345); in test_tcp_server4() 443 remote_addr.sin_port = htons(12); in test_tcp_client4() 706 remote_addr.sin_port = htons(13); in ntest_0_entry() 778 remote_addr.sin_port = htons(13); in ntest_0_entry()
|
| D | netx_bsd_raw_ping_test.c | 158 remote_addr.sin_port = 0; in ntest_0_entry()
|
| D | netx_bsd_udp_basic_nonblocking_test.c | 235 local_addr.sin_port = htons(12345); in test_udp_server4() 280 (remote_addr.sin_port != htons(54321))) in test_udp_server4()
|
| D | netx_bsd_tcp_clients_share_port_test.c | 730 echoClientAddr.sin_port = htons(CLIENT_PORT); in thread_client_entry() 736 echoServAddr.sin_port = htons(SERVER_PORT); in thread_client_entry()
|
| D | netx_bsd_tcp_bind_test.c | 216 local_addr.sin_port = 0; in bsd_server4_helper_thread_test_2() 228 if (local_addr.sin_port == 0) in bsd_server4_helper_thread_test_2() 239 local_addr.sin_port = htons(12345); in bsd_server4_helper_thread_test_2()
|
| D | netx_bsd_udp_checksum_corrupt_test.c | 143 local_addr.sin_port = htons(12345); in ntest_0_entry()
|
| D | netx_bsd_tcp_servers_share_port_test.c | 239 serverAddr.sin_port = htons(SERVER_PORT); in thread_server_entry() 830 echoServAddr.sin_port = htons(SERVER_PORT); in thread_client_entry()
|
| D | netx_bsd_udp_connect_test.c | 161 local_addr.sin_port = htons(12345); in test_udp4_connect() 170 remote_addr.sin_port = htons(54321); in test_udp4_connect()
|
| D | netx_bsd_raw_bind_connect_test.c | 230 local_addr.sin_port = htons(100); in test_raw4_on_interface() 238 remote_addr.sin_port = htons(100); in test_raw4_on_interface()
|
| /NetX-Duo-v6.2.1/samples/ |
| D | demo_bsd_udp.c | 156 echoServAddr.sin_port = htons(SERVER_PORT); in thread_server_entry() 182 (UINT)fromAddr.sin_addr.s_addr, (ULONG)fromAddr.sin_port); in thread_server_entry() 239 destAddr.sin_port = htons(SERVER_PORT); in thread_client_entry() 273 (UINT)fromAddr.sin_addr.s_addr, (ULONG)fromAddr.sin_port); in thread_client_entry()
|
| D | demo_bsd_tcp.c | 240 serverAddr.sin_port = htons(SERVER_PORT); in thread_server_entry() 447 localAddr.sin_port = htons(CLIENT_PORT); in thread_client_entry() 452 echoServAddr.sin_port = htons(SERVER_PORT); in thread_client_entry() 514 …printf("Client port = %lu , Client = 0x%x,", (ULONG)localAddr.sin_port, (UINT)localAddr.sin_addr.s… in thread_client_entry() 517 …printf("Remote port = %lu, Remote IP = 0x%x \n", (ULONG)remoteAddr.sin_port, (UINT)remoteAddr.sin_… in thread_client_entry()
|