This website requires JavaScript.
Explore
Help
Sign in
mirrors
/
passt
Watch
1
Star
0
Fork
You've already forked passt
0
Code
Issues
Pull requests
Projects
Releases
Packages
Wiki
Activity
Actions
8bd57bf25b
passt
/
doc
/
platform-requirements
/
.gitignore
3 lines
31 B
Text
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 12:44:08 +02: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 12:44:09 +02:00
/recv-zero
Reference in a new issue
Copy permalink