summaryrefslogtreecommitdiffstats
path: root/usr.bin/netstat/mbuf.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1997-08-17 09:12:43 +0000
committerpeter <peter@FreeBSD.org>1997-08-17 09:12:43 +0000
commitb0303ecc1d93704d3b1248340cc6fdce8f438565 (patch)
tree89f2490f641cb7d34f87d66a4a470b50c97c4834 /usr.bin/netstat/mbuf.c
parent44f5d97ccacd86d70a50f4c38643866d577f1574 (diff)
downloadFreeBSD-src-b0303ecc1d93704d3b1248340cc6fdce8f438565.zip
FreeBSD-src-b0303ecc1d93704d3b1248340cc6fdce8f438565.tar.gz
Bandaid to make this compile.. These old mbuf types should probably be
ripped out.
Diffstat (limited to 'usr.bin/netstat/mbuf.c')
-rw-r--r--usr.bin/netstat/mbuf.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/usr.bin/netstat/mbuf.c b/usr.bin/netstat/mbuf.c
index b80b5f5..c8dc88c 100644
--- a/usr.bin/netstat/mbuf.c
+++ b/usr.bin/netstat/mbuf.c
@@ -36,7 +36,7 @@
static char sccsid[] = "@(#)mbuf.c 8.1 (Berkeley) 6/6/93";
#endif
static const char rcsid[] =
- "$Id$";
+ "$Id: mbuf.c,v 1.7 1997/07/29 06:51:40 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
@@ -62,16 +62,28 @@ static struct mbtypes {
{ MT_OOBDATA, "oob data" },
{ MT_CONTROL, "ancillary data" },
{ MT_HEADER, "packet headers" },
+#ifdef MT_SOCKET
{ MT_SOCKET, "socket structures" }, /* XXX */
+#endif
+#ifdef MT_PCB
{ MT_PCB, "protocol control blocks" }, /* XXX */
+#endif
{ MT_RTABLE, "routing table entries" }, /* XXX */
+#ifdef MT_HTABLE
{ MT_HTABLE, "IMP host table entries" }, /* XXX */
+#endif
+#ifdef MT_ATABLE
{ MT_ATABLE, "address resolution tables" },
+#endif
{ MT_FTABLE, "fragment reassembly queue headers" }, /* XXX */
{ MT_SONAME, "socket names and addresses" },
{ MT_SOOPTS, "socket options" },
+#ifdef MT_RIGHTS
{ MT_RIGHTS, "access rights" },
+#endif
+#ifdef MT_IFADDR
{ MT_IFADDR, "interface addresses" }, /* XXX */
+#endif
{ 0, 0 }
};
OpenPOWER on IntegriCloud