aboutgitcodebugslistschat
path: root/pcap.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-02-28 12:52:01 +1100
committerStefano Brivio <sbrivio@redhat.com>2024-02-29 06:24:07 +0100
commit64b63d9e3e1dc2e4c1f32432cf8954f6cc3f788f (patch)
treebbc7d06c7ccf693f1f563001a779002d4acbabb8 /pcap.c
parent2a6f8bcca77ae7391a8943a3791be2fbb98a918b (diff)
downloadpasst-64b63d9e3e1dc2e4c1f32432cf8954f6cc3f788f.tar
passt-64b63d9e3e1dc2e4c1f32432cf8954f6cc3f788f.tar.gz
passt-64b63d9e3e1dc2e4c1f32432cf8954f6cc3f788f.tar.bz2
passt-64b63d9e3e1dc2e4c1f32432cf8954f6cc3f788f.tar.lz
passt-64b63d9e3e1dc2e4c1f32432cf8954f6cc3f788f.tar.xz
passt-64b63d9e3e1dc2e4c1f32432cf8954f6cc3f788f.tar.zst
passt-64b63d9e3e1dc2e4c1f32432cf8954f6cc3f788f.zip
iov: Add helper to find skip over first n bytes of an io vector
Several of the IOV functions in iov.c, and also tap_send_frames_passt() needs to determine which buffer element a byte offset into an IO vector lies in. Split this out into a helper function iov_skip_bytes(). 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