aboutgitcodebugslistschat
path: root/tap.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-01-06 11:43:10 +1100
committerStefano Brivio <sbrivio@redhat.com>2023-01-23 18:54:39 +0100
commite21ee41ac35a268009ad616df8e9d15d99825050 (patch)
tree668a47759821a8417b009a2c40be5262ca20e4af /tap.c
parenta79e77477095486b782374255b081e703a4102a9 (diff)
downloadpasst-e21ee41ac35a268009ad616df8e9d15d99825050.tar
passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar.gz
passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar.bz2
passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar.lz
passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar.xz
passt-e21ee41ac35a268009ad616df8e9d15d99825050.tar.zst
passt-e21ee41ac35a268009ad616df8e9d15d99825050.zip
tcp: Combine two parts of pasta tap send path together
tcp_l2_buf_flush() open codes the loop across each frame in a group, but but calls tcp_l2_buf_write_one() to send each frame to the pasta tuntap device. Combine these two pasta-specific operations into tcp_l2_buf_flush_pasta() which is a little cleaner and will enable further cleanups. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tap.c')
0 files changed, 0 insertions, 0 deletions