Network Services | udp: port tx & rx udp tests to net-services (!37)
Prithvi Tambewagh (@prithvi77)
gitlab at rtems.org
Wed May 6 14:00:51 UTC 2026
Prithvi Tambewagh created a merge request: https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/37
Project:Branches: prithvi77/rtems-net-services:lwIP-test-netservices-port to rtems/pkg/rtems-net-services:main
Author: Prithvi Tambewagh
## Summary
This MR moves the tests developed during GSoC 25 project:
* TX UDP Test: https://gitlab.rtems.org/prithvi77/rtems-lwip/-/blob/f3df15c3c6947c2a3841205d4a97bbf4464ed9a6/rtemslwip/test/tx_udp/init.c
* RX UDP Test: https://gitlab.rtems.org/prithvi77/rtems-lwip/-/blob/f3df15c3c6947c2a3841205d4a97bbf4464ed9a6/rtemslwip/test/rx_udp/init.c
with the following modifications:
- Remove IP address printing functions to keep test minimalistic
- Use ipaddr_addr() instead of inet_addr()
- Improve debug log for formatting & consistency
- Use net_start() to setup network according to configuration in net_adapter.c and rtems_shell_init() to start the RTEMS shell session
- Set CONFIGURE_MAXIMUM_USER_EXTENSIONS to 1 to facilitate runtime user extension creation by rtems_bsd_compat_initialize()
- Remove 1s delay in rx_udp test which was present while receiving messages
- Note: The tests have currently been tested with GRETH lwIP driver, with which they work alright.
<!--If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->
<!--Default settings, if it is a dropdown it will set after submission-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/pkg/rtems-net-services/-/merge_requests/37
You're receiving this email because of your account on gitlab.rtems.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260506/272fa12c/attachment.htm>
More information about the bugs
mailing list