diff options
| author | Laurent Vivier <lvivier@redhat.com> | 2025-09-02 09:52:46 +0200 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-09-03 20:43:39 +0200 |
| commit | 3a261fdeb62a14823b8ff42c3dea8439de30befe (patch) | |
| tree | 7f3c86ba0e19c87995b32baaf962a9e55573af35 /doc | |
| parent | c977d1ff6195e5b8eafb5af3552b8116052bc3b0 (diff) | |
| download | passt-3a261fdeb62a14823b8ff42c3dea8439de30befe.tar passt-3a261fdeb62a14823b8ff42c3dea8439de30befe.tar.gz passt-3a261fdeb62a14823b8ff42c3dea8439de30befe.tar.bz2 passt-3a261fdeb62a14823b8ff42c3dea8439de30befe.tar.lz passt-3a261fdeb62a14823b8ff42c3dea8439de30befe.tar.xz passt-3a261fdeb62a14823b8ff42c3dea8439de30befe.tar.zst passt-3a261fdeb62a14823b8ff42c3dea8439de30befe.zip | |
dhcp: use iov_tail rather than pool
This patch refactors the dhcp() function to accept `struct iov_tail *data`
directly as its packet input, replacing the previous `const struct pool *p`
parameter. Consequently, dhcp() no longer fetches packet data internally
using packet_data().
This change simplifies callers, such as tap4_handler(), which now pass
the iov_tail representing the L2 frame directly to dhcp(). This removes
the need for intermediate packet pool handling for DHCP processing.
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 'doc')
0 files changed, 0 insertions, 0 deletions
