aboutgitcodebugslistschat
path: root/test/pasta_options/log_to_file
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2023-01-06 11:43:16 +1100
committerStefano Brivio <sbrivio@redhat.com>2023-01-23 18:54:49 +0100
commite4443ba9bd32b5d1f80a3167b6073e8f3ff4f14a (patch)
tree7df3f705967fd872394ff1a47537385d510aaa46 /test/pasta_options/log_to_file
parentdcea26076ded89ff66da8046b12052045a51de0f (diff)
downloadpasst-e4443ba9bd32b5d1f80a3167b6073e8f3ff4f14a.tar
passt-e4443ba9bd32b5d1f80a3167b6073e8f3ff4f14a.tar.gz
passt-e4443ba9bd32b5d1f80a3167b6073e8f3ff4f14a.tar.bz2
passt-e4443ba9bd32b5d1f80a3167b6073e8f3ff4f14a.tar.lz
passt-e4443ba9bd32b5d1f80a3167b6073e8f3ff4f14a.tar.xz
passt-e4443ba9bd32b5d1f80a3167b6073e8f3ff4f14a.tar.zst
passt-e4443ba9bd32b5d1f80a3167b6073e8f3ff4f14a.zip
tcp: Consolidate calculation of total frame size
tcp_l2_buf_fill_headers() returns the size of the generated frame including the ethernet header. The caller then adds on the size of the vnet_len field to get the total frame size to be passed to the tap device. Outside the tap code, though, we never care about the ethernet header size only the final total size we need to put into an iovec. So, consolidate the total frame size calculation within tcp_l2_buf_fill_headers(). Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test/pasta_options/log_to_file')
0 files changed, 0 insertions, 0 deletions