1
0
Fork 0
mirror of https://passt.top/passt synced 2025-06-20 05:55:33 +02:00
passt/doc/platform-requirements
David Gibson 6bfc60b095 platform requirements: Add test for address conflicts with TCP_REPAIR
Simple test program to check the behaviour we need for bind() address
conflicts between listening sockets and repair mode sockets.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2025-04-02 08:28:59 +02:00
..
.gitignore platform requirements: Add test for address conflicts with TCP_REPAIR 2025-04-02 08:28:59 +02:00
common.c doc: Add program to document and test assumptions about SO_REUSEADDR 2024-07-05 15:26:43 +02:00
common.h platform requirements: Add attributes to die() function 2025-04-02 08:28:57 +02:00
listen-vs-repair.c platform requirements: Add test for address conflicts with TCP_REPAIR 2025-04-02 08:28:59 +02:00
Makefile platform requirements: Add test for address conflicts with TCP_REPAIR 2025-04-02 08:28:59 +02:00
README doc: Add program to document and test assumptions about SO_REUSEADDR 2024-07-05 15:26:43 +02:00
recv-zero.c doc: Extend zero-recv test with methods using msghdr 2024-07-17 15:31:02 +02:00
reuseaddr-priority.c platform requirements: Fix clang-tidy warning 2025-04-02 08:28:05 +02:00
udp-close-dup.c doc: Test behaviour of closing duplicate UDP sockets 2024-07-17 15:30:14 +02:00

Platform Requirements
=====================

TODO: document the various Linux specific features we currently require


Test Programs
-------------

In some places we rely on quite specific behaviour of sockets.
Although Linux, at least, seems to behave as required, It's not always
clear from the available documentation if this is required by POSIX or
some other specification.

To specifically document those expectations this directory has some
test programs which explicitly check for the behaviour we need.
When/if we attempt a port to a new platform, running these to check
behaviour would be a good place to start.