path: root/tests/hash:net,iface.t.list2
diff options
authorJozsef Kadlecsik <>2011-05-30 17:48:01 +0200
committerJozsef Kadlecsik <>2011-05-30 21:30:10 +0200
commit418a3a4f4d4e38abd1d691f81f2445590f02ecaf (patch)
treea41ed16b366c854786eea8f3da5c80fa50636dc6 /tests/hash:net,iface.t.list2
parent4e21d6b5ce623f7601a872b94f3b88105356e2d3 (diff)
hash:net,iface type introduced
The hash:net,iface type makes possible to store network address and interface name pairs in a set. It's mostly suitable for egress and ingress filtering. Examples: # ipset create test hash:net,iface # ipset add test,eth0 # ipset add test,eth1
Diffstat (limited to 'tests/hash:net,iface.t.list2')
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/hash:net,iface.t.list2 b/tests/hash:net,iface.t.list2
new file mode 100644
index 0000000..89aa033
--- /dev/null
+++ b/tests/hash:net,iface.t.list2
@@ -0,0 +1,10 @@
+Name: test
+Type: hash:net,iface
+Header: family inet hashsize 1024 maxelem 65536
+Size in memory: 17168
+References: 0