On 5/18/2026 2:27 PM, Warner Losh wrote: > Complete os-socket.h with setfib, bindat, connectat, and accept4. > Add bsd-socket.c with target_to_host_sockaddr, host_to_target_sockaddr, > and target_to_host_ip_mreq helper functions, and add it to the build. > > Signed-off-by: Stacey Son <[email protected]> > Signed-off-by: Warner Losh <[email protected]> > Assisted-by: Claude Opus 4.6 (1M context) > --- > bsd-user/bsd-socket.c | 98 > ++++++++++++++++++++++++++++++++++++++++++++ > bsd-user/freebsd/os-socket.h | 85 +++++++++++++++++++++++++++++++++++++- > bsd-user/meson.build | 1 + > bsd-user/qemu-bsd.h | 8 ++++ > 4 files changed, 191 insertions(+), 1 deletion(-) >
Reviewed-by: Pierrick Bouvier <[email protected]>
