Deleted Added
full compact
mbuf.c (35414) mbuf.c (36080)
1/*
2 * Copyright (c) 1983, 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35#if 0
36static char sccsid[] = "@(#)mbuf.c 8.1 (Berkeley) 6/6/93";
37#endif
38static const char rcsid[] =
1/*
2 * Copyright (c) 1983, 1988, 1993
3 * The Regents of the University of California. All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 22 unchanged lines hidden (view full) ---

31 * SUCH DAMAGE.
32 */
33
34#ifndef lint
35#if 0
36static char sccsid[] = "@(#)mbuf.c 8.1 (Berkeley) 6/6/93";
37#endif
38static const char rcsid[] =
39 "$Id: mbuf.c,v 1.9 1997/11/10 08:03:36 ache Exp $";
39 "$Id: mbuf.c,v 1.10 1998/04/24 04:30:27 dg Exp $";
40#endif /* not lint */
41
42#include <sys/param.h>
43#include <sys/mbuf.h>
44#include <sys/protosw.h>
45#include <sys/socket.h>
46#include <sys/sysctl.h>
47

--- 41 unchanged lines hidden (view full) ---

89
90int nmbtypes = sizeof(mbstat.m_mtypes) / sizeof(short);
91bool seen[256]; /* "have we seen this type yet?" */
92
93/*
94 * Print mbuf statistics.
95 */
96void
40#endif /* not lint */
41
42#include <sys/param.h>
43#include <sys/mbuf.h>
44#include <sys/protosw.h>
45#include <sys/socket.h>
46#include <sys/sysctl.h>
47

--- 41 unchanged lines hidden (view full) ---

89
90int nmbtypes = sizeof(mbstat.m_mtypes) / sizeof(short);
91bool seen[256]; /* "have we seen this type yet?" */
92
93/*
94 * Print mbuf statistics.
95 */
96void
97mbpr(mbaddr)
98 u_long mbaddr;
97mbpr()
99{
100 register int totmem, totfree, totmbufs;
101 register int i;
102 register struct mbtypes *mp;
103 int name[3], nmbclusters, nmbclen;
104 size_t mbstatlen;
105
106 name[0] = CTL_KERN;

--- 51 unchanged lines hidden ---
98{
99 register int totmem, totfree, totmbufs;
100 register int i;
101 register struct mbtypes *mp;
102 int name[3], nmbclusters, nmbclen;
103 size_t mbstatlen;
104
105 name[0] = CTL_KERN;

--- 51 unchanged lines hidden ---