summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/tcp/args-oobinline-reverse.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/sosplice/tcp/args-oobinline-reverse.pl')
-rw-r--r--regress/sys/kern/sosplice/tcp/args-oobinline-reverse.pl25
1 files changed, 25 insertions, 0 deletions
diff --git a/regress/sys/kern/sosplice/tcp/args-oobinline-reverse.pl b/regress/sys/kern/sosplice/tcp/args-oobinline-reverse.pl
new file mode 100644
index 00000000000..0f21d6473c8
--- /dev/null
+++ b/regress/sys/kern/sosplice/tcp/args-oobinline-reverse.pl
@@ -0,0 +1,25 @@
+# test inline out-of-band data when reverse sending
+
+use strict;
+use warnings;
+
+our %args = (
+ client => {
+ func => \&read_oob,
+ oobinline => 1,
+ },
+ relay => {
+ func => sub { ioflip(@_); relay(@_); },
+ oobinline => 1,
+ },
+ server => {
+ func => \&write_oob,
+ },
+ len => 251,
+ md5 => [
+ "24b69642243fee9834bceee5b47078ae",
+ "5aa8135a1340e173a7d7a5fa048a999e",
+ "e5be513d9d2b877b6841bbb4790c67dc",
+ "5cf8c3fd08f541ae07361a11f17213fe",
+ ],
+);