aboutgitcodebugslistschat
path: root/udp.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-01-05 15:26:19 +1100
committerStefano Brivio <sbrivio@redhat.com>2023-01-13 01:06:55 +0100
commit09c00f1d2a38c562511b4e4a4a0f1d455d04d20a (patch)
tree1903b8fbac17319c2e7e1c83653e023994b9525e /udp.h
parenta6e919a9511402bd45d7fc80540c1f93166cb4af (diff)
downloadpasst-09c00f1d2a38c562511b4e4a4a0f1d455d04d20a.tar
passt-09c00f1d2a38c562511b4e4a4a0f1d455d04d20a.tar.gz
passt-09c00f1d2a38c562511b4e4a4a0f1d455d04d20a.tar.bz2
passt-09c00f1d2a38c562511b4e4a4a0f1d455d04d20a.tar.lz
passt-09c00f1d2a38c562511b4e4a4a0f1d455d04d20a.tar.xz
passt-09c00f1d2a38c562511b4e4a4a0f1d455d04d20a.tar.zst
passt-09c00f1d2a38c562511b4e4a4a0f1d455d04d20a.zip
udp: Split sending to passt tap interface into separate function
The last part of udp_sock_handler() does the actual sending of frames to the tap interface. For pasta that's just a call to udp_tap_send_pasta() but for passt, it's moderately complex and open coded. For symmetry, move the passt send path into its own function, udp_tap_send_passt(). This will make it easier to abstract the tap interface in future (e.g. when we want to add vhost-user). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.h')
0 files changed, 0 insertions, 0 deletions