summaryrefslogtreecommitdiffstats
path: root/sys/sys/mbuf.h
diff options
context:
space:
mode:
authorsam <sam@FreeBSD.org>2006-03-15 21:11:11 +0000
committersam <sam@FreeBSD.org>2006-03-15 21:11:11 +0000
commitbf44b2399142c5c19044b8ec077d24f575b4837d (patch)
tree37e73e0739c8cc965722137151fcc6b048436675 /sys/sys/mbuf.h
parent1be90b4811c008a8b0eaf81db44a8b3d0ecf04b9 (diff)
downloadFreeBSD-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.h1
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
OpenPOWER on IntegriCloud