summaryrefslogtreecommitdiff
path: root/test/regression/nat_test
diff options
context:
space:
mode:
authorFrédéric Desbiens <[email protected]>2026-06-08 10:03:52 +0200
committerGitHub <[email protected]>2026-06-08 10:03:52 +0200
commit1a0e9e43a03e37ddecfb6b49e9b078d6e1803d05 (patch)
treec60ec41b4ff4fd2d7566c505cbdd423ceddd65f3 /test/regression/nat_test
parent8b6e03ac30ab688bec02c69d42f2304b7f72a202 (diff)
parent4d88828b06d164a5b7e82152395a92254abcd6e4 (diff)
Merge pull request #391 from eclipse-threadx/devv6.5.1.202602_reldev
Merging changes for the v.6.5.1.202602 release
Diffstat (limited to 'test/regression/nat_test')
-rw-r--r--test/regression/nat_test/netx_nat_entry_removed_after_timeout_test.c11
-rw-r--r--test/regression/nat_test/netx_nat_icmp_test.c11
-rw-r--r--test/regression/nat_test/netx_nat_invalid_header_test.c11
-rw-r--r--test/regression/nat_test/netx_nat_tcp_fragment_test.c11
-rw-r--r--test/regression/nat_test/netx_nat_tcp_port_test.c11
-rw-r--r--test/regression/nat_test/netx_nat_tcp_port_test2.c11
-rw-r--r--test/regression/nat_test/netx_nat_tcp_remove_oldest_udp_entry_test.c11
-rw-r--r--test/regression/nat_test/netx_nat_tcp_test1.c11
-rw-r--r--test/regression/nat_test/netx_nat_tcp_test2.c11
-rw-r--r--test/regression/nat_test/netx_nat_udp_fragment_test.c11
-rw-r--r--test/regression/nat_test/netx_nat_udp_port_test.c11
-rw-r--r--test/regression/nat_test/netx_nat_udp_test.c11
12 files changed, 132 insertions, 0 deletions
diff --git a/test/regression/nat_test/netx_nat_entry_removed_after_timeout_test.c b/test/regression/nat_test/netx_nat_entry_removed_after_timeout_test.c
index 849e9e1c..ee6b5caa 100644
--- a/test/regression/nat_test/netx_nat_entry_removed_after_timeout_test.c
+++ b/test/regression/nat_test/netx_nat_entry_removed_after_timeout_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 NAT TCP operation and
the NX_NAT_NON_TCP_SESSION_TIMEOUT and NX_NAT_TCP_SESSION_TIMEOUT
diff --git a/test/regression/nat_test/netx_nat_icmp_test.c b/test/regression/nat_test/netx_nat_icmp_test.c
index 080891e8..e62ea1d1 100644
--- a/test/regression/nat_test/netx_nat_icmp_test.c
+++ b/test/regression/nat_test/netx_nat_icmp_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 ICMP ping operation. */
diff --git a/test/regression/nat_test/netx_nat_invalid_header_test.c b/test/regression/nat_test/netx_nat_invalid_header_test.c
index b43eb619..dac965bf 100644
--- a/test/regression/nat_test/netx_nat_invalid_header_test.c
+++ b/test/regression/nat_test/netx_nat_invalid_header_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 UCP operation. */
diff --git a/test/regression/nat_test/netx_nat_tcp_fragment_test.c b/test/regression/nat_test/netx_nat_tcp_fragment_test.c
index efd15f41..dab36d6e 100644
--- a/test/regression/nat_test/netx_nat_tcp_fragment_test.c
+++ b/test/regression/nat_test/netx_nat_tcp_fragment_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 TCP operation. */
diff --git a/test/regression/nat_test/netx_nat_tcp_port_test.c b/test/regression/nat_test/netx_nat_tcp_port_test.c
index 649d6a12..3ee08111 100644
--- a/test/regression/nat_test/netx_nat_tcp_port_test.c
+++ b/test/regression/nat_test/netx_nat_tcp_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 TCP operation. */
diff --git a/test/regression/nat_test/netx_nat_tcp_port_test2.c b/test/regression/nat_test/netx_nat_tcp_port_test2.c
index 279a9027..e5188fe3 100644
--- a/test/regression/nat_test/netx_nat_tcp_port_test2.c
+++ b/test/regression/nat_test/netx_nat_tcp_port_test2.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 TCP operation. */
diff --git a/test/regression/nat_test/netx_nat_tcp_remove_oldest_udp_entry_test.c b/test/regression/nat_test/netx_nat_tcp_remove_oldest_udp_entry_test.c
index 592636a8..a0cdcc91 100644
--- a/test/regression/nat_test/netx_nat_tcp_remove_oldest_udp_entry_test.c
+++ b/test/regression/nat_test/netx_nat_tcp_remove_oldest_udp_entry_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 NAT TCP operation and
NX_NAT_ENABLE_REPLACMENT feature. This test creates five
diff --git a/test/regression/nat_test/netx_nat_tcp_test1.c b/test/regression/nat_test/netx_nat_tcp_test1.c
index 30b2ca9a..60fe242d 100644
--- a/test/regression/nat_test/netx_nat_tcp_test1.c
+++ b/test/regression/nat_test/netx_nat_tcp_test1.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 TCP operation. */
diff --git a/test/regression/nat_test/netx_nat_tcp_test2.c b/test/regression/nat_test/netx_nat_tcp_test2.c
index c526c5f7..6c26af39 100644
--- a/test/regression/nat_test/netx_nat_tcp_test2.c
+++ b/test/regression/nat_test/netx_nat_tcp_test2.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 TCP operation. */
diff --git a/test/regression/nat_test/netx_nat_udp_fragment_test.c b/test/regression/nat_test/netx_nat_udp_fragment_test.c
index ab85181d..789d93e3 100644
--- a/test/regression/nat_test/netx_nat_udp_fragment_test.c
+++ b/test/regression/nat_test/netx_nat_udp_fragment_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 UCP operation. */
diff --git a/test/regression/nat_test/netx_nat_udp_port_test.c b/test/regression/nat_test/netx_nat_udp_port_test.c
index 14bba261..3bfc0a54 100644
--- a/test/regression/nat_test/netx_nat_udp_port_test.c
+++ b/test/regression/nat_test/netx_nat_udp_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 UCP operation. */
diff --git a/test/regression/nat_test/netx_nat_udp_test.c b/test/regression/nat_test/netx_nat_udp_test.c
index 59c48e35..e1e0e8b4 100644
--- a/test/regression/nat_test/netx_nat_udp_test.c
+++ b/test/regression/nat_test/netx_nat_udp_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 UCP operation. */