diff options
author | melifaro <melifaro@FreeBSD.org> | 2012-03-25 20:37:59 +0000 |
---|---|---|
committer | melifaro <melifaro@FreeBSD.org> | 2012-03-25 20:37:59 +0000 |
commit | 97c3a90503d7ac77bc3c91a3910e5112ea4f1bb2 (patch) | |
tree | cc5736172eadfb11a89781cc57af9cf6e64f57d2 /sys/netinet/ip_fw.h | |
parent | 96b099d4c47ca4e52fbc294eeb3f76bbff60ef05 (diff) | |
download | FreeBSD-src-97c3a90503d7ac77bc3c91a3910e5112ea4f1bb2.zip FreeBSD-src-97c3a90503d7ac77bc3c91a3910e5112ea4f1bb2.tar.gz |
- Permit number of ipfw tables to be changed in runtime.
net.inet.ip.fw.tables_max is now read-write.
- Bump IPFW_TABLES_MAX to 65535
Default number of tables is still 128
- Remove IPFW_TABLES_MAX from ipfw(8) code.
Sponsored by Yandex LLC
Approved by: kib(mentor)
MFC after: 2 weeks
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r-- | sys/netinet/ip_fw.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h index 9dba29b..9693523 100644 --- a/sys/netinet/ip_fw.h +++ b/sys/netinet/ip_fw.h @@ -39,7 +39,8 @@ /* * Default number of ipfw tables. */ -#define IPFW_TABLES_MAX 128 +#define IPFW_TABLES_MAX 65535 +#define IPFW_TABLES_DEFAULT 128 /* * Most commands (queue, pipe, tag, untag, limit...) can have a 16-bit |