diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2026-05-13 13:52:10 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2026-05-20 01:21:09 +0200 |
| commit | d7259ea24c8aa4908f60d54f4df40bfcb3da6407 (patch) | |
| tree | 8984d347ec07b64fbc3cc64b0bd6d436a683f7a0 /test | |
| parent | a804574bc42c73915944b38ef638f667067bbf8c (diff) | |
| download | passt-d7259ea24c8aa4908f60d54f4df40bfcb3da6407.tar passt-d7259ea24c8aa4908f60d54f4df40bfcb3da6407.tar.gz passt-d7259ea24c8aa4908f60d54f4df40bfcb3da6407.tar.bz2 passt-d7259ea24c8aa4908f60d54f4df40bfcb3da6407.tar.lz passt-d7259ea24c8aa4908f60d54f4df40bfcb3da6407.tar.xz passt-d7259ea24c8aa4908f60d54f4df40bfcb3da6407.tar.zst passt-d7259ea24c8aa4908f60d54f4df40bfcb3da6407.zip | |
iov: Add iov_memcpy() to copy data between iovec arrays
Add a helper to copy data from a source iovec array to a destination
iovec array, each starting at an arbitrary byte offset, iterating
through both arrays simultaneously and copying in chunks matching the
smaller of the two current segments.
Signed-off-by: Laurent Vivier <lvivier@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Jon Maloy <jmaloy@redhat.com>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions
