mirror of
https://passt.top/passt
synced 2024-12-22 05:35:23 +00:00
299c407501
For the approach we intend to use for handling UDP flows, we have some pretty specific requirements about how SO_REUSEADDR works with UDP sockets. Specifically SO_REUSEADDR allows multiple sockets with overlapping bind()s, and therefore there can be multiple sockets which are eligible to receive the same datagram. Which one will actually receive it is important to us. Add a test program which verifies things work the way we expect, which documents what those expectations are in the process. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
19 lines
622 B
Plaintext
19 lines
622 B
Plaintext
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.
|