-
- Downloads
netfilter: ipset: 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 192.168.0.0/16,eth0 # ipset add test 192.168.0.0/24,eth1 Signed-off-by:Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> Signed-off-by:
Patrick McHardy <kaber@trash.net>
Showing
- include/linux/netfilter/ipset/ip_set.h 5 additions, 0 deletionsinclude/linux/netfilter/ipset/ip_set.h
- include/linux/netfilter/ipset/ip_set_ahash.h 6 additions, 0 deletionsinclude/linux/netfilter/ipset/ip_set_ahash.h
- net/netfilter/ipset/Kconfig 10 additions, 0 deletionsnet/netfilter/ipset/Kconfig
- net/netfilter/ipset/Makefile 1 addition, 0 deletionsnet/netfilter/ipset/Makefile
- net/netfilter/ipset/ip_set_hash_netiface.c 762 additions, 0 deletionsnet/netfilter/ipset/ip_set_hash_netiface.c
Loading
Please register or sign in to comment