summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/socket.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/socket.t')
-rw-r--r--tests/py/inet/socket.t15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/py/inet/socket.t b/tests/py/inet/socket.t
new file mode 100644
index 0000000..05e9ebb
--- /dev/null
+++ b/tests/py/inet/socket.t
@@ -0,0 +1,15 @@
+:sockchain;type filter hook prerouting priority -150
+
+*ip;sockip4;sockchain
+*ip6;sockip6;sockchain
+*inet;sockin;sockchain
+
+socket transparent 0;ok
+socket transparent 1;ok
+socket transparent 2;fail
+
+socket mark 0x00000005;ok
+
+socket wildcard 0;ok
+socket wildcard 1;ok
+socket wildcard 2;fail