summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/tcp/args-oobinline-max-sleep-relay.pl
blob: a468c4be9404e8e8e1cc7f0c964bf0b29707bfff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# test inline out-of-band data with maximum data length delay before relay

use strict;
use warnings;

our %args = (
    client => {
	func => sub { errignore(@_); write_oob(@_); },
	nocheck => 1,
    },
    relay => {
	func => sub { sleep 3; relay(@_); },
	oobinline => 1,
	max => 61,
	nocheck => 1,
    },
    server => {
	func => \&read_oob,
    },
    len => 61,
    # the oob data is converted to non-oob
    md5 => "4b5efc5f86fa5fc873c82103ceece85d",
);