Kuniyuki Iwashima 7679f0968d selftest: tcp: Add bind() tests for SO_REUSEADDR/SO_REUSEPORT.
This patch adds two tests using SO_REUSEADDR and SO_REUSEPORT and
defines errno for each test case.

SO_REUSEADDR/SO_REUSEPORT is set for the per-fixture two bind()
calls.

The notable pattern is the pair of v6only [::] and plain [::].
The two sockets are put into the same tb2, where per-bucket v6only
flag would be useless to detect bind() conflict.

Signed-off-by: Kuniyuki Iwashima <kuniyu@amazon.com>
Link: https://lore.kernel.org/r/20240326204251.51301-9-kuniyu@amazon.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-03-29 14:48:39 -07:00
..
2024-03-11 09:25:33 -07:00
2023-08-24 10:41:47 -04:00
2024-03-14 16:16:33 -07:00
2024-03-15 13:03:13 -07:00
2024-03-14 16:00:27 -07:00
2024-03-11 09:25:33 -07:00
2023-11-01 17:08:10 -10:00
2024-03-15 17:53:48 -07:00
2023-10-15 20:07:52 +01:00
2023-04-25 11:05:04 -07:00
2024-03-12 17:44:08 -07:00
2023-10-05 14:22:53 -06:00
2024-03-12 17:44:08 -07:00
2024-03-21 12:35:20 -07:00