summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.h
diff options
context:
space:
mode:
authorglebius <glebius@FreeBSD.org>2011-04-19 15:06:33 +0000
committerglebius <glebius@FreeBSD.org>2011-04-19 15:06:33 +0000
commit94dea9059f0ff01c8960a0b84dfc86d2f92fcabe (patch)
tree9ba7579a5c9d31480cdebfdda32b6e421b329bee /sys/netinet/ip_fw.h
parenta0f46fc78dad39f5fb5ad8351f146353de9e960b (diff)
downloadFreeBSD-src-94dea9059f0ff01c8960a0b84dfc86d2f92fcabe.zip
FreeBSD-src-94dea9059f0ff01c8960a0b84dfc86d2f92fcabe.tar.gz
- Rewrite functions that copyin/out NAT configuration, so that they
calculate required memory size dynamically. - Fix races on chain re-lock. - Introduce new field to ip_fw_chain - generation count. Now utilized only in the NAT configuration, but can be utilized wider in ipfw. - Get rid of NAT_BUF_LEN in ip_fw.h PR: kern/143653
Diffstat (limited to 'sys/netinet/ip_fw.h')
-rw-r--r--sys/netinet/ip_fw.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet/ip_fw.h b/sys/netinet/ip_fw.h
index fdcc5fd..06e107c 100644
--- a/sys/netinet/ip_fw.h
+++ b/sys/netinet/ip_fw.h
@@ -383,8 +383,6 @@ struct cfg_redir {
};
#endif
-#define NAT_BUF_LEN 1024
-
#ifdef IPFW_INTERNAL
/* Nat configuration data struct. */
struct cfg_nat {
OpenPOWER on IntegriCloud