mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 16:29:59 +00:00
![Jozsef Kadlecsik](/assets/img/avatar_default.png)
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>
25 lines
802 B
Makefile
25 lines
802 B
Makefile
#
|
|
# Makefile for the ipset modules
|
|
#
|
|
|
|
ip_set-y := ip_set_core.o ip_set_getport.o pfxlen.o
|
|
|
|
# ipset core
|
|
obj-$(CONFIG_IP_SET) += ip_set.o
|
|
|
|
# bitmap types
|
|
obj-$(CONFIG_IP_SET_BITMAP_IP) += ip_set_bitmap_ip.o
|
|
obj-$(CONFIG_IP_SET_BITMAP_IPMAC) += ip_set_bitmap_ipmac.o
|
|
obj-$(CONFIG_IP_SET_BITMAP_PORT) += ip_set_bitmap_port.o
|
|
|
|
# hash types
|
|
obj-$(CONFIG_IP_SET_HASH_IP) += ip_set_hash_ip.o
|
|
obj-$(CONFIG_IP_SET_HASH_IPPORT) += ip_set_hash_ipport.o
|
|
obj-$(CONFIG_IP_SET_HASH_IPPORTIP) += ip_set_hash_ipportip.o
|
|
obj-$(CONFIG_IP_SET_HASH_IPPORTNET) += ip_set_hash_ipportnet.o
|
|
obj-$(CONFIG_IP_SET_HASH_NET) += ip_set_hash_net.o
|
|
obj-$(CONFIG_IP_SET_HASH_NETPORT) += ip_set_hash_netport.o
|
|
obj-$(CONFIG_IP_SET_HASH_NETIFACE) += ip_set_hash_netiface.o
|
|
|
|
# list types
|
|
obj-$(CONFIG_IP_SET_LIST_SET) += ip_set_list_set.o
|