diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2025-04-04 21:15:32 +1100 |
|---|---|---|
| committer | Stefano Brivio <sbrivio@redhat.com> | 2025-04-07 21:25:33 +0200 |
| commit | 1d7bbb101a0b1dcbc99c51cd65abb90a0144ac7b (patch) | |
| tree | 640832a94e369b03554962d3cb176cadfe317475 /contrib | |
| parent | d74b5a7c107006b95df6a69e5f1e6b9a373c7f53 (diff) | |
| download | passt-1d7bbb101a0b1dcbc99c51cd65abb90a0144ac7b.tar passt-1d7bbb101a0b1dcbc99c51cd65abb90a0144ac7b.tar.gz passt-1d7bbb101a0b1dcbc99c51cd65abb90a0144ac7b.tar.bz2 passt-1d7bbb101a0b1dcbc99c51cd65abb90a0144ac7b.tar.lz passt-1d7bbb101a0b1dcbc99c51cd65abb90a0144ac7b.tar.xz passt-1d7bbb101a0b1dcbc99c51cd65abb90a0144ac7b.tar.zst passt-1d7bbb101a0b1dcbc99c51cd65abb90a0144ac7b.zip | |
udp: Make udp_sock_recv() take max number of frames as a parameter
Currently udp_sock_recv() decides the maximum number of frames it is
willing to receive based on the mode. However, we have upcoming use cases
where we will have different criteria for how many frames we want with
information that's not naturally available here but is in the caller. So
make the maximum number of frames a parameter.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
[sbrivio: Fix typo in comment in udp_buf_reply_sock_data()]
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions
