summaryrefslogtreecommitdiff
path: root/regress/sys/kern/splice/args-oobinline-reverse-nonblock.pl
blob: 30711b072c29663182da883c1300eace55573839 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# test inline out-of-band data when reverse sending with non-blocking relay

use strict;
use warnings;

our %args = (
    client => {
	func => \&read_oob,
	oobinline => 1,
    },
    relay => {
	func => sub { ioflip(@_); relay(@_); },
	oobinline => 1,
	nonblocking => 1,
    },
    server => {
	func => \&write_oob,
    },
    len => 251,
    md5 => [
	"24b69642243fee9834bceee5b47078ae",
	"5aa8135a1340e173a7d7a5fa048a999e",
    ],
);

1;