1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00

Export IPFW_TABLES_MAX value for compiled in defaults.

This commit is contained in:
Roman Kurakin 2008-09-21 20:42:42 +00:00
parent 37ddf38e38
commit f7b5554eb7
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=183240

View File

@ -36,6 +36,12 @@
*/
#define IPFW_DEFAULT_RULE 65535
/*
* The number of ipfw tables. The maximum allowed table number is the
* (IPFW_TABLES_MAX - 1).
*/
#define IPFW_TABLES_MAX 128
/*
* The kernel representation of ipfw rules is made of a list of
* 'instructions' (for all practical purposes equivalent to BPF
@ -640,7 +646,6 @@ extern ip_fw_chk_t *ip_fw_chk_ptr;
#ifdef IPFW_INTERNAL
#define IPFW_TABLES_MAX 128
struct ip_fw_chain {
struct ip_fw *rules; /* list of rules */
struct ip_fw *reap; /* list of rules to reap */