aboutgitcodebugslistschat
path: root/doc/platform-requirements/recv-zero.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-07-05 20:44:06 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-07-05 15:26:39 +0200
commit69e5393c37223f78ce959e09618f01da4e3486b1 (patch)
tree839cdf097f3ba25ee9a56c701aea3049ff3d2740 /doc/platform-requirements/recv-zero.c
parentc6c61a9e1a99b116abda75659427c2edbbd86a0a (diff)
downloadpasst-69e5393c37223f78ce959e09618f01da4e3486b1.tar
passt-69e5393c37223f78ce959e09618f01da4e3486b1.tar.gz
passt-69e5393c37223f78ce959e09618f01da4e3486b1.tar.bz2
passt-69e5393c37223f78ce959e09618f01da4e3486b1.tar.lz
passt-69e5393c37223f78ce959e09618f01da4e3486b1.tar.xz
passt-69e5393c37223f78ce959e09618f01da4e3486b1.tar.zst
passt-69e5393c37223f78ce959e09618f01da4e3486b1.zip
udp: Move some more of sock_handler tasks into sub-functions
udp_buf_sock_handler(), udp_splice_send() and udp_tap_send loosely, do four things between them: 1. Receive some datagrams from a socket 2. Split those datagrams into batches depending on how they need to be sent (via tap or via a specific splice socket) 3. Prepare buffers for each datagram to send it onwards 4. Actually send it onwards Split (1) and (3) into specific helper functions. This isn't immediately useful (udp_splice_prepare(), in particular, is trivial), but it will make further reworks clearer. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/platform-requirements/recv-zero.c')
0 files changed, 0 insertions, 0 deletions