aboutgitcodebugslistschat
path: root/udp.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2024-04-15 19:01:37 +0200
committerStefano Brivio <sbrivio@redhat.com>2024-04-19 11:21:09 +0200
commit95601237ef82c28413d686ea20b68edd43c5fe1b (patch)
tree84c0197b1d48d4d5b6049bd500054593a2936b63 /udp.c
parent27f1c762b15adc175b091f1244f8f1fb75781a2e (diff)
downloadpasst-95601237ef82c28413d686ea20b68edd43c5fe1b.tar
passt-95601237ef82c28413d686ea20b68edd43c5fe1b.tar.gz
passt-95601237ef82c28413d686ea20b68edd43c5fe1b.tar.bz2
passt-95601237ef82c28413d686ea20b68edd43c5fe1b.tar.lz
passt-95601237ef82c28413d686ea20b68edd43c5fe1b.tar.xz
passt-95601237ef82c28413d686ea20b68edd43c5fe1b.tar.zst
passt-95601237ef82c28413d686ea20b68edd43c5fe1b.zip
tcp: Replace TCP buffer structure by an iovec array
To be able to provide pointers to TCP headers and IP headers without worrying about alignment in the structure, split the structure into several arrays and point to each part of the frame using an iovec array. Using iovec also allows us to simply ignore the first entry when the vnet length header is not needed. Signed-off-by: Laurent Vivier <lvivier@redhat.com> Reviewed-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'udp.c')
0 files changed, 0 insertions, 0 deletions