diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-02-28 12:52:02 +1100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-02-29 06:24:10 +0100 |
commit | 24410b37a44e819877bdb4449a3147567a866ffa (patch) | |
tree | d651fed3d65c524f8b1cb0e2acb26d2cdb0c67d3 /util.c | |
parent | 64b63d9e3e1dc2e4c1f32432cf8954f6cc3f788f (diff) | |
download | passt-24410b37a44e819877bdb4449a3147567a866ffa.tar passt-24410b37a44e819877bdb4449a3147567a866ffa.tar.gz passt-24410b37a44e819877bdb4449a3147567a866ffa.tar.bz2 passt-24410b37a44e819877bdb4449a3147567a866ffa.tar.lz passt-24410b37a44e819877bdb4449a3147567a866ffa.tar.xz passt-24410b37a44e819877bdb4449a3147567a866ffa.tar.zst passt-24410b37a44e819877bdb4449a3147567a866ffa.zip |
pcap: Update pcap_frame() to take an iovec and offset
Update the low-level helper pcap_frame() to take a struct iovec and
offset within it, rather than an explicit pointer and length for the
frame. This moves the handling of an offset (to skip vnet_len) from
pcap_multiple() to pcap_frame().
This doesn't accomplish a great deal immediately, but will make
subsequent changes easier.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'util.c')
0 files changed, 0 insertions, 0 deletions