diff options
author | sam <sam@FreeBSD.org> | 2006-03-15 21:11:11 +0000 |
---|---|---|
committer | sam <sam@FreeBSD.org> | 2006-03-15 21:11:11 +0000 |
commit | bf44b2399142c5c19044b8ec077d24f575b4837d (patch) | |
tree | 37e73e0739c8cc965722137151fcc6b048436675 /sys/sys/mbuf.h | |
parent | 1be90b4811c008a8b0eaf81db44a8b3d0ecf04b9 (diff) | |
download | FreeBSD-src-bf44b2399142c5c19044b8ec077d24f575b4837d.zip FreeBSD-src-bf44b2399142c5c19044b8ec077d24f575b4837d.tar.gz |
promote fast ipsec's m_clone routine for public use; it is renamed
m_unshare and the caller can now control how mbufs are allocated
Reviewed by: andre, luigi, mlaier
MFC after: 1 week
Diffstat (limited to 'sys/sys/mbuf.h')
-rw-r--r-- | sys/sys/mbuf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/mbuf.h b/sys/sys/mbuf.h index 4fb1ae8..fee3197 100644 --- a/sys/sys/mbuf.h +++ b/sys/sys/mbuf.h @@ -677,6 +677,7 @@ struct mbuf *m_pullup(struct mbuf *, int); int m_sanity(struct mbuf *, int); struct mbuf *m_split(struct mbuf *, int, int); struct mbuf *m_uiotombuf(struct uio *, int, int, int); +struct mbuf *m_unshare(struct mbuf *, int how); /*- * Network packets may have annotations attached by affixing a list |