summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorandre <andre@FreeBSD.org>2005-08-29 19:58:56 +0000
committerandre <andre@FreeBSD.org>2005-08-29 19:58:56 +0000
commit139f31aa37b3379cf4dac2aa734345c03a305123 (patch)
tree9d56a129a9c3cbb0284b960719d57c85e96c1425 /lib/libc
parent71f036e379e29d52810f39a7ae320ea932e39f32 (diff)
downloadFreeBSD-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
OpenPOWER on IntegriCloud