diff options
Diffstat (limited to 'regress/sys/kern/sosplice/tcp/args-oob-max.pl')
-rw-r--r-- | regress/sys/kern/sosplice/tcp/args-oob-max.pl | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/regress/sys/kern/sosplice/tcp/args-oob-max.pl b/regress/sys/kern/sosplice/tcp/args-oob-max.pl new file mode 100644 index 00000000000..a46786338ba --- /dev/null +++ b/regress/sys/kern/sosplice/tcp/args-oob-max.pl @@ -0,0 +1,21 @@ +# test out-of-band data with maximum data length + +use strict; +use warnings; + +our %args = ( + client => { + func => sub { errignore(@_); write_oob(@_); }, + nocheck => 1, + }, + relay => { + max => 61, + nocheck => 1, + }, + server => { + func => \&read_oob, + }, + len => 61, + md5 => "e4282daf8d2ca21cc8b70b1314713314", + noecho => 1, +); |