diff options
Diffstat (limited to 'test/regression/dhcp_test')
57 files changed, 627 insertions, 0 deletions
diff --git a/test/regression/dhcp_test/netx_dhcp_03_01_01_test.c b/test/regression/dhcp_test/netx_dhcp_03_01_01_test.c index e62c13de..e4abce61 100644 --- a/test/regression/dhcp_test/netx_dhcp_03_01_01_test.c +++ b/test/regression/dhcp_test/netx_dhcp_03_01_01_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* The client broadcasts a DHCPREQUEST message that MUST include the "server identifier" option to indicate which server it has selected. * rfc 2131, page 16, 3.1 Client-server interaction - allocating a network address */ diff --git a/test/regression/dhcp_test/netx_dhcp_03_02_01_test.c b/test/regression/dhcp_test/netx_dhcp_03_02_01_test.c index f295249a..8ed6540d 100644 --- a/test/regression/dhcp_test/netx_dhcp_03_02_01_test.c +++ b/test/regression/dhcp_test/netx_dhcp_03_02_01_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* As the client has not received its network address, it MUST NOT fill in the 'ciaddr' field. And servers with knowledge of * the client's configuration parameters respond with a DHCPACK message to the client. * rfc 2131, page 18, 3.2 Client-server interaction - resuing a previously allocated network address diff --git a/test/regression/dhcp_test/netx_dhcp_03_02_02_test.c b/test/regression/dhcp_test/netx_dhcp_03_02_02_test.c index 8c8f240e..81c90046 100644 --- a/test/regression/dhcp_test/netx_dhcp_03_02_02_test.c +++ b/test/regression/dhcp_test/netx_dhcp_03_02_02_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* If the client's request is invalid, servers SHOULD respond with a DHCPNAK message to the client. * If 'giaddr' is 0x00 in the DHCPREQUEST message, the server MUST broacast the DHCPNAK message to the 0xffffffff broadcast address * diff --git a/test/regression/dhcp_test/netx_dhcp_03_02_03_test.c b/test/regression/dhcp_test/netx_dhcp_03_02_03_test.c index 7d00c235..5a5b8b0d 100644 --- a/test/regression/dhcp_test/netx_dhcp_03_02_03_test.c +++ b/test/regression/dhcp_test/netx_dhcp_03_02_03_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* If the client's request is invalid, servers SHOULD respond with a DHCPNAK message to the client. * rfc 2131, page 18, 3.1 Client-server interaction - allocating a network address */ diff --git a/test/regression/dhcp_test/netx_dhcp_03_05_01_test.c b/test/regression/dhcp_test/netx_dhcp_03_05_01_test.c index a9c07db4..bb47f133 100644 --- a/test/regression/dhcp_test/netx_dhcp_03_05_01_test.c +++ b/test/regression/dhcp_test/netx_dhcp_03_05_01_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* If the client includes a list fo parameters in a DHCPDISCOVER message, it MUST include that list in any subsequent DHCPREQUEST messsages. * rfc 2131, page 21, 3.5 Client parameters in DHCP * diff --git a/test/regression/dhcp_test/netx_dhcp_04_01_01_test.c b/test/regression/dhcp_test/netx_dhcp_04_01_01_test.c index f2060d51..9282d3e6 100644 --- a/test/regression/dhcp_test/netx_dhcp_04_01_01_test.c +++ b/test/regression/dhcp_test/netx_dhcp_04_01_01_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* A client that can't receive unicast IP datagrams until its protocol software has been configured with an IP address SHOULD set the BROADCAST * bit in the 'flags' field to 1 in any DHCPDISCOVER or DHCPREQUEST messages that client sends. * rfc 2131, page 25, 4.1 Constructing and sending DHCP messages diff --git a/test/regression/dhcp_test/netx_dhcp_04_03_02_01_test.c b/test/regression/dhcp_test/netx_dhcp_04_03_02_01_test.c index 81acccd8..633603f1 100644 --- a/test/regression/dhcp_test/netx_dhcp_04_03_02_01_test.c +++ b/test/regression/dhcp_test/netx_dhcp_04_03_02_01_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* ciaddr' MUST be zero, 'requested IP address' MUST be filled in with the yiaddr value from the chosen DHCPOFFER * rfc 2131, page 31, 4.3.2 DHCPREQUEST message * diff --git a/test/regression/dhcp_test/netx_dhcp_04_03_02_02_test.c b/test/regression/dhcp_test/netx_dhcp_04_03_02_02_test.c index d936d7b8..76a6b661 100644 --- a/test/regression/dhcp_test/netx_dhcp_04_03_02_02_test.c +++ b/test/regression/dhcp_test/netx_dhcp_04_03_02_02_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* DHCPREQUEST generated during RENEWING state: 'server identifier' MUST NOT be filled in, 'requested IP address' option MUST NOT * be filled in, 'ciaddr' MUST be filled in with client's IP address. * rfc 2131, page 32, 4.3.2 DHCPREQUEST message diff --git a/test/regression/dhcp_test/netx_dhcp_04_03_02_03_test.c b/test/regression/dhcp_test/netx_dhcp_04_03_02_03_test.c index 6e628f4e..4d1fe31f 100644 --- a/test/regression/dhcp_test/netx_dhcp_04_03_02_03_test.c +++ b/test/regression/dhcp_test/netx_dhcp_04_03_02_03_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* DHCPREQUEST generated during REBINDING state: 'server identifier' MUST NOT be filled in, 'requested IP address' option MUST NOT * be filled in, 'ciaddr' MUST be filled in with client's IP address. * rfc 2131, page 32, 4.3.2 DHCPREQUEST message diff --git a/test/regression/dhcp_test/netx_dhcp_04_03_05_01_test.c b/test/regression/dhcp_test/netx_dhcp_04_03_05_01_test.c index 881f3335..5786c381 100644 --- a/test/regression/dhcp_test/netx_dhcp_04_03_05_01_test.c +++ b/test/regression/dhcp_test/netx_dhcp_04_03_05_01_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* The server responds to a DHCPINFORM message by sending a DHCPACK * message directly to the address given in the 'ciaddr' field of the * DHCPINFORM message. The server MUST NOT send a lease expiration time diff --git a/test/regression/dhcp_test/netx_dhcp_04_04_01_01_test.c b/test/regression/dhcp_test/netx_dhcp_04_04_01_01_test.c index 2f970972..c0879aa4 100644 --- a/test/regression/dhcp_test/netx_dhcp_04_04_01_01_test.c +++ b/test/regression/dhcp_test/netx_dhcp_04_04_01_01_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* The client MUST include its hardware address in the 'chaddr' field * rfc 2131, page 36, 4.4.1 Initialization and allocation of network address */ diff --git a/test/regression/dhcp_test/netx_dhcp_04_04_01_02_test.c b/test/regression/dhcp_test/netx_dhcp_04_04_01_02_test.c index d1dc8668..1ed51d03 100644 --- a/test/regression/dhcp_test/netx_dhcp_04_04_01_02_test.c +++ b/test/regression/dhcp_test/netx_dhcp_04_04_01_02_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* If the 'xid' of an arriving DHCPOFFER message does not match the 'xid' of the most recent DHCPDISCOVER message, * the DHCPOFFER message must be silently discarded. * rfc 2131, page 36, 4.4.1 Initialization and allocation of network address diff --git a/test/regression/dhcp_test/netx_dhcp_basic_restore_test.c b/test/regression/dhcp_test/netx_dhcp_basic_restore_test.c index 3b2ec42f..a479083c 100644 --- a/test/regression/dhcp_test/netx_dhcp_basic_restore_test.c +++ b/test/regression/dhcp_test/netx_dhcp_basic_restore_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_basic_test.c b/test/regression/dhcp_test/netx_dhcp_basic_test.c index ef43e9b9..80c67149 100644 --- a/test/regression/dhcp_test/netx_dhcp_basic_test.c +++ b/test/regression/dhcp_test/netx_dhcp_basic_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_client_activate_interfaces_test.c b/test/regression/dhcp_test/netx_dhcp_client_activate_interfaces_test.c index b6cf3b15..d5bbd27e 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_activate_interfaces_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_activate_interfaces_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* Testing the multiple interface DHCP Client */ /* This is the DHCP Client that will run on both interfaces independently. diff --git a/test/regression/dhcp_test/netx_dhcp_client_interface_0_only_test.c b/test/regression/dhcp_test/netx_dhcp_client_interface_0_only_test.c index 2ec65ce7..2e768963 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_interface_0_only_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_interface_0_only_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* Testing the multiple interface DHCP Client */ /* This is a test of the default DHCP Client configuration; one interface (primary interface) is configured. diff --git a/test/regression/dhcp_test/netx_dhcp_client_interface_1_only_test.c b/test/regression/dhcp_test/netx_dhcp_client_interface_1_only_test.c index c6fd3b1a..dc7c88b1 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_interface_1_only_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_interface_1_only_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* Testing the multiple interface DHCP Client */ /* This is a test of the DHCP Client running on only one interface (secondary interface). diff --git a/test/regression/dhcp_test/netx_dhcp_client_interface_order_test.c b/test/regression/dhcp_test/netx_dhcp_client_interface_order_test.c index 42033fb2..8e0b96d5 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_interface_order_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_interface_order_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* Testing the multiple interface DHCP Client */ /* This is the DHCP Client that will run on both interfaces independently. diff --git a/test/regression/dhcp_test/netx_dhcp_client_ip_mutex_test.c b/test/regression/dhcp_test/netx_dhcp_client_ip_mutex_test.c index e97d26c3..6cdbd378 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_ip_mutex_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_ip_mutex_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* Testing the multiple interface DHCP Client */ /* This is the DHCP Client that will run on both interfaces independently. diff --git a/test/regression/dhcp_test/netx_dhcp_client_ntp_option_test.c b/test/regression/dhcp_test/netx_dhcp_client_ntp_option_test.c index 60d4700e..1e84e586 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_ntp_option_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_ntp_option_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* The DHCPREQUEST message MUST use the same value in the DHCP message header's 'secs' field and be sent to the same IP * broadcast address as the original DHCPDISCOVER message. * rfc 2131, page 16, 3.1 Client-server interaction - allocating a network address diff --git a/test/regression/dhcp_test/netx_dhcp_client_nxe_api_test.c b/test/regression/dhcp_test/netx_dhcp_client_nxe_api_test.c index 75d98b5b..f7784489 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_nxe_api_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_nxe_api_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_client_parameter_request_test.c b/test/regression/dhcp_test/netx_dhcp_client_parameter_request_test.c index 67c9fd6e..a76f658d 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_parameter_request_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_parameter_request_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* The DHCPREQUEST message MUST use the same value in the DHCP message header's 'secs' field and be sent to the same IP * broadcast address as the original DHCPDISCOVER message. * rfc 2131, page 16, 3.1 Client-server interaction - allocating a network address diff --git a/test/regression/dhcp_test/netx_dhcp_client_secondary_interface_test.c b/test/regression/dhcp_test/netx_dhcp_client_secondary_interface_test.c index 7d9f4d01..5054b7d9 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_secondary_interface_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_secondary_interface_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* Testing the multiple interface DHCP Client */ /* This test checks that the DHCP Client can run on the secondary interface, diff --git a/test/regression/dhcp_test/netx_dhcp_client_send_with_zero_source_address_test.c b/test/regression/dhcp_test/netx_dhcp_client_send_with_zero_source_address_test.c index b7aa1ad5..72a73ecb 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_send_with_zero_source_address_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_send_with_zero_source_address_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_client_server_source_port_test.c b/test/regression/dhcp_test/netx_dhcp_client_server_source_port_test.c index a240d9b4..d874d740 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_server_source_port_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_server_source_port_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This NetX test concentrates on the DHCP operation to verify the DHCP server source port is excluded from DHCP Client validation checks. Further the NetX /NetX Duo packet processing should forward packets for the UDP socket bound to 68 without requiring the source port diff --git a/test/regression/dhcp_test/netx_dhcp_client_special_attributes_test.c b/test/regression/dhcp_test/netx_dhcp_client_special_attributes_test.c index 20b5d206..707db942 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_special_attributes_test.c +++ b/test/regression/dhcp_test/netx_dhcp_client_special_attributes_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* Testing the multiple interface DHCP Client */ /* Test the DHCP CLient with 2 physical interfaces, set NX_DHCP_CLIENT_MAX_INTERFACES = 1 diff --git a/test/regression/dhcp_test/netx_dhcp_client_two_interfaces.c b/test/regression/dhcp_test/netx_dhcp_client_two_interfaces.c index 9d4ac7d7..94c875ef 100644 --- a/test/regression/dhcp_test/netx_dhcp_client_two_interfaces.c +++ b/test/regression/dhcp_test/netx_dhcp_client_two_interfaces.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* Test the DHCP CLient with 2 physical interfaces, set NX_DHCP_CLIENT_MAX_INTERFACES = 2 and run the demo. Note because of limitations of the ram driver there is some code in nx_dhcp_received_data_process in the nxd_dhcp_client.c to switch diff --git a/test/regression/dhcp_test/netx_dhcp_clone_function.c b/test/regression/dhcp_test/netx_dhcp_clone_function.c index 7a47130f..061cfac0 100644 --- a/test/regression/dhcp_test/netx_dhcp_clone_function.c +++ b/test/regression/dhcp_test/netx_dhcp_clone_function.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "netx_dhcp_clone_function.h" #include "nxd_dhcp_client.h" diff --git a/test/regression/dhcp_test/netx_dhcp_clone_function.h b/test/regression/dhcp_test/netx_dhcp_clone_function.h index 2695be88..14183822 100644 --- a/test/regression/dhcp_test/netx_dhcp_clone_function.h +++ b/test/regression/dhcp_test/netx_dhcp_clone_function.h @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "nx_api.h" /* Declare the function. */ diff --git a/test/regression/dhcp_test/netx_dhcp_coverage_test.c b/test/regression/dhcp_test/netx_dhcp_coverage_test.c index 40f3cff8..23d8f472 100644 --- a/test/regression/dhcp_test/netx_dhcp_coverage_test.c +++ b/test/regression/dhcp_test/netx_dhcp_coverage_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_delete_test.c b/test/regression/dhcp_test/netx_dhcp_delete_test.c index e1a40eba..67ef4dd7 100644 --- a/test/regression/dhcp_test/netx_dhcp_delete_test.c +++ b/test/regression/dhcp_test/netx_dhcp_delete_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_enable_test.c b/test/regression/dhcp_test/netx_dhcp_enable_test.c index 91fe454b..c4b43f5a 100644 --- a/test/regression/dhcp_test/netx_dhcp_enable_test.c +++ b/test/regression/dhcp_test/netx_dhcp_enable_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_extract_information_test.c b/test/regression/dhcp_test/netx_dhcp_extract_information_test.c index b1e9fd3e..85ec9b64 100644 --- a/test/regression/dhcp_test/netx_dhcp_extract_information_test.c +++ b/test/regression/dhcp_test/netx_dhcp_extract_information_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* The DHCPREQUEST message MUST use the same value in the DHCP message header's 'secs' field and be sent to the same IP * broadcast address as the original DHCPDISCOVER message. * rfc 2131, page 16, 3.1 Client-server interaction - allocating a network address diff --git a/test/regression/dhcp_test/netx_dhcp_get_option_value_test.c b/test/regression/dhcp_test/netx_dhcp_get_option_value_test.c index 4bd94eb0..6836c31c 100644 --- a/test/regression/dhcp_test/netx_dhcp_get_option_value_test.c +++ b/test/regression/dhcp_test/netx_dhcp_get_option_value_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* The DHCPREQUEST message MUST use the same value in the DHCP message header's 'secs' field and be sent to the same IP * broadcast address as the original DHCPDISCOVER message. * rfc 2131, page 16, 3.1 Client-server interaction - allocating a network address diff --git a/test/regression/dhcp_test/netx_dhcp_multiple_instances_test.c b/test/regression/dhcp_test/netx_dhcp_multiple_instances_test.c index 0be53c6a..8bf34690 100644 --- a/test/regression/dhcp_test/netx_dhcp_multiple_instances_test.c +++ b/test/regression/dhcp_test/netx_dhcp_multiple_instances_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_packet_process_test.c b/test/regression/dhcp_test/netx_dhcp_packet_process_test.c index d6edd1cf..9a391b84 100644 --- a/test/regression/dhcp_test/netx_dhcp_packet_process_test.c +++ b/test/regression/dhcp_test/netx_dhcp_packet_process_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* The DHCPREQUEST message MUST use the same value in the DHCP message header's 'secs' field and be sent to the same IP * broadcast address as the original DHCPDISCOVER message. * rfc 2131, page 16, 3.1 Client-server interaction - allocating a network address diff --git a/test/regression/dhcp_test/netx_dhcp_reinitialize_test.c b/test/regression/dhcp_test/netx_dhcp_reinitialize_test.c index 3cd7d5cf..beed1386 100644 --- a/test/regression/dhcp_test/netx_dhcp_reinitialize_test.c +++ b/test/regression/dhcp_test/netx_dhcp_reinitialize_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* The test in this file references the test in netx_dhcp_basic_test.c The introduced difference by this file is to test the special case when the gateway ip addressed is cleared before calling nx_dhcp_interface_reinitialize, diff --git a/test/regression/dhcp_test/netx_dhcp_release_test.c b/test/regression/dhcp_test/netx_dhcp_release_test.c index d008f305..134c8a39 100644 --- a/test/regression/dhcp_test/netx_dhcp_release_test.c +++ b/test/regression/dhcp_test/netx_dhcp_release_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_send_request_internal_test.c b/test/regression/dhcp_test/netx_dhcp_send_request_internal_test.c index baa3c2f9..59f26a6f 100644 --- a/test/regression/dhcp_test/netx_dhcp_send_request_internal_test.c +++ b/test/regression/dhcp_test/netx_dhcp_send_request_internal_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* The DHCPREQUEST message MUST use the same value in the DHCP message header's 'secs' field and be sent to the same IP * broadcast address as the original DHCPDISCOVER message. * rfc 2131, page 16, 3.1 Client-server interaction - allocating a network address diff --git a/test/regression/dhcp_test/netx_dhcp_server_improper_term_test.c b/test/regression/dhcp_test/netx_dhcp_server_improper_term_test.c index f733d059..af6e1e7f 100644 --- a/test/regression/dhcp_test/netx_dhcp_server_improper_term_test.c +++ b/test/regression/dhcp_test/netx_dhcp_server_improper_term_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_server_options_test.c b/test/regression/dhcp_test/netx_dhcp_server_options_test.c index eb215ef9..bbb94b60 100644 --- a/test/regression/dhcp_test/netx_dhcp_server_options_test.c +++ b/test/regression/dhcp_test/netx_dhcp_server_options_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_server_second_interface_test.c b/test/regression/dhcp_test/netx_dhcp_server_second_interface_test.c index c21ee415..d9103a12 100644 --- a/test/regression/dhcp_test/netx_dhcp_server_second_interface_test.c +++ b/test/regression/dhcp_test/netx_dhcp_server_second_interface_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_server_small_packet_payload_test.c b/test/regression/dhcp_test/netx_dhcp_server_small_packet_payload_test.c index d9a358b4..e183b0f1 100644 --- a/test/regression/dhcp_test/netx_dhcp_server_small_packet_payload_test.c +++ b/test/regression/dhcp_test/netx_dhcp_server_small_packet_payload_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* In _nx_dhcp_server_packet_process(), the orginal logic is to check the incoming packet length, update the incoming packet length, then copy the incomping packet data. It will casue out of bound write. */ diff --git a/test/regression/dhcp_test/netx_dhcp_server_test.c b/test/regression/dhcp_test/netx_dhcp_server_test.c index 85bc3bbf..c1b1a50b 100644 --- a/test/regression/dhcp_test/netx_dhcp_server_test.c +++ b/test/regression/dhcp_test/netx_dhcp_server_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_skip_discover_test.c b/test/regression/dhcp_test/netx_dhcp_skip_discover_test.c index 8e150411..3cea6e97 100644 --- a/test/regression/dhcp_test/netx_dhcp_skip_discover_test.c +++ b/test/regression/dhcp_test/netx_dhcp_skip_discover_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_start_test.c b/test/regression/dhcp_test/netx_dhcp_start_test.c index b0d8028c..f7126a60 100644 --- a/test/regression/dhcp_test/netx_dhcp_start_test.c +++ b/test/regression/dhcp_test/netx_dhcp_start_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This test reference the netx_dhcp_basic_test.c, with extra test on the corner of function _nx_dhcp_interface_start which checks that condition when the return status of tx_thread_resume is TX_SUSPEND_LIFTED */ diff --git a/test/regression/dhcp_test/netx_dhcp_stop_test.c b/test/regression/dhcp_test/netx_dhcp_stop_test.c index 78e837ca..c9b9ea08 100644 --- a/test/regression/dhcp_test/netx_dhcp_stop_test.c +++ b/test/regression/dhcp_test/netx_dhcp_stop_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_unicast_test.c b/test/regression/dhcp_test/netx_dhcp_unicast_test.c index e03bb6e4..0f687b9c 100644 --- a/test/regression/dhcp_test/netx_dhcp_unicast_test.c +++ b/test/regression/dhcp_test/netx_dhcp_unicast_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This NetX test concentrates on the DHCP Unicast operation. */ #include "tx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcp_user_option_add_test.c b/test/regression/dhcp_test/netx_dhcp_user_option_add_test.c index 01ef8b7d..c58899f7 100644 --- a/test/regression/dhcp_test/netx_dhcp_user_option_add_test.c +++ b/test/regression/dhcp_test/netx_dhcp_user_option_add_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcpv6_basic_test.c b/test/regression/dhcp_test/netx_dhcpv6_basic_test.c index aac2d09a..5a7f39af 100644 --- a/test/regression/dhcp_test/netx_dhcpv6_basic_test.c +++ b/test/regression/dhcp_test/netx_dhcpv6_basic_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This is a small demo of the NetX Duo DHCPv6 Client and Server for the high-performance NetX Duo stack. */ diff --git a/test/regression/dhcp_test/netx_dhcpv6_client_process_server_duid_test.c b/test/regression/dhcp_test/netx_dhcpv6_client_process_server_duid_test.c index db49a69b..7b5b3840 100644 --- a/test/regression/dhcp_test/netx_dhcpv6_client_process_server_duid_test.c +++ b/test/regression/dhcp_test/netx_dhcpv6_client_process_server_duid_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcpv6_extended_api_test.c b/test/regression/dhcp_test/netx_dhcpv6_extended_api_test.c index 900116fc..4bb8add8 100644 --- a/test/regression/dhcp_test/netx_dhcpv6_extended_api_test.c +++ b/test/regression/dhcp_test/netx_dhcpv6_extended_api_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This is a small demo of the NetX Duo DHCPv6 Client and Server for the high-performance NetX Duo stack. */ diff --git a/test/regression/dhcp_test/netx_dhcpv6_packet_loss_test.c b/test/regression/dhcp_test/netx_dhcpv6_packet_loss_test.c index 0cd57377..ea11371e 100644 --- a/test/regression/dhcp_test/netx_dhcpv6_packet_loss_test.c +++ b/test/regression/dhcp_test/netx_dhcpv6_packet_loss_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + #include "tx_api.h" #include "nx_api.h" diff --git a/test/regression/dhcp_test/netx_dhcpv6_server_ia_options_test.c b/test/regression/dhcp_test/netx_dhcpv6_server_ia_options_test.c index 7a8e7cfe..f511b4f3 100644 --- a/test/regression/dhcp_test/netx_dhcpv6_server_ia_options_test.c +++ b/test/regression/dhcp_test/netx_dhcpv6_server_ia_options_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This tests dhcpv6 server process ia options from the client. */ #include <stdio.h> diff --git a/test/regression/dhcp_test/netx_dhcpv6_server_iana_test.c b/test/regression/dhcp_test/netx_dhcpv6_server_iana_test.c index a1a3e431..3e515b20 100644 --- a/test/regression/dhcp_test/netx_dhcpv6_server_iana_test.c +++ b/test/regression/dhcp_test/netx_dhcpv6_server_iana_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* Verify DHCPv6 Server can correctly process IANA option in DHCPv6 Solicit message. */ /* Procedure diff --git a/test/regression/dhcp_test/netx_dhcpv6_server_process_repeated_msgs_test.c b/test/regression/dhcp_test/netx_dhcpv6_server_process_repeated_msgs_test.c index 01ffde00..d5b37f43 100644 --- a/test/regression/dhcp_test/netx_dhcpv6_server_process_repeated_msgs_test.c +++ b/test/regression/dhcp_test/netx_dhcpv6_server_process_repeated_msgs_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This is a small demo of the NetX Duo DHCPv6 Client and Server for the high-performance NetX Duo stack. */ diff --git a/test/regression/dhcp_test/netx_dhcpv6_user_option_add_test.c b/test/regression/dhcp_test/netx_dhcpv6_user_option_add_test.c index f016e005..845cfe5e 100644 --- a/test/regression/dhcp_test/netx_dhcpv6_user_option_add_test.c +++ b/test/regression/dhcp_test/netx_dhcpv6_user_option_add_test.c @@ -1,3 +1,14 @@ +/***************************************************************************/ +/* Copyright (c) 2024 Microsoft Corporation */ +/* Copyright (c) 2026 Eclipse ThreadX contributors */ +/* */ +/* This program and the accompanying materials are made available under */ +/* the terms of the MIT License which is available at */ +/* https://opensource.org/licenses/MIT. */ +/* */ +/* SPDX-License-Identifier: MIT */ +/***************************************************************************/ + /* This tests adding user class option. */ #include <stdio.h> |
