summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ip_fw.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-10-12 20:26:33 +0000
committerphk <phk@FreeBSD.org>1997-10-12 20:26:33 +0000
commit36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5 (patch)
treee21c1d8330cbd5fba838afec549f8e4f0f66e451 /sys/netinet/ip_fw.c
parent8ae70d2227594ff4a283453ca3cc3031eb78c14b (diff)
downloadFreeBSD-src-36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5.zip
FreeBSD-src-36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5.tar.gz
Last major round (Unless Bruce thinks of somthing :-) of malloc changes.
Distribute all but the most fundamental malloc types. This time I also remembered the trick to making things static: Put "static" in front of them. A couple of finer points by: bde
Diffstat (limited to 'sys/netinet/ip_fw.c')
-rw-r--r--sys/netinet/ip_fw.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/netinet/ip_fw.c b/sys/netinet/ip_fw.c
index 6f76bde..2151820 100644
--- a/sys/netinet/ip_fw.c
+++ b/sys/netinet/ip_fw.c
@@ -12,7 +12,7 @@
*
* This software is provided ``AS IS'' without any warranties of any kind.
*
- * $Id: ip_fw.c,v 1.62 1997/08/23 14:28:22 alex Exp $
+ * $Id: ip_fw.c,v 1.63 1997/09/10 03:07:14 peter Exp $
*/
/*
@@ -57,6 +57,8 @@ static int fw_verbose_limit = 0;
LIST_HEAD (ip_fw_head, ip_fw_chain) ip_fw_chain;
+static MALLOC_DEFINE(M_IPFW, "IpFw/IpAcct", "IpFw/IpAcct chain's");
+
#ifdef SYSCTL_NODE
SYSCTL_NODE(_net_inet_ip, OID_AUTO, fw, CTLFLAG_RW, 0, "Firewall");
SYSCTL_INT(_net_inet_ip_fw, OID_AUTO, debug, CTLFLAG_RW, &fw_debug, 0, "");
OpenPOWER on IntegriCloud