summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/udp/args-max-multi.pl
blob: a1ea7d14a3b58a5bca1d8ef817e59994b42058f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# test maximum data length with maximum reached with multiple packets in rcvbuf

use strict;
use warnings;

our %args = (
    client => {
	lengths => [ 1, 2, 3 ],
	nocheck => 1,
    },
    relay => {
	funcs => sub { sleep 3; relay(@_); },
	max => 4,
    },
    len => 3,
    lengths => "1 2",
    md5 => "52f58714e430f1fc84346961c240054b",
);