Skip to content

Commit dd1a89c

Browse files
committed
Updated version number constants
1 parent 10d2381 commit dd1a89c

1 file changed

Lines changed: 13 additions & 87 deletions

File tree

common/inc/nx_api.h

Lines changed: 13 additions & 87 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
/***************************************************************************
2-
* Copyright (c) 2024 Microsoft Corporation
2+
* Copyright (c) 2024 Microsoft Corporation
33
* Copyright (c) 2025-present Eclipse ThreadX Contributors
4-
*
4+
*
55
* This program and the accompanying materials are made available under the
66
* terms of the MIT License which is available at
77
* https://opensource.org/licenses/MIT.
8-
*
8+
*
99
* SPDX-License-Identifier: MIT
1010
**************************************************************************/
1111

@@ -40,80 +40,6 @@
4040
/* type definitions and other architecture-specific information is */
4141
/* contained in the file nx_port.h. */
4242
/* */
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-
/* */
11743
/**************************************************************************/
11844

11945
#ifndef NX_API_H
@@ -528,9 +454,9 @@ VOID _nx_trace_event_update(TX_TRACE_BUFFER_ENTRY *event, ULONG timestamp, ULONG
528454
/* Define basic constants for the NetX TCP/IP Stack. */
529455
#define AZURE_RTOS_NETXDUO
530456
#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
534460
#define NETXDUO_HOTFIX_VERSION ' '
535461

536462
/* Define the following symbols for backward compatibility */
@@ -1243,7 +1169,7 @@ typedef struct NX_IPV6_DEFAULT_ROUTER_ENTRY_STRUCT
12431169
#define NX_HTTP_PROXY_MAX_PASSWORD 20
12441170
#endif
12451171

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",
12471173
1 bytes for an extra conversion if needed, 2 bytes for pad if needed, 1 byte for null terminator and four byte alignment. */
12481174
#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)
12491175

@@ -1785,7 +1711,7 @@ typedef struct NX_ARP_STRUCT
17851711
#endif /* NX_DISABLE_IPV4 */
17861712

17871713

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,
17891715
define the extension to whitespace. */
17901716

17911717
#ifndef NX_UDP_SOCKET_MODULE_EXTENSION
@@ -1896,14 +1822,14 @@ typedef struct NX_UDP_SOCKET_STRUCT
18961822
VOID *nx_udp_socket_tcpip_offload_context;
18971823
#endif /* NX_ENABLE_TCPIP_OFFLOAD */
18981824

1899-
/* Define the port extension in the UDP socket control block. This
1825+
/* Define the port extension in the UDP socket control block. This
19001826
is typically defined to whitespace in nx_port.h. */
19011827
NX_UDP_SOCKET_MODULE_EXTENSION
19021828

19031829
} NX_UDP_SOCKET;
19041830

19051831

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,
19071833
define the extension to whitespace. */
19081834

19091835
#ifndef NX_TCP_SOCKET_MODULE_EXTENSION
@@ -2201,7 +2127,7 @@ typedef struct NX_TCP_SOCKET_STRUCT
22012127
VOID *nx_tcp_socket_tcpip_offload_context;
22022128
#endif /* NX_ENABLE_TCPIP_OFFLOAD */
22032129

2204-
/* Define the port extension in the TCP socket control block. This
2130+
/* Define the port extension in the TCP socket control block. This
22052131
is typically defined to whitespace in nx_port.h. */
22062132
NX_TCP_SOCKET_MODULE_EXTENSION
22072133

@@ -2502,7 +2428,7 @@ typedef struct NX_IPV6_MULTICAST_STRUCT
25022428
#endif /* NX_ENABLE_IPV6_MULTICAST */
25032429

25042430

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,
25062432
define the extension to whitespace. */
25072433

25082434
#ifndef NX_IP_MODULE_EXTENSION
@@ -3141,7 +3067,7 @@ typedef struct NX_IP_STRUCT
31413067
UINT (*nx_ip_packet_filter_extended)(struct NX_IP_STRUCT *ip_ptr, NX_PACKET *packet_ptr, UINT direction);
31423068
#endif /* NX_ENABLE_IP_PACKET_FILTER */
31433069

3144-
/* Define the port extension in the IP control block. This
3070+
/* Define the port extension in the IP control block. This
31453071
is typically defined to whitespace in nx_port.h. */
31463072
NX_IP_MODULE_EXTENSION
31473073

0 commit comments

Comments
 (0)