diff options
author | andre <andre@FreeBSD.org> | 2005-08-29 19:58:56 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-08-29 19:58:56 +0000 |
commit | 139f31aa37b3379cf4dac2aa734345c03a305123 (patch) | |
tree | 9d56a129a9c3cbb0284b960719d57c85e96c1425 /lib/libc | |
parent | 71f036e379e29d52810f39a7ae320ea932e39f32 (diff) | |
download | FreeBSD-src-139f31aa37b3379cf4dac2aa734345c03a305123.zip FreeBSD-src-139f31aa37b3379cf4dac2aa734345c03a305123.tar.gz |
Add m_sanity(struct mbuf *m, int sanitize) to do some heavy sanity
checking on mbuf's and mbuf chains. Set sanitize to 1 to garble
illegal things and have them blow up later when used/accessed.
m_sanity()'s main purpose is for KASSERT()'s and debugging of non-
kosher mbuf manipulation (of which we have a number of).
Reviewed by: glebius
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions