diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-04-04 21:15:37 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-04-07 21:43:52 +0200 |
| commit | fc6ee68ad3a8863cba534dfa4b88767114a6701e (patch) | |
| tree | 1267b0092e844e8bc92ab9899f3526f5ce6fee44 /contrib/qemu/git: | |
| parent | 0304dd9c34a7dd29c3a8a2058626a971d4e71a8e (diff) | |
| download | passt-fc6ee68ad3a8863cba534dfa4b88767114a6701e.tar passt-fc6ee68ad3a8863cba534dfa4b88767114a6701e.tar.gz passt-fc6ee68ad3a8863cba534dfa4b88767114a6701e.tar.bz2 passt-fc6ee68ad3a8863cba534dfa4b88767114a6701e.tar.lz passt-fc6ee68ad3a8863cba534dfa4b88767114a6701e.tar.xz passt-fc6ee68ad3a8863cba534dfa4b88767114a6701e.tar.zst passt-fc6ee68ad3a8863cba534dfa4b88767114a6701e.zip | |
udp: Merge vhost-user and "buf" listening socket paths
udp_buf_listen_sock_data() and udp_vu_listen_sock_data() now have
effectively identical structure. The forwarding functions used for flow
specific sockets (udp_buf_sock_to_tap(), udp_vu_sock_to_tap() and
udp_sock_to_sock()) also now take a number of datagrams. This means we
can re-use them for the listening socket path, just passing '1' so they
handle a single datagram at a time.
This allows us to merge both the vhost-user and flow specific paths into
a single, simpler udp_listen_sock_data().
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib/qemu/git:')
0 files changed, 0 insertions, 0 deletions
