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