[PATCH 0/3] Allow listen functions to return fds
5 Jan
2026
5 Jan
'26
9:28 a.m.
For future forwarding changes, it makes more sense for the tcp and udp listen functions to return socket fds, rather than just success / failure. Make the change, fixing bug 186 and adding a debugging option along the way. Link: https://bugs.passt.top/show_bug.cgi?id=186 David Gibson (3): conf: Introduce --no-bindtodevice option for testing tcp, udp, conf: Don't silently ignore listens on unsupported IP versions tcp, udp: Make {tcp,udp}_listen() return socket fds conf.c | 26 +++++++++++++++++++------- passt.1 | 6 ++++++ tcp.c | 13 ++++--------- udp.c | 10 ++++------ 4 files changed, 33 insertions(+), 22 deletions(-) -- 2.52.0
2
Age (days ago)
2
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Gibson