summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1997-10-11 18:31:40 +0000
committerphk <phk@FreeBSD.org>1997-10-11 18:31:40 +0000
commit645e7b2ab6676a2a3a05a59a053929d3b7732b4d (patch)
tree99b56513fb3f54852886a3d0eb7c8b3e1a9f2602 /sys/netinet
parenta14e4dea11b5b83147d62a7cb7dacdec1ea19e15 (diff)
downloadFreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.zip
FreeBSD-src-645e7b2ab6676a2a3a05a59a053929d3b7732b4d.tar.gz
Distribute and statizice a lot of the malloc M_* types.
Substantial input from: bde
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/igmp.c4
-rw-r--r--sys/netinet/in.c4
-rw-r--r--sys/netinet/ip_output.c4
3 files changed, 9 insertions, 3 deletions
diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c
index 41ea050..a370843 100644
--- a/sys/netinet/igmp.c
+++ b/sys/netinet/igmp.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* @(#)igmp.c 8.1 (Berkeley) 7/19/93
- * $Id: igmp.c,v 1.22 1997/09/02 01:19:05 bde Exp $
+ * $Id: igmp.c,v 1.23 1997/09/16 11:43:50 bde Exp $
*/
/*
@@ -69,6 +69,8 @@
#include <netinet/igmp.h>
#include <netinet/igmp_var.h>
+MALLOC_DEFINE(M_MRTABLE, "mrt", "multicast routing tables");
+
static struct router_info *
find_rti __P((struct ifnet *ifp));
diff --git a/sys/netinet/in.c b/sys/netinet/in.c
index 8ec66ff..f06361a 100644
--- a/sys/netinet/in.c
+++ b/sys/netinet/in.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)in.c 8.4 (Berkeley) 1/9/95
- * $Id: in.c,v 1.34 1997/04/27 20:01:03 wollman Exp $
+ * $Id: in.c,v 1.35 1997/08/02 14:32:49 bde Exp $
*/
#include <sys/param.h>
@@ -51,6 +51,8 @@
#include <netinet/igmp_var.h>
+MALLOC_DEFINE(M_IPMADDR, "in_multi", "internet multicast address");
+
static void in_socktrim __P((struct sockaddr_in *));
static int in_ifinit __P((struct ifnet *,
struct in_ifaddr *, struct sockaddr_in *, int));
diff --git a/sys/netinet/ip_output.c b/sys/netinet/ip_output.c
index 01d9ad3..59276455 100644
--- a/sys/netinet/ip_output.c
+++ b/sys/netinet/ip_output.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)ip_output.c 8.3 (Berkeley) 1/21/94
- * $Id: ip_output.c,v 1.57 1997/06/02 05:02:37 julian Exp $
+ * $Id: ip_output.c,v 1.58 1997/08/02 14:32:53 bde Exp $
*/
#define _IP_VHL
@@ -59,6 +59,8 @@
#endif
#include <machine/in_cksum.h>
+MALLOC_DEFINE(M_IPMOPTS, "ip_moptions", "internet multicast options");
+
#if !defined(COMPAT_IPFW) || COMPAT_IPFW == 1
#undef COMPAT_IPFW
#define COMPAT_IPFW 1
OpenPOWER on IntegriCloud