aboutgitcodebugslistschat
path: root/pcap.h
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-01-05 15:26:18 +1100
committerStefano Brivio <sbrivio@redhat.com>2023-01-13 01:06:51 +0100
commita6e919a9511402bd45d7fc80540c1f93166cb4af (patch)
treef72bb01037172dfc244ff7f47f3becae31fd2865 /pcap.h
parentc196953f1e60c550d24b8a9f6ac2099075845a66 (diff)
downloadpasst-a6e919a9511402bd45d7fc80540c1f93166cb4af.tar
passt-a6e919a9511402bd45d7fc80540c1f93166cb4af.tar.gz
passt-a6e919a9511402bd45d7fc80540c1f93166cb4af.tar.bz2
passt-a6e919a9511402bd45d7fc80540c1f93166cb4af.tar.lz
passt-a6e919a9511402bd45d7fc80540c1f93166cb4af.tar.xz
passt-a6e919a9511402bd45d7fc80540c1f93166cb4af.tar.zst
passt-a6e919a9511402bd45d7fc80540c1f93166cb4af.zip
udp: Move sending pasta tap frames to the end of udp_sock_handler()
udp_sock_handler() has a surprising difference in flow between pasta and passt mode: For pasta we send each frame to the tap interface as we prepare it. For passt, though, we prepare all the frames, then send them with a single sendmmsg(). Alter the pasta path to also prepare all the frames, then send them at the end. We already have a suitable data structure for the passt case. This will make it easier to abstract out the tap backend difference in future. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pcap.h')
0 files changed, 0 insertions, 0 deletions