diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2024-07-05 20:44:09 +1000 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-07-05 15:26:48 +0200 |
commit | ec2691a12ed4c25b6fe3f542f45d13a5ef52db67 (patch) | |
tree | 87f1a858927fcd69788276e9be2355f5b67f0ba4 /doc/platform-requirements/Makefile | |
parent | 299c407501378134f31b6931645531ad0f700066 (diff) | |
download | passt-ec2691a12ed4c25b6fe3f542f45d13a5ef52db67.tar passt-ec2691a12ed4c25b6fe3f542f45d13a5ef52db67.tar.gz passt-ec2691a12ed4c25b6fe3f542f45d13a5ef52db67.tar.bz2 passt-ec2691a12ed4c25b6fe3f542f45d13a5ef52db67.tar.lz passt-ec2691a12ed4c25b6fe3f542f45d13a5ef52db67.tar.xz passt-ec2691a12ed4c25b6fe3f542f45d13a5ef52db67.tar.zst passt-ec2691a12ed4c25b6fe3f542f45d13a5ef52db67.zip |
doc: Test behaviour of zero length datagram recv()s
Add a test program verifying that we're able to discard datagrams from a
socket without needing a big discard buffer, by using a zero length recv().
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Diffstat (limited to 'doc/platform-requirements/Makefile')
-rw-r--r-- | doc/platform-requirements/Makefile | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/platform-requirements/Makefile b/doc/platform-requirements/Makefile index 6e1d966..82aaac2 100644 --- a/doc/platform-requirements/Makefile +++ b/doc/platform-requirements/Makefile @@ -3,8 +3,8 @@ # Copyright Red Hat # Author: David Gibson <david@gibson.dropbear.id.au> -TARGETS = reuseaddr-priority -SRCS = reuseaddr-priority.c +TARGETS = reuseaddr-priority recv-zero +SRCS = reuseaddr-priority.c recv-zero.c CFLAGS = -Wall all: cppcheck clang-tidy $(TARGETS:%=check-%) @@ -16,7 +16,7 @@ check-%: % cppcheck: cppcheck --std=c11 --error-exitcode=1 --enable=all --force \ - --check-level=exhaustive \ + --check-level=exhaustive --inline-suppr \ --inconclusive --library=posix --quiet \ --suppress=missingIncludeSystem \ $(SRCS) |