nuttx-apps/testing/nettest
wenquan1 11124141cb testing/nettest: add SO_TIMESTAMPING cmocka test
Add cmocka-based test program for SO_TIMESTAMPING socket option
under testing/nettest/timestamp/. Covers all five test scenarios
from the SO_TIMESTAMPING PR (apache/nuttx#20161):

1. SO_TIMESTAMPING setsockopt/getsockopt
2. SO_TIMESTAMP/SO_TIMESTAMPNS backward compatibility
3. TX timestamping + MSG_ERRQUEUE delivery
4. RX timestamp via SO_TIMESTAMP
5. TX timestamping with poll(POLLPRI) notification

Enable with CONFIG_TESTING_NET_TIMESTAMP=y (requires
CONFIG_NET_TIMESTAMP, CONFIG_NET_PKT, CONFIG_TESTING_CMOCKA).

Tested on sim:dynconns — all 5 tests pass.

Signed-off-by: wenquan1 <wenquan1@xiaomi.com>
2026-09-21 16:26:06 +08:00
..
local testing/nettest: add cmocka test for local socket SCM_RIGHTS 2026-08-23 11:04:33 +08:00
others testing/nettest: add checksum zero-length regression test 2026-09-10 23:11:37 +08:00
tcp testing/nettest: Add utils directory and two tcp testcases to the testing framework 2025-01-12 01:24:12 +08:00
timestamp testing/nettest: add SO_TIMESTAMPING cmocka test 2026-09-21 16:26:06 +08:00
utils testing: nettest: Fix TCP server terminator bounds 2026-07-09 09:27:28 +08:00
CMakeLists.txt testing/nettest: add SO_TIMESTAMPING cmocka test 2026-09-21 16:26:06 +08:00
Kconfig testing/nettest: add SO_TIMESTAMPING cmocka test 2026-09-21 16:26:06 +08:00
Make.defs apps/testing: Add a cmocka framework for network testing 2025-01-09 22:40:36 +08:00
Makefile testing/nettest: add SO_TIMESTAMPING cmocka test 2026-09-21 16:26:06 +08:00