Home | History | Annotate | Download | only in netstat

Lines Matching defs:mbstat

61 struct	mbstat mbstat;
79 const int nmbtypes = sizeof(mbstat.m_mtypes) / sizeof(short);
103 "%s: unexpected change to mbstat; check source\n",
109 size_t mbstatlen = sizeof(mbstat);
112 &mbstat, &mbstatlen, NULL, 0) < 0) {
113 warn("mbstat: sysctl failed");
120 fprintf(stderr, "%s: mbstat: symbol not in namelist\n",
135 if (kread(mbaddr, (char *)&mbstat, sizeof (mbstat)))
156 totmbufs += mbstat.m_mtypes[mp->mt_type];
159 if (mbstat.m_mtypes[mp->mt_type]) {
162 mbstat.m_mtypes[mp->mt_type], mp->mt_name);
166 if (!seen[i] && mbstat.m_mtypes[i]) {
168 mbstat.m_mtypes[i], i);
195 printf("%lu calls to protocol drain routines\n", mbstat.m_drain);