aboutgitcodebugslistschat
path: root/icmp.c
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2024-07-17 14:52:23 +1000
committerStefano Brivio <sbrivio@redhat.com>2024-07-17 15:31:02 +0200
commitba74b1fea1ef661dc8cce1d32863c9784d2747a6 (patch)
tree2cd7ae60a11f2071f4cb389eb5cd861a48ba6381 /icmp.c
parent01e5611ec3912f02fb683305db8913f8eca15fee (diff)
downloadpasst-ba74b1fea1ef661dc8cce1d32863c9784d2747a6.tar
passt-ba74b1fea1ef661dc8cce1d32863c9784d2747a6.tar.gz
passt-ba74b1fea1ef661dc8cce1d32863c9784d2747a6.tar.bz2
passt-ba74b1fea1ef661dc8cce1d32863c9784d2747a6.tar.lz
passt-ba74b1fea1ef661dc8cce1d32863c9784d2747a6.tar.xz
passt-ba74b1fea1ef661dc8cce1d32863c9784d2747a6.tar.zst
passt-ba74b1fea1ef661dc8cce1d32863c9784d2747a6.zip
doc: Extend zero-recv test with methods using msghdr
This test program verifies that we can receive and discard datagrams by using recv() with a NULL buffer and zero-length. Extend it to verify it also works using recvmsg() and either an iov with a zero-length NULL buffer or an iov that itself is NULL and zero-length. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> [sbrivio: Fixed printf() message in main of recv-zero.c] Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'icmp.c')
0 files changed, 0 insertions, 0 deletions