|
1 | 1 | /*************************************************************************** |
2 | | - * Copyright (c) 2024 Microsoft Corporation |
| 2 | + * Copyright (c) 2024 Microsoft Corporation |
3 | 3 | * Copyright (c) 2025-present Eclipse ThreadX Contributors |
4 | | - * |
| 4 | + * |
5 | 5 | * This program and the accompanying materials are made available under the |
6 | 6 | * terms of the MIT License which is available at |
7 | 7 | * https://opensource.org/licenses/MIT. |
8 | | - * |
| 8 | + * |
9 | 9 | * SPDX-License-Identifier: MIT |
10 | 10 | **************************************************************************/ |
11 | 11 |
|
|
40 | 40 | /* type definitions and other architecture-specific information is */ |
41 | 41 | /* contained in the file nx_port.h. */ |
42 | 42 | /* */ |
43 | | -/* RELEASE HISTORY */ |
44 | | -/* */ |
45 | | -/* DATE NAME DESCRIPTION */ |
46 | | -/* */ |
47 | | -/* 05-19-2020 Yuxin Zhou Initial Version 6.0 */ |
48 | | -/* 09-30-2020 Yuxin Zhou Modified comment(s), fixed */ |
49 | | -/* ThreadX version check, */ |
50 | | -/* updated product constants, */ |
51 | | -/* resulting in version 6.1 */ |
52 | | -/* 11-09-2020 Yuxin Zhou Modified comment(s), and */ |
53 | | -/* updated product constants, */ |
54 | | -/* resulting in version 6.1.2 */ |
55 | | -/* 12-31-2020 Yuxin Zhou Modified comment(s), added */ |
56 | | -/* PTP timestamp capability, */ |
57 | | -/* added function to convert */ |
58 | | -/* string to unsigned integer, */ |
59 | | -/* updated product constants, */ |
60 | | -/* resulting in version 6.1.3 */ |
61 | | -/* 02-02-2021 Yuxin Zhou Modified comment(s), and */ |
62 | | -/* updated product constants, */ |
63 | | -/* resulting in version 6.1.4 */ |
64 | | -/* 03-02-2021 Yuxin Zhou Modified comment(s), and */ |
65 | | -/* updated product constants, */ |
66 | | -/* resulting in version 6.1.5 */ |
67 | | -/* 04-02-2021 Yuxin Zhou Modified comment(s), and */ |
68 | | -/* added functions for base64, */ |
69 | | -/* resulting in version 6.1.6 */ |
70 | | -/* 06-02-2021 Yuxin Zhou Modified comment(s), and */ |
71 | | -/* updated product constants, */ |
72 | | -/* resulting in version 6.1.7 */ |
73 | | -/* 08-02-2021 Yuxin Zhou Modified comment(s), and */ |
74 | | -/* supported TCP/IP offload, */ |
75 | | -/* added new ip filter, */ |
76 | | -/* added function to convert */ |
77 | | -/* unsigned integer to string, */ |
78 | | -/* resulting in version 6.1.8 */ |
79 | | -/* 10-15-2021 Yuxin Zhou Modified comment(s), and */ |
80 | | -/* added support for getting */ |
81 | | -/* interface type, */ |
82 | | -/* resulting in version 6.1.9 */ |
83 | | -/* 01-31-2022 Yuxin Zhou Modified comment(s), and */ |
84 | | -/* updated product constants, */ |
85 | | -/* resulting in version 6.1.10 */ |
86 | | -/* 04-25-2022 Yuxin Zhou Modified comment(s), and */ |
87 | | -/* updated product constants, */ |
88 | | -/* added internal ip address */ |
89 | | -/* change notification, */ |
90 | | -/* resulting in version 6.1.11 */ |
91 | | -/* 07-29-2022 Yuxin Zhou Modified comment(s), and */ |
92 | | -/* updated product constants, */ |
93 | | -/* fixed compiler errors when */ |
94 | | -/* TX_SAFETY_CRITICAL is */ |
95 | | -/* enabled, */ |
96 | | -/* resulting in version 6.1.12 */ |
97 | | -/* 10-31-2022 Wenhui Xie Modified comment(s), and */ |
98 | | -/* supported HTTP Proxy, */ |
99 | | -/* resulting in version 6.2.0 */ |
100 | | -/* 03-08-2023 Tiejun Zhou Modified comment(s), and */ |
101 | | -/* updated product constants, */ |
102 | | -/* resulting in version 6.2.1 */ |
103 | | -/* 10-31-2023 Tiejun Zhou Modified comment(s), */ |
104 | | -/* supported random IP id, */ |
105 | | -/* resulting in version 6.3.0 */ |
106 | | -/* 12-31-2023 Yajun Xia Modified comment(s), */ |
107 | | -/* supported VLAN and generic */ |
108 | | -/* link layer, */ |
109 | | -/* resulting in version 6.4.0 */ |
110 | | -/* 03-01-2024 Tiejun Zhou Modified comment(s), */ |
111 | | -/* update version number, */ |
112 | | -/* resulting in version 6.4.1 */ |
113 | | -/* 02-19-2025 Frédéric Desbiens Modified comment(s), */ |
114 | | -/* update version number, */ |
115 | | -/* resulting in version 6.4.2 */ |
116 | | -/* */ |
117 | 43 | /**************************************************************************/ |
118 | 44 |
|
119 | 45 | #ifndef NX_API_H |
@@ -528,9 +454,9 @@ VOID _nx_trace_event_update(TX_TRACE_BUFFER_ENTRY *event, ULONG timestamp, ULONG |
528 | 454 | /* Define basic constants for the NetX TCP/IP Stack. */ |
529 | 455 | #define AZURE_RTOS_NETXDUO |
530 | 456 | #define NETXDUO_MAJOR_VERSION 6 |
531 | | -#define NETXDUO_MINOR_VERSION 4 |
532 | | -#define NETXDUO_PATCH_VERSION 5 |
533 | | -#define NETXDUO_BUILD_VERSION 202504 |
| 457 | +#define NETXDUO_MINOR_VERSION 5 |
| 458 | +#define NETXDUO_PATCH_VERSION 0 |
| 459 | +#define NETXDUO_BUILD_VERSION 202601 |
534 | 460 | #define NETXDUO_HOTFIX_VERSION ' ' |
535 | 461 |
|
536 | 462 | /* Define the following symbols for backward compatibility */ |
@@ -1243,7 +1169,7 @@ typedef struct NX_IPV6_DEFAULT_ROUTER_ENTRY_STRUCT |
1243 | 1169 | #define NX_HTTP_PROXY_MAX_PASSWORD 20 |
1244 | 1170 | #endif |
1245 | 1171 |
|
1246 | | -/* NX_HTTP_PROXY_MAX_AUTHENTICATION is the max length of base64 of "name:password", |
| 1172 | +/* NX_HTTP_PROXY_MAX_AUTHENTICATION is the max length of base64 of "name:password", |
1247 | 1173 | 1 bytes for an extra conversion if needed, 2 bytes for pad if needed, 1 byte for null terminator and four byte alignment. */ |
1248 | 1174 | #define NX_HTTP_PROXY_MAX_AUTHENTICATION (((((NX_HTTP_PROXY_MAX_USERNAME + NX_HTTP_PROXY_MAX_PASSWORD + 1 ) * 4 / 3) + 1 + 2 + 1) / 4 + 1) * 4) |
1249 | 1175 |
|
@@ -1785,7 +1711,7 @@ typedef struct NX_ARP_STRUCT |
1785 | 1711 | #endif /* NX_DISABLE_IPV4 */ |
1786 | 1712 |
|
1787 | 1713 |
|
1788 | | -/* Determine if the UDP control block has an extension defined. If not, |
| 1714 | +/* Determine if the UDP control block has an extension defined. If not, |
1789 | 1715 | define the extension to whitespace. */ |
1790 | 1716 |
|
1791 | 1717 | #ifndef NX_UDP_SOCKET_MODULE_EXTENSION |
@@ -1896,14 +1822,14 @@ typedef struct NX_UDP_SOCKET_STRUCT |
1896 | 1822 | VOID *nx_udp_socket_tcpip_offload_context; |
1897 | 1823 | #endif /* NX_ENABLE_TCPIP_OFFLOAD */ |
1898 | 1824 |
|
1899 | | - /* Define the port extension in the UDP socket control block. This |
| 1825 | + /* Define the port extension in the UDP socket control block. This |
1900 | 1826 | is typically defined to whitespace in nx_port.h. */ |
1901 | 1827 | NX_UDP_SOCKET_MODULE_EXTENSION |
1902 | 1828 |
|
1903 | 1829 | } NX_UDP_SOCKET; |
1904 | 1830 |
|
1905 | 1831 |
|
1906 | | -/* Determine if the TCP control block has an extension defined. If not, |
| 1832 | +/* Determine if the TCP control block has an extension defined. If not, |
1907 | 1833 | define the extension to whitespace. */ |
1908 | 1834 |
|
1909 | 1835 | #ifndef NX_TCP_SOCKET_MODULE_EXTENSION |
@@ -2201,7 +2127,7 @@ typedef struct NX_TCP_SOCKET_STRUCT |
2201 | 2127 | VOID *nx_tcp_socket_tcpip_offload_context; |
2202 | 2128 | #endif /* NX_ENABLE_TCPIP_OFFLOAD */ |
2203 | 2129 |
|
2204 | | - /* Define the port extension in the TCP socket control block. This |
| 2130 | + /* Define the port extension in the TCP socket control block. This |
2205 | 2131 | is typically defined to whitespace in nx_port.h. */ |
2206 | 2132 | NX_TCP_SOCKET_MODULE_EXTENSION |
2207 | 2133 |
|
@@ -2502,7 +2428,7 @@ typedef struct NX_IPV6_MULTICAST_STRUCT |
2502 | 2428 | #endif /* NX_ENABLE_IPV6_MULTICAST */ |
2503 | 2429 |
|
2504 | 2430 |
|
2505 | | -/* Determine if the IP control block has an extension defined. If not, |
| 2431 | +/* Determine if the IP control block has an extension defined. If not, |
2506 | 2432 | define the extension to whitespace. */ |
2507 | 2433 |
|
2508 | 2434 | #ifndef NX_IP_MODULE_EXTENSION |
@@ -3141,7 +3067,7 @@ typedef struct NX_IP_STRUCT |
3141 | 3067 | UINT (*nx_ip_packet_filter_extended)(struct NX_IP_STRUCT *ip_ptr, NX_PACKET *packet_ptr, UINT direction); |
3142 | 3068 | #endif /* NX_ENABLE_IP_PACKET_FILTER */ |
3143 | 3069 |
|
3144 | | - /* Define the port extension in the IP control block. This |
| 3070 | + /* Define the port extension in the IP control block. This |
3145 | 3071 | is typically defined to whitespace in nx_port.h. */ |
3146 | 3072 | NX_IP_MODULE_EXTENSION |
3147 | 3073 |
|
|
0 commit comments