]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tests/netinet: add UDP socket I/O tests
authorGleb Smirnoff <glebius@FreeBSD.org>
Sat, 23 Mar 2024 05:44:16 +0000 (22:44 -0700)
committerGleb Smirnoff <glebius@FreeBSD.org>
Sat, 23 Mar 2024 05:44:16 +0000 (22:44 -0700)
commit8d3d9ca8bd3db284f6ae671f1e816ba2822f0988
treecca455306feea9d4bb3805ba9c48e0a0ee808b9c
parentfbbb50f57093307d972a22ef001670dc92dc8f22
tests/netinet: add UDP socket I/O tests

Start a file that would collect tests for I/O functionality of a UDP
socket, targeted on how a socket interacts with userland rather than with
wire side of the protocol.

First version tests that MSG_TRUNC and MSG_PEEK are working correctly.
tests/sys/netinet/Makefile
tests/sys/netinet/udp_io.c [new file with mode: 0644]