aboutgitcodebugslistschat
path: root/contrib
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2025-04-04 21:15:33 +1100
committerStefano Brivio <sbrivio@redhat.com>2025-04-07 21:29:23 +0200
commit84ab1305fabaf07b5badf433e55a458de5b86918 (patch)
treed98831b1c114a6aabf23e4f65b69eb8ff1cb6c82 /contrib
parent1d7bbb101a0b1dcbc99c51cd65abb90a0144ac7b (diff)
downloadpasst-84ab1305fabaf07b5badf433e55a458de5b86918.tar
passt-84ab1305fabaf07b5badf433e55a458de5b86918.tar.gz
passt-84ab1305fabaf07b5badf433e55a458de5b86918.tar.bz2
passt-84ab1305fabaf07b5badf433e55a458de5b86918.tar.lz
passt-84ab1305fabaf07b5badf433e55a458de5b86918.tar.xz
passt-84ab1305fabaf07b5badf433e55a458de5b86918.tar.zst
passt-84ab1305fabaf07b5badf433e55a458de5b86918.zip
udp: Polish udp_vu_sock_info() and remove from vu specific code
udp_vu_sock_info() uses MSG_PEEK to look ahead at the next datagram to be received and gets its source address. Currently we only use it in the vhost-user path, but there's nothing inherently vhost-user specific about it. We have upcoming uses for it elsewhere so rename and move to udp.c. While we're there, polish its error reporting a litle. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [sbrivio: Drop excess newline before udp_sock_recv()] Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions