version 1.16, 2002/06/30 20:27:16 |
version 1.17, 2003/02/01 01:51:31 |
|
|
#include <limits.h> |
#include <limits.h> |
#include <stdio.h> |
#include <stdio.h> |
#include <string.h> |
#include <string.h> |
|
#include <unistd.h> |
#include "netstat.h" |
#include "netstat.h" |
|
|
#define YES 1 |
#define YES 1 |
|
|
* Print mbuf statistics. |
* Print mbuf statistics. |
*/ |
*/ |
void |
void |
mbpr(mbaddr, mbpooladdr, mclpooladdr) |
mbpr(u_long mbaddr, u_long mbpooladdr, u_long mclpooladdr) |
u_long mbaddr; |
|
u_long mbpooladdr, mclpooladdr; |
|
{ |
{ |
int totmem, totused, totmbufs, totpct; |
int totmem, totused, totmbufs, totpct; |
int i, mib[4], npools, flag = 0; |
int i, mib[4], npools, flag = 0; |