summaryrefslogtreecommitdiffstats
path: root/regress/sys/kern/sosplice/udp/args-max-multi.pl
blob: 602bceec29a8a2d1923701e9e2d0386a1f578f68 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# test maximum data length with maximum reached and 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,
	big => 0,
    },
    len => 3,
    lengths => "1 2",
    md5 => "52f58714e430f1fc84346961c240054b",
);