325b5312a47dde75ce63e1bec90de87621c8ee97
[cascardo/linux.git] / net / netfilter / ipset / Kconfig
1 menuconfig IP_SET
2         tristate "IP set support"
3         depends on INET && NETFILTER
4         help
5           This option adds IP set support to the kernel.
6           In order to define and use the sets, you need the userspace utility
7           ipset(8). You can use the sets in netfilter via the "set" match
8           and "SET" target.
9
10           To compile it as a module, choose M here.  If unsure, say N.
11
12 if IP_SET
13
14 config IP_SET_MAX
15         int "Maximum number of IP sets"
16         default 256
17         range 2 65534
18         depends on IP_SET
19         help
20           You can define here default value of the maximum number 
21           of IP sets for the kernel.
22
23           The value can be overriden by the 'max_sets' module
24           parameter of the 'ip_set' module.
25
26 config IP_SET_BITMAP_IP
27         tristate "bitmap:ip set support"
28         depends on IP_SET
29         help
30           This option adds the bitmap:ip set type support, by which one
31           can store IPv4 addresses (or network addresse) from a range.
32
33           To compile it as a module, choose M here.  If unsure, say N.
34
35 config IP_SET_BITMAP_IPMAC
36         tristate "bitmap:ip,mac set support"
37         depends on IP_SET
38         help
39           This option adds the bitmap:ip,mac set type support, by which one
40           can store IPv4 address and (source) MAC address pairs from a range.
41
42           To compile it as a module, choose M here.  If unsure, say N.
43
44 config IP_SET_BITMAP_PORT
45         tristate "bitmap:port set support"
46         depends on IP_SET
47         help
48           This option adds the bitmap:port set type support, by which one
49           can store TCP/UDP port numbers from a range.
50
51           To compile it as a module, choose M here.  If unsure, say N.
52
53 config IP_SET_HASH_IP
54         tristate "hash:ip set support"
55         depends on IP_SET
56         help
57           This option adds the hash:ip set type support, by which one
58           can store arbitrary IPv4 or IPv6 addresses (or network addresses)
59           in a set.
60
61           To compile it as a module, choose M here.  If unsure, say N.
62
63 config IP_SET_HASH_IPPORT
64         tristate "hash:ip,port set support"
65         depends on IP_SET
66         help
67           This option adds the hash:ip,port set type support, by which one
68           can store IPv4/IPv6 address and protocol/port pairs.
69
70           To compile it as a module, choose M here.  If unsure, say N.
71
72 endif # IP_SET