linux/tools/testing/selftests/net/lib/py
Gal Pressman 0163250039 selftests: drv-net: Make rand_port() get a port more reliably
Instead of guessing a port and checking whether it's available, get an
available port from the OS.

Reviewed-by: Nimrod Oren <noren@nvidia.com>
Signed-off-by: Gal Pressman <gal@nvidia.com>
Link: https://patch.msgid.link/20250224174416.499070-4-gal@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2025-02-25 18:31:05 -08:00
..
__init__.py selftests: net: Add python context manager for netns entering 2025-02-21 15:28:03 -08:00
consts.py selftests: net: add scaffolding for Netlink tests in Python 2024-04-08 11:40:41 +01:00
ksft.py selftests: drv-net: improve the use of ksft helpers in XSK queue test 2025-02-20 17:58:25 -08:00
netns.py selftests: net: Add python context manager for netns entering 2025-02-21 15:28:03 -08:00
nsim.py selftests: drivers: net: fix name not defined 2024-10-11 16:01:00 -07:00
utils.py selftests: drv-net: Make rand_port() get a port more reliably 2025-02-25 18:31:05 -08:00
ynl.py selftests/net: Add selftest for IPv4 RTM_GETMULTICAST support 2025-02-11 11:26:53 +01:00