This website requires JavaScript.
Explore
Help
Sign In
External
/
passt
Watch
1
Star
0
Fork
0
You've already forked passt
mirror of
https://passt.top/passt
synced
2024-11-09 22:29:56 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
b7ad19347f
passt
/
doc
/
platform-requirements
/
.gitignore
4 lines
46 B
Plaintext
Raw
Normal View
History
Unescape
Escape
doc: Add program to document and test assumptions about SO_REUSEADDR 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>
2024-07-05 10:44:08 +00:00
/reuseaddr-priority
doc: Test behaviour of zero length datagram recv()s Add a test program verifying that we're able to discard datagrams from a socket without needing a big discard buffer, by using a zero length recv(). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2024-07-05 10:44:09 +00:00
/recv-zero
doc: Test behaviour of closing duplicate UDP sockets To simplify lifetime management of "listening" UDP sockets, UDP flow support needs to duplicate existing bound sockets. Those duplicates will be close()d when their corresponding flow expires, but we expect the original to still receive datagrams as always. That is, we expect the close() on the duplicate to remove the duplicated fd, but not to close the underlying UDP socket. Add a test program to doc/platform-requirements to verify this requirement. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
2024-07-17 04:52:22 +00:00
/udp-close-dup
Reference in New Issue
Copy Permalink