<feed xmlns='http://www.w3.org/2005/Atom'>
<title>netxduo.git/addons/BSD/nxd_bsd.h, branch dev</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/netxduo.git/atom/addons/BSD/nxd_bsd.h?h=dev</id>
<link rel='self' href='http://cgit.235523.xyz/netxduo.git/atom/addons/BSD/nxd_bsd.h?h=dev'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/'/>
<updated>2026-05-29T14:34:38Z</updated>
<entry>
<title>Added BSD recvfromto support (#376)</title>
<updated>2026-05-29T14:34:38Z</updated>
<author>
<name>mzgrebnak</name>
<email>michal.zgrebnak@rockwellautomation.com</email>
</author>
<published>2026-05-29T14:34:38Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=09ce97f8f9019724407917c197c2a0c0e859bf2d'/>
<id>urn:sha1:09ce97f8f9019724407917c197c2a0c0e859bf2d</id>
<content type='text'>
 * recvfromto support

 * nx_bsd_inet_aton, disabling other format than four numbers separated by dots. Otherwise used in nx_bsd_inet_pton
   It accepts unallowed format of IP address.

 * bsd: address PR review feedback

 - Fix build failure: add missing nx_bsd_recvfromto() prototype to
   nxd_bsd.h near the other receive prototypes. The nx_bsd_recvfromto
   macro maps to recvfromto, but without a prior declaration the
   compiler emits -Werror=missing-declarations.

 - Revert inet_aton() change: restore the 1-part, 2-part and 3-part
   abbreviated IPv4 address formats (a.b.c and a.b). The PR removed
   them, breaking existing tests that rely on these forms.

 - Add IPv6 destination address support in recvfromto(): when the
   receiving BSD socket is AF_INET6, extract the destination IPv6
   address from the IPv6 packet header and populate a sockaddr_in6
   in toAddr, mirroring the existing IPv4 path.

 - Add regression test netx_bsd_recvfromto_test covering:
   * recvfromto() populates fromAddr (sender) and toAddr (destination)
     with correct address/port values for IPv4 UDP
   * recvfromto() with NULL toAddr/toAddrLen works like recvfrom()
   * inet_aton() still accepts abbreviated a.b and a.b.c forms
   Register test in regression/CMakeLists.txt.

 ---------

 Co-authored-by: Frédéric Desbiens &lt;frederic.desbiens@eclipse-foundation.org&gt;
 Co-authored-by: Copilot &lt;223556219+Copilot@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>Implemented BSD socket options improvements (#374)</title>
<updated>2026-05-28T20:23:22Z</updated>
<author>
<name>mzgrebnak</name>
<email>michal.zgrebnak@rockwellautomation.com</email>
</author>
<published>2026-05-28T20:23:22Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=57410350d94bbcb5e6885d0fbc40c72b6d7ddd33'/>
<id>urn:sha1:57410350d94bbcb5e6885d0fbc40c72b6d7ddd33</id>
<content type='text'>
●  - initial support
   - bsd: address PR review feedback
   - Fix build failure: so_linger was stored on NX_TCP_SOCKET which has
   no such field. Linger state is now kept in NX_BSD_SOCKET using the
   new nx_bsd_option_linger field and the existing
   NX_BSD_SOCKET_ENABLE_OPTION_LINGER flag.
   - Fix sign-conversion warning in setsockopt(IP_TOS): read the value
   as INT, validate range 0..0xFF, then cast to ULONG.
   - Reject out-of-range INT values (&lt; 0 or &gt; 255) in
   setsockopt(IP_TTL).
   - Add lower-bound check for IPPROTO_IP options in getsockopt and
   setsockopt so that SO_* option numbers are no longer silently
   accepted at the IPPROTO_IP level.
   - Add null check for raw sockets in IP_TOS and IP_TTL get/set paths;
   return ENOPROTOOPT instead of dereferencing a NULL pointer.
   - Validate
    *option_length before writing in SO_BROADCAST, TCP_NODELAY,
   SO_LINGER and IP_TOS getsockopt paths; set
    *option_length to the
   actual size returned on success.
   - Separate ENOPROTOOPT (wrong socket type) from EINVAL (wrong length)
   in SO_LINGER get/set error handling.
   - Remove unused so_linger local variable from getsockopt.
   - Replace C++-style // comments in the close/linger path with C99
   /*
    */ comments.
   - Add regression test netx_bsd_socket_options_test covering SO_LINGER,
   IP_TOS, IP_TTL, SO_BROADCAST and TCP_NODELAY round-trips and error
   paths; register in bsd_test_cases in regression/CMakeLists.txt.

  Co-authored-by: Frédéric Desbiens frederic.desbiens@eclipse-foundation.org
  Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com</content>
</entry>
<entry>
<title>Updated copyright headers and version strings. Removed version history</title>
<updated>2026-03-06T23:14:18Z</updated>
<author>
<name>Frédéric Desbiens</name>
<email>frederic.desbiens@eclipse-foundation.org</email>
</author>
<published>2026-03-06T23:14:18Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=ff90b3ffcb84b2c6099ec31ef032b541e1ef5f0a'/>
<id>urn:sha1:ff90b3ffcb84b2c6099ec31ef032b541e1ef5f0a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>fix: #366 Refactor `select()` socket suspend structures</title>
<updated>2026-02-20T17:42:59Z</updated>
<author>
<name>Elliott</name>
<email>elliott.partridge@gmail.com</email>
</author>
<published>2026-02-20T17:42:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=e43986f36e182d41eb2b2b975fa691680447326b'/>
<id>urn:sha1:e43986f36e182d41eb2b2b975fa691680447326b</id>
<content type='text'>
Refactored `select()` and `nx_bsd_select_wakeup()` to differentiate between requested event filter `nx_bsd_fd_set` and resulting active sockets `nx_bsd_fd_set`.  This prevents spurious events being raised for sockets that are not part of the wakeup triggers.
</content>
</entry>
<entry>
<title>Updated version numbers to 6.4.3</title>
<updated>2025-03-18T14:24:08Z</updated>
<author>
<name>Frédéric Desbiens</name>
<email>frederic.desbiens@eclipse-foundation.org</email>
</author>
<published>2025-03-18T14:24:08Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=c82ea77c4bf3a3e25b6f622e59465998f8c6e738'/>
<id>urn:sha1:c82ea77c4bf3a3e25b6f622e59465998f8c6e738</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update copyright.</title>
<updated>2024-01-29T03:03:49Z</updated>
<author>
<name>Bo Chen (from Dev Box)</name>
<email>boche@microsoft.com</email>
</author>
<published>2024-01-29T03:03:49Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=6c6e58cb977dd1c08d2d344624e7d30d15d48d35'/>
<id>urn:sha1:6c6e58cb977dd1c08d2d344624e7d30d15d48d35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Updated version and date for 6.4.0 (#229)</title>
<updated>2023-12-28T10:12:43Z</updated>
<author>
<name>Bo Chen</name>
<email>50469338+bo-ms@users.noreply.github.com</email>
</author>
<published>2023-12-28T10:12:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=6053c3f7061d825d20ba76f7e254d5acc9e929c5'/>
<id>urn:sha1:6053c3f7061d825d20ba76f7e254d5acc9e929c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Add TSN support.</title>
<updated>2023-12-27T01:34:55Z</updated>
<author>
<name>Tiejun Zhou</name>
<email>tizho@microsoft.com</email>
</author>
<published>2023-12-27T01:16:16Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=4ead49b372950204b32ac327a6e6da5271fada1e'/>
<id>urn:sha1:4ead49b372950204b32ac327a6e6da5271fada1e</id>
<content type='text'>
0f2cc4bfa Support TSN in NetX Duo
</content>
</entry>
<entry>
<title>Update on 23 Oct 2023. Expand to see details.</title>
<updated>2023-10-23T05:28:48Z</updated>
<author>
<name>Tiejun Zhou</name>
<email>tizho@microsoft.com</email>
</author>
<published>2023-10-23T05:28:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=837b032b9c773ea32f78dfa6339a76f2df3568fb'/>
<id>urn:sha1:837b032b9c773ea32f78dfa6339a76f2df3568fb</id>
<content type='text'>
002a5890e Generated rtxp demo in netxduo/samples folder.
c09d9da51 Add function header in .h for RTP and RTSP
f5a96f35b Update function header and version for 6.3.0
0ff7a6809 Correct dhcpv6 server for ignoring lifetime fields in client request
9a2129c35 Fixed dhcpv6 server not update client record issue
e59d2b5f1 Fix dhcp coverage test compile wanrning
d00655d71 Fix infinite loop issue in TCP &amp; UDP free port find function
c194c74ca Optimize rtp_sender and fix pipeline reported issues
b6df8dea0 Add RTxP feature
38e57e633 Added test case for _nx_snmp_utility_object_id_get().
321c88bd9 Added check for pdu length.
36ffb7c39 Fixed packet double release.
92166d736 Fixed SNMP test cases for v4_small_build
67f071552 Improved buffer length verification for padding.
30cc5d8b2 Fix wait option used in FTP test case
098a97213 Avoid duplicate packet release when DTLS send fails
15313e868 Improved buffer length verification for _nx_snmp_utility_object_id_set().
ecd3904d3 Fixed MSRC 81018
caa004007 Fix the logic of handling close notify packet from peer
2b8c87685 Removed main.c into netxduo/samples folder, then all addons can use it.
c72c66cdc Fixed MSARC 81019 and MSRC 81079
8169be7a6 Fixed MSRC81005 and MSRC81020
41389b76b Fixed packet double release issue in _nx_ftp_client_file_write
19348e408 Combined the functions of processing snmp v1 and v2.
9174b6457 Fixed icmpv6 ra buffer overwrite test case.
6bdc703d9 Fixed packet double release issue in _nx_nat_process_packet
403ecd128 Set nx_smtp_server_packet to NULL to avoided duplicate packet release in _nx_smtp_utility_read_server_code
af5dd00c6 Disable FTP server MSS test case when packet chain is disabled
beadbce12 Enable weekly pipeline build to avoid CodeQL expiration
5a3d88f97 Fixed MSRC 81528
df6a1fc57 unify the code.
18c13bfdb Fixed MSRC 80745.
2cce43f48 Fixed bug in utility/iperf/nx_iperf.c pointer used before set its value.
2477fb81c Update product owners
2f5734ada Fixed MSRC 80686
34e713e26 Fixed data length underflow when TCP MSS is less than 255
7097a7859 Improved the test cases for packet chain.
1ffa13cfa Fixed MSRC 80685
97e2b8d8e Set packet pointer to NULL after released to fix duplicate packet release issue
c1e47efa7 Fix ICMPv6 NS buffer overwrite issue.
c2770ea68 Add ICMPv6 NA buffer overwrite test case.
36bb05f85 Validated TCP header buffer to avoid span in multiple packets
84070bb2a Correct the length of packet buffer to avoid write overflow
5b3b3a10b Dropped packet chain for SNTP data to avoid write overflow
82699872d Onebranch build Image Update: Move pipelines to supported and compliant OneBranch container images
a30171f93 Add a test case to demonstrate IGMP override caused by IP assembly.
72472ff4b Fix MSRC 80746
5d9f1266a Corrected the acked packet count when out of order is enabled
b113ebdc9 Fixed DHCP server local variable type issue
b70863299 Enable codeql in onebranch pipeline
</content>
</entry>
<entry>
<title>Update on 30 Jun 2023. Expand to see details.</title>
<updated>2023-06-30T02:11:06Z</updated>
<author>
<name>Tiejun Zhou</name>
<email>tizho@microsoft.com</email>
</author>
<published>2023-06-30T02:11:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/netxduo.git/commit/?id=4d71251e4d122b1f7f8fb2ee91b27653e4b39ce2'/>
<id>urn:sha1:4d71251e4d122b1f7f8fb2ee91b27653e4b39ce2</id>
<content type='text'>
06cb10f01 Fix typo in NetXDuo Crypto
996dd14fc BSD functions overriding option
3b756c219 Fix mqtt interoperability issue when upgrade to ubuntu 20.04
01ca51021 Added support for skipping failed step
3e3a15e79 Add record length checking in nxe_secure_tls_session_send.
ec617d178 Fix demo_netx_secure_tls test link issue under nightly build
a934cb718 Fix pipeline libgcc issue in nx_secure_interoperability test
f08024578 Fix illegal access when NXD_MQTT_OVER_WEBSOCKET enabled
9798e2b89 Corrected the mDNS symbols check
456007dd1 Fixed multiple proxy update issue
cf0bf15b5 Add TLS sample demo_netx_secure_tls.c.
87ea505bf Add sha256 in driver preprocess command for ADU
7e1b9686a Add pnp check for ADU
ef78d336d Improved the code to ignore null file url.
</content>
</entry>
</feed>
