diff options
| author | Frédéric Desbiens <[email protected]> | 2026-03-07 00:14:18 +0100 |
|---|---|---|
| committer | Frédéric Desbiens <[email protected]> | 2026-03-07 00:14:18 +0100 |
| commit | ff90b3ffcb84b2c6099ec31ef032b541e1ef5f0a (patch) | |
| tree | eea5e3221587620a673dc76722ea5345081d605f /test/regression/bsd_test | |
| parent | dd1a89cf27d54b4151931441f522c91beefa4688 (diff) | |
Updated copyright headers and version strings. Removed version history
Diffstat (limited to 'test/regression/bsd_test')
14 files changed, 27 insertions, 27 deletions
diff --git a/test/regression/bsd_test/netx_bsd_ioctl_nonblocking_test.c b/test/regression/bsd_test/netx_bsd_ioctl_nonblocking_test.c index 5bf761b3..46056930 100644 --- a/test/regression/bsd_test/netx_bsd_ioctl_nonblocking_test.c +++ b/test/regression/bsd_test/netx_bsd_ioctl_nonblocking_test.c @@ -835,7 +835,7 @@ char mac_ip1[6]; tx_semaphore_get(&sema_0, 5 * NX_IP_PERIODIC_RATE); - /* Now open another socket and attempt to connect to the correct remote + /* Now open another socket and attempt to connect to the correct remote host but an unexpected port so we expect an unsuccessful connections. */ retry = 0; sockfd = socket(AF_INET, SOCK_STREAM, 0); @@ -907,7 +907,7 @@ char mac_ip1[6]; error_counter++; - /* Now open another socket and attempt to connect to the an incorrect + /* Now open another socket and attempt to connect to the an incorrect remote host so we expect an unsuccessful connections. */ retry = 0; sockfd = socket(AF_INET, SOCK_STREAM, 0); diff --git a/test/regression/bsd_test/netx_bsd_raw_basic_blocking_test.c b/test/regression/bsd_test/netx_bsd_raw_basic_blocking_test.c index aeb55049..f9d1d7dd 100644 --- a/test/regression/bsd_test/netx_bsd_raw_basic_blocking_test.c +++ b/test/regression/bsd_test/netx_bsd_raw_basic_blocking_test.c @@ -297,7 +297,7 @@ char mac_ip1[6]; #endif test_raw_server_ipv4(); - /* Now open another socket and attempt to connect to the correct remote + /* Now open another socket and attempt to connect to the correct remote host but an unexpected port so we expect an unsuccessful connections. */ #if 0 sockfd = socket(AF_INET, SOCK_DGRAM, 0); diff --git a/test/regression/bsd_test/netx_bsd_raw_basic_rx_nohdr_blocking_test.c b/test/regression/bsd_test/netx_bsd_raw_basic_rx_nohdr_blocking_test.c index 34f765c2..fee06050 100644 --- a/test/regression/bsd_test/netx_bsd_raw_basic_rx_nohdr_blocking_test.c +++ b/test/regression/bsd_test/netx_bsd_raw_basic_rx_nohdr_blocking_test.c @@ -294,7 +294,7 @@ char mac_ip1[6]; #endif test_raw_server_ipv4(); - /* Now open another socket and attempt to connect to the correct remote + /* Now open another socket and attempt to connect to the correct remote host but an unexpected port so we expect an unsuccessful connections. */ #if 0 sockfd = socket(AF_INET, SOCK_DGRAM, 0); diff --git a/test/regression/bsd_test/netx_bsd_raw_pppoe_test.c b/test/regression/bsd_test/netx_bsd_raw_pppoe_test.c index c31905ec..ae5450b5 100644 --- a/test/regression/bsd_test/netx_bsd_raw_pppoe_test.c +++ b/test/regression/bsd_test/netx_bsd_raw_pppoe_test.c @@ -1,8 +1,8 @@ /* This NetX test concentrates on the BSD RAW Packet blocking operation for PPPoE traffic. */ -/* This test case covers the following scenarios: - Be able to create socket_1 of PPPOE_SESS for receiving SESS traffice, +/* This test case covers the following scenarios: + Be able to create socket_1 of PPPOE_SESS for receiving SESS traffice, socket_2 for receiving PPPOE_DISC traffic - socket_3 for sending either PPPOE_DISC or PPPOE_SESS traffic. + socket_3 for sending either PPPOE_DISC or PPPOE_SESS traffic. */ diff --git a/test/regression/bsd_test/netx_bsd_raw_rx_nohdr_basic_blocking_test.c b/test/regression/bsd_test/netx_bsd_raw_rx_nohdr_basic_blocking_test.c index 58c67ca5..4129880b 100644 --- a/test/regression/bsd_test/netx_bsd_raw_rx_nohdr_basic_blocking_test.c +++ b/test/regression/bsd_test/netx_bsd_raw_rx_nohdr_basic_blocking_test.c @@ -294,7 +294,7 @@ char mac_ip1[6]; #endif test_raw_server_ipv4(); - /* Now open another socket and attempt to connect to the correct remote + /* Now open another socket and attempt to connect to the correct remote host but an unexpected port so we expect an unsuccessful connections. */ #if 0 sockfd = socket(AF_INET, SOCK_DGRAM, 0); diff --git a/test/regression/bsd_test/netx_bsd_raw_tx_test.c b/test/regression/bsd_test/netx_bsd_raw_tx_test.c index 9e16bd2d..45de010b 100644 --- a/test/regression/bsd_test/netx_bsd_raw_tx_test.c +++ b/test/regression/bsd_test/netx_bsd_raw_tx_test.c @@ -23,7 +23,7 @@ static ULONG bsd_thread_area[DEMO_STACK_SIZE / sizeof(ULONG)]; static ULONG error_counter; -/* The IPv6 packet assumes +/* The IPv6 packet assumes src address fe80::f584:1fdb:425:a239 dst address ff02::1:ffd6:5775 */ @@ -40,7 +40,7 @@ char ipv6_packet[] = { 0x00, 0x1e, 0x8c, 0xd5, 0xd3, 0x1f }; -/* In this test case the source IP address must be +/* In this test case the source IP address must be 192.168.1.185, dest 157.56.52.38 Source MAC 18:a9:05:cc:8f:16 dst MAC 00:24:a5:b5:2c:58 diff --git a/test/regression/bsd_test/netx_bsd_tcp_basic_blocking_test.c b/test/regression/bsd_test/netx_bsd_tcp_basic_blocking_test.c index 4b98ff64..eca7932e 100644 --- a/test/regression/bsd_test/netx_bsd_tcp_basic_blocking_test.c +++ b/test/regression/bsd_test/netx_bsd_tcp_basic_blocking_test.c @@ -699,7 +699,7 @@ int ret; #endif tx_semaphore_get(&sema_0, 5 * NX_IP_PERIODIC_RATE); - /* Now open another socket and attempt to connect to the correct remote + /* Now open another socket and attempt to connect to the correct remote host but an unexpected port so we expect an unsuccessful connections. */ sockfd = socket(AF_INET, SOCK_STREAM, 0); if(sockfd < 0) @@ -718,7 +718,7 @@ int ret; if(ret < 0) error_counter++; - /* Now open another socket and attempt to connect to the an incorrect + /* Now open another socket and attempt to connect to the an incorrect remote host so we expect an unsuccessful connections. */ sockfd = socket(AF_INET, SOCK_STREAM, 0); if(sockfd < 0) diff --git a/test/regression/bsd_test/netx_bsd_tcp_basic_nonblocking_test.c b/test/regression/bsd_test/netx_bsd_tcp_basic_nonblocking_test.c index 90208a3e..dcb89159 100644 --- a/test/regression/bsd_test/netx_bsd_tcp_basic_nonblocking_test.c +++ b/test/regression/bsd_test/netx_bsd_tcp_basic_nonblocking_test.c @@ -691,7 +691,7 @@ char mac_ip1[6]; tx_semaphore_get(&sema_0, 5 * NX_IP_PERIODIC_RATE); - /* Now open another socket and attempt to connect to the correct remote + /* Now open another socket and attempt to connect to the correct remote host but an unexpected port so we expect an unsuccessful connections. */ retry = 0; sockfd = socket(AF_INET, SOCK_STREAM, 0); @@ -763,7 +763,7 @@ char mac_ip1[6]; error_counter++; - /* Now open another socket and attempt to connect to the an incorrect + /* Now open another socket and attempt to connect to the an incorrect remote host so we expect an unsuccessful connections. */ retry = 0; sockfd = socket(AF_INET, SOCK_STREAM, 0); diff --git a/test/regression/bsd_test/netx_bsd_tcp_clients_share_port_test.c b/test/regression/bsd_test/netx_bsd_tcp_clients_share_port_test.c index 6a5832a3..1544d814 100644 --- a/test/regression/bsd_test/netx_bsd_tcp_clients_share_port_test.c +++ b/test/regression/bsd_test/netx_bsd_tcp_clients_share_port_test.c @@ -1,4 +1,4 @@ -/* This demoonstrates sharing a port between an IPv4 and IPv6 TCP client socket to send +/* This demoonstrates sharing a port between an IPv4 and IPv6 TCP client socket to send and receive packets (e.g emulates a socket that can send/receive iPv4 and Ipv6 packets) using a simulated Ethernet driver. */ @@ -392,7 +392,7 @@ NXD_ADDRESS ip_address; ip_address.nxd_ip_address.v6[3] = 0x101; - /* Set the host global IP address. We are assuming a 64 + /* Set the host global IP address. We are assuming a 64 bit prefix here but this can be any value (< 128). */ status = nxd_ipv6_address_set(&bsd_ip_server, 0, &ip_address, 64, &address_index); diff --git a/test/regression/bsd_test/netx_bsd_tcp_clients_shared_port_test.c b/test/regression/bsd_test/netx_bsd_tcp_clients_shared_port_test.c index 6ae1f9e0..d535193e 100644 --- a/test/regression/bsd_test/netx_bsd_tcp_clients_shared_port_test.c +++ b/test/regression/bsd_test/netx_bsd_tcp_clients_shared_port_test.c @@ -1,4 +1,4 @@ -/* This demonstrates sharing a port between an IPv4 and IPv6 TCP client socket to send +/* This demonstrates sharing a port between an IPv4 and IPv6 TCP client socket to send and receive packets (e.g emulates a socket that can send/receive iPv4 and Ipv6 packets) using a simulated Ethernet driver. */ diff --git a/test/regression/bsd_test/netx_bsd_tcp_rcvbuf_test.c b/test/regression/bsd_test/netx_bsd_tcp_rcvbuf_test.c index 985785f7..9b3e20f6 100644 --- a/test/regression/bsd_test/netx_bsd_tcp_rcvbuf_test.c +++ b/test/regression/bsd_test/netx_bsd_tcp_rcvbuf_test.c @@ -718,7 +718,7 @@ int ret; #endif tx_semaphore_get(&sema_0, 5 * NX_IP_PERIODIC_RATE); - /* Now open another socket and attempt to connect to the correct remote + /* Now open another socket and attempt to connect to the correct remote host but an unexpected port so we expect an unsuccessful connections. */ sockfd = socket(AF_INET, SOCK_STREAM, 0); if(sockfd < 0) @@ -737,7 +737,7 @@ int ret; if(ret < 0) error_counter++; - /* Now open another socket and attempt to connect to the an incorrect + /* Now open another socket and attempt to connect to the an incorrect remote host so we expect an unsuccessful connections. */ sockfd = socket(AF_INET, SOCK_STREAM, 0); if(sockfd < 0) diff --git a/test/regression/bsd_test/netx_bsd_tcp_servers_share_port_test.c b/test/regression/bsd_test/netx_bsd_tcp_servers_share_port_test.c index 4a364b78..4ca1f3b7 100644 --- a/test/regression/bsd_test/netx_bsd_tcp_servers_share_port_test.c +++ b/test/regression/bsd_test/netx_bsd_tcp_servers_share_port_test.c @@ -1,4 +1,4 @@ -/* This demoonstrates sharing a port between an IPv4 and IPv6 TCP server socket to send +/* This demoonstrates sharing a port between an IPv4 and IPv6 TCP server socket to send and receive packets (e.g emulates a socket that can send/receive iPv4 and Ipv6 packets) using a simulated Ethernet driver. */ @@ -316,7 +316,7 @@ CHAR Server_Rcv_Buffer[100]; if (status == ERROR) { /* This is a blocking socket. If no data is received, but the connection is still good, - the EAGAIN error is set. If it was a non blocking socket, the EWOULDBLOCK socket + the EAGAIN error is set. If it was a non blocking socket, the EWOULDBLOCK socket error is set. */ if (errno == EAGAIN) { @@ -463,7 +463,7 @@ CHAR Server_Rcv_Buffer[100]; ip_address.nxd_ip_address.v6[2] = 0; ip_address.nxd_ip_address.v6[3] = 0x101; - /* Set the host global IP address. We are assuming a 64 + /* Set the host global IP address. We are assuming a 64 bit prefix here but this can be any value (< 128). */ status = nxd_ipv6_address_set(&bsd_ip_server, 0, &ip_address, 64, &address_index); @@ -576,7 +576,7 @@ CHAR Server_Rcv_Buffer[100]; if ((status == ERROR) || (status == 0)) { /* This is a blocking socket. If no data is received, but the connection is still good, - the EAGAIN error is set. If it was a non blocking socket, the EWOULDBLOCK socket + the EAGAIN error is set. If it was a non blocking socket, the EWOULDBLOCK socket error is set. */ if (errno == EAGAIN) { @@ -707,7 +707,7 @@ UINT address_index; ip_address.nxd_ip_address.v6[2] = 0; ip_address.nxd_ip_address.v6[3] = 0x1235; - /* Set the host global IP address. We are assuming a 64 + /* Set the host global IP address. We are assuming a 64 bit prefix here but this can be any value (< 128). */ status = nxd_ipv6_address_set(&bsd_ip_client, 0, &ip_address, 64, &address_index); diff --git a/test/regression/bsd_test/netx_bsd_tcp_servers_shared_port_test.c b/test/regression/bsd_test/netx_bsd_tcp_servers_shared_port_test.c index 53bd15fc..1540d156 100644 --- a/test/regression/bsd_test/netx_bsd_tcp_servers_shared_port_test.c +++ b/test/regression/bsd_test/netx_bsd_tcp_servers_shared_port_test.c @@ -1,4 +1,4 @@ -/* This demoonstrates sharing a port between an IPv4 and IPv6 TCP server socket to send +/* This demoonstrates sharing a port between an IPv4 and IPv6 TCP server socket to send and receive packets (e.g emulates a socket that can send/receive iPv4 and Ipv6 packets) using a simulated Ethernet driver. */ diff --git a/test/regression/bsd_test/netx_bsd_udp_bind_test.c b/test/regression/bsd_test/netx_bsd_udp_bind_test.c index ba12267e..fb936708 100644 --- a/test/regression/bsd_test/netx_bsd_udp_bind_test.c +++ b/test/regression/bsd_test/netx_bsd_udp_bind_test.c @@ -789,11 +789,11 @@ INT reuseaddr = 0; #endif } - /* Test UDP sockets binding to address1, 2, 3 are able to receive packets according to their + /* Test UDP sockets binding to address1, 2, 3 are able to receive packets according to their binding information */ test_udp_bind_to_three_interfaces(0, 1, 2); - /* Test UDP sockets binding to address1, 3, and another bind to INADDR_ANY. + /* Test UDP sockets binding to address1, 3, and another bind to INADDR_ANY. Traffic to address 1 goes to the INADDR_ANY bind. */ test_udp_bind_to_three_interfaces(0, 2, 3); |
