Re: [PATCH net-next v3 11/11] net: Add samples for network I/O and splicing

From: Jakub Kicinski
Date: Sat Jun 03 2023 - 02:38:56 EST


On Fri, 2 Jun 2023 16:07:52 +0100 David Howells wrote:
> Examples include:
>
> ./splice-out -w0x400 /foo/16K 4K | ./alg-encrypt -s -
> ./splice-out -w0x400 /foo/1M | ./unix-send -s - /tmp/foo
> ./splice-out -w0x400 /foo/16K 16K -w1 | ./tls-send -s6 -n16K - servbox
> ./tcp-send /bin/ls 192.168.6.1
> ./udp-send -4 -p5555 /foo/4K localhost

Can it be made into a selftests? Move the code and wrap the above in a
bash script?