diff options
| author | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2015-04-27 08:29:39 +0000 |
|---|---|---|
| committer | Alexander V. Chernikov <melifaro@FreeBSD.org> | 2015-04-27 08:29:39 +0000 |
| commit | 74b22066b022025b0c871ace2b169746baa6667f (patch) | |
| tree | cfdbaa861f0ec5746424b572fcd83de5c518d92c /sys/netinet/ip_fw.h | |
| parent | 3cedbec3ee08cf5253ba39e795c9d05a9e0ca7e9 (diff) | |
Notes
Diffstat (limited to 'sys/netinet/ip_fw.h')
| -rw-r--r-- | sys/netinet/ip_fw.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h index 9c53793126f3..d1764bbf5f1a 100644 --- a/sys/netinet/ip_fw.h +++ b/sys/netinet/ip_fw.h @@ -40,10 +40,12 @@ #define IPFW_MAX_SETS 32 /* Number of sets supported by ipfw*/ /* - * Default number of ipfw tables. + * Compat values for old clients */ +#ifndef _KERNEL #define IPFW_TABLES_MAX 65535 #define IPFW_TABLES_DEFAULT 128 +#endif /* * Most commands (queue, pipe, tag, untag, limit...) can have a 16-bit @@ -963,7 +965,6 @@ typedef struct _ipfw_ta_info { uint64_t spare1; } ipfw_ta_info; -#define IPFW_OBJTYPE_TABLE 1 typedef struct _ipfw_obj_header { ip_fw3_opheader opheader; /* IP_FW3 opcode */ uint32_t spare; |
