diff options
author | andre <andre@FreeBSD.org> | 2005-08-29 19:45:39 +0000 |
---|---|---|
committer | andre <andre@FreeBSD.org> | 2005-08-29 19:45:39 +0000 |
commit | 71f036e379e29d52810f39a7ae320ea932e39f32 (patch) | |
tree | cefd183af10a389ed774ae9535fdc5afca9afd29 /lib/libc | |
parent | 3c8a222751be83a28bbd85664bdaa68c0688c475 (diff) | |
download | FreeBSD-src-71f036e379e29d52810f39a7ae320ea932e39f32.zip FreeBSD-src-71f036e379e29d52810f39a7ae320ea932e39f32.tar.gz |
Add m_demote(struct mbuf *m, int all) to clean up mbuf (chain) from
any tags and packet headers. If "all" is set then the first mbuf
in the chain will be cleaned too.
This function is used before an mbuf, that arrived as packet with
m->flags & M_PKTHDR, is appended to an mbuf chain using m->m_next
(not m->m_nextpkt).
Reviewed by: glebius
Diffstat (limited to 'lib/libc')
0 files changed, 0 insertions, 0 deletions