diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-12-18 17:22:42 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-12-23 15:25:11 +0100 |
| commit | 6292845bfed92c618480d58dae5cf9d045918191 (patch) | |
| tree | 2fd628cace7c0f8412ce1fa532afe3667f844469 /test/tcp/git: | |
| parent | 0f4ba615f59379edff5057c30b31328d60d71d08 (diff) | |
| download | passt-6292845bfed92c618480d58dae5cf9d045918191.tar passt-6292845bfed92c618480d58dae5cf9d045918191.tar.gz passt-6292845bfed92c618480d58dae5cf9d045918191.tar.bz2 passt-6292845bfed92c618480d58dae5cf9d045918191.tar.lz passt-6292845bfed92c618480d58dae5cf9d045918191.tar.xz passt-6292845bfed92c618480d58dae5cf9d045918191.tar.zst passt-6292845bfed92c618480d58dae5cf9d045918191.zip | |
udp: Rename udp_sock_init() to udp_listen() with small cleanups
Despite the name, this functions is specifically for creating
"listening" sockets, not any others. While we're there remove a redundant
check for (s > FD_REF_MAX). pif_sock_l4() already checks for this (and
must, in order to properly populate the epoll reference).
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/tcp/git:')
0 files changed, 0 insertions, 0 deletions
