aboutgitcodebugslistschat
path: root/tcp_buf.h
diff options
context:
space:
mode:
authorJon Maloy <jmaloy@redhat.com>2024-10-28 22:13:59 -0400
committerStefano Brivio <sbrivio@redhat.com>2024-10-29 12:43:24 +0100
commit2053c36dec4ce3e5bfddb52f5f2957165a692f1d (patch)
treefb381a30d6157024fed90b66060493ea7492bedd /tcp_buf.h
parent5563d5f668450441e4f3cedc9d83283739b5e0ca (diff)
downloadpasst-2053c36dec4ce3e5bfddb52f5f2957165a692f1d.tar
passt-2053c36dec4ce3e5bfddb52f5f2957165a692f1d.tar.gz
passt-2053c36dec4ce3e5bfddb52f5f2957165a692f1d.tar.bz2
passt-2053c36dec4ce3e5bfddb52f5f2957165a692f1d.tar.lz
passt-2053c36dec4ce3e5bfddb52f5f2957165a692f1d.tar.xz
passt-2053c36dec4ce3e5bfddb52f5f2957165a692f1d.tar.zst
passt-2053c36dec4ce3e5bfddb52f5f2957165a692f1d.zip
tcp: set ip and eth headers in l2 tap queues on the fly
l2 tap queue entries are currently initialized at system start, and reused with preset headers through its whole life time. The only fields we need to update per message are things like payload size and checksums. If we want to reuse these entries between ipv4 and ipv6 messages we will need to set the pointer to the right header on the fly per message, since the header type may differ between entries in the same queue. The same needs to be done for the ethernet header. We do these changes here. Signed-off-by: Jon Maloy <jmaloy@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'tcp_buf.h')
0 files changed, 0 insertions, 0 deletions