summaryrefslogtreecommitdiffstats
path: root/tests/py/inet/map.t
diff options
context:
space:
mode:
Diffstat (limited to 'tests/py/inet/map.t')
-rw-r--r--tests/py/inet/map.t8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/py/inet/map.t b/tests/py/inet/map.t
new file mode 100644
index 00000000..f48afcd2
--- /dev/null
+++ b/tests/py/inet/map.t
@@ -0,0 +1,8 @@
+:input;type filter hook input priority 0
+:ingress;type filter hook ingress device lo priority 0
+
+*ip;test-ip4;input
+*inet;test-inet;input
+*netdev;test-netdev;ingress
+
+mark set ip saddr map { 10.2.3.2 : 0x0000002a, 10.2.3.1 : 0x00000017};ok;mark set ip saddr map { 10.2.3.1 : 0x00000017, 10.2.3.2 : 0x0000002a}