diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2025-09-02 09:52:47 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-09-03 20:43:41 +0200 |
| commit | 42a108b99d89d1507a62dacd8f5b993e0062d3a3 (patch) | |
| tree | 3ec3342a2bd671f8bed6fcae767cbe566eec0583 /test/lib | |
| parent | 3a261fdeb62a14823b8ff42c3dea8439de30befe (diff) | |
| download | passt-42a108b99d89d1507a62dacd8f5b993e0062d3a3.tar passt-42a108b99d89d1507a62dacd8f5b993e0062d3a3.tar.gz passt-42a108b99d89d1507a62dacd8f5b993e0062d3a3.tar.bz2 passt-42a108b99d89d1507a62dacd8f5b993e0062d3a3.tar.lz passt-42a108b99d89d1507a62dacd8f5b993e0062d3a3.tar.xz passt-42a108b99d89d1507a62dacd8f5b993e0062d3a3.tar.zst passt-42a108b99d89d1507a62dacd8f5b993e0062d3a3.zip | |
dhcpv6: use iov_tail rather than pool
This patch refactors the dhcpv6() function to accept `struct iov_tail *data`
directly as its packet input, replacing the `const struct pool *p` parameter.
Consequently, dhcpv6() no longer fetches packet data internally using
packet_data().
This change simplifies callers, such as tap6_handler(), which now pass
the iov_tail representing the L4 UDP segment (DHCPv6 message) directly.
This removes the need for intermediate packet pool handling.
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 'test/lib')
0 files changed, 0 insertions, 0 deletions
