aboutgitcodebugslistschat
path: root/pcap.c
diff options
context:
space:
mode:
authorLaurent Vivier <lvivier@redhat.com>2024-02-28 12:52:00 +1100
committerStefano Brivio <sbrivio@redhat.com>2024-02-29 06:23:49 +0100
commit2a6f8bcca77ae7391a8943a3791be2fbb98a918b (patch)
tree9bcead16830db4d915f1cdb16556e3e7801211bd /pcap.c
parent90f1d3b3546eba0e454d227c24b391e184ac092c (diff)
downloadpasst-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar.gz
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar.bz2
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar.lz
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar.xz
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.tar.zst
passt-2a6f8bcca77ae7391a8943a3791be2fbb98a918b.zip
iov: add some functions to manage iovec
Introduce functions to copy to/from a buffer from/to an iovec array, to compute data length in in bytes of an iovec and to copy memory from an iovec to another. iov_from_buf(), iov_to_buf(), iov_size(), iov_copy(). Signed-off-by: Laurent Vivier <lvivier@redhat.com> Message-ID: <20240217150725.661467-2-lvivier@redhat.com> [dwg: Small changes to suppress cppcheck warnings] Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'pcap.c')
0 files changed, 0 insertions, 0 deletions