summaryrefslogtreecommitdiff
path: root/regress/sys/kern/splice/args-inet6-server.pl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/splice/args-inet6-server.pl')
-rw-r--r--regress/sys/kern/splice/args-inet6-server.pl23
1 files changed, 23 insertions, 0 deletions
diff --git a/regress/sys/kern/splice/args-inet6-server.pl b/regress/sys/kern/splice/args-inet6-server.pl
new file mode 100644
index 00000000000..fa560098f5b
--- /dev/null
+++ b/regress/sys/kern/splice/args-inet6-server.pl
@@ -0,0 +1,23 @@
+# test ipv6 server
+
+use strict;
+use warnings;
+
+our %args = (
+ client => {
+ connectdomain => AF_INET,
+ connectaddr => "127.0.0.1",
+ },
+ relay => {
+ listendomain => AF_INET,
+ listenaddr => "127.0.0.1",
+ connectdomain => AF_INET6,
+ connectaddr => "::1",
+ },
+ server => {
+ listendomain => AF_INET6,
+ listenaddr => "::1",
+ },
+);
+
+1;