summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorBret Lambert <blambert@cvs.openbsd.org>2009-03-02 23:37:09 +0000
committerBret Lambert <blambert@cvs.openbsd.org>2009-03-02 23:37:09 +0000
commit9d86437f7200f12792429a76e64904af3cb3ad53 (patch)
treeeea2be17bcb823928a194d1a15e1ae203ed871ed /share
parent44b45959b1b77c9051f78ff86e9a76438156aaaf (diff)
Remove MEXTMALLOC and MCHTYPE from mbuf.9, as they have not existed
for some time. ok jmc@
Diffstat (limited to 'share')
-rw-r--r--share/man/man9/Makefile6
-rw-r--r--share/man/man9/mbuf.922
2 files changed, 5 insertions, 23 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile
index bbc1af62bf5..3ffe593e56d 100644
--- a/share/man/man9/Makefile
+++ b/share/man/man9/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.149 2009/01/29 16:47:25 claudio Exp $
+# $OpenBSD: Makefile,v 1.150 2009/03/02 23:37:08 blambert Exp $
# $NetBSD: Makefile,v 1.4 1996/01/09 03:23:01 thorpej Exp $
# Makefile for section 9 (kernel function and variable) manual pages.
@@ -203,10 +203,10 @@ MLINKS+=mbuf.9 m_copym2.9 mbuf.9 m_copym.9 mbuf.9 m_free.9 mbuf.9 MFREE.9 \
mbuf.9 m_inject.9 mbuf.9 m_getptr.9 mbuf.9 m_adj.9 mbuf.9 m_copyback.9 \
mbuf.9 m_freem.9 mbuf.9 m_reclaim.9 mbuf.9 m_copydata.9 \
mbuf.9 m_cat.9 mbuf.9 m_devget.9 mbuf.9 m_zero.9 mbuf.9 m_apply.9 \
- mbuf.9 MEXTALLOC.9 mbuf.9 MCLGET.9 mbuf.9 MCLGETI.9 \
+ mbuf.9 MCLGET.9 mbuf.9 MCLGETI.9 \
mbuf.9 MEXTADD.9 mbuf.9 M_ALIGN.9 mbuf.9 MH_ALIGN.9 \
mbuf.9 M_READONLY.9 mbuf.9 M_LEADINGSPACE.9 \
- mbuf.9 M_TRAILINGSPACE.9 mbuf.9 MCHTYPE.9 mbuf.9 mtod.9
+ mbuf.9 M_TRAILINGSPACE.9 mbuf.9 mtod.9
MLINKS+=mbuf_tags.9 m_tag_get.9 mbuf_tags.9 m_tag_find.9 \
mbuf_tags.9 m_tag_prepend.9 mbuf_tags.9 m_tag_delete.9 \
mbuf_tags.9 m_tag_copy.9 mbuf_tags.9 m_tag_delete_chain.9 \
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index c24e975a97d..8b24883cd1f 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbuf.9,v 1.42 2009/01/28 23:08:58 claudio Exp $
+.\" $OpenBSD: mbuf.9,v 1.43 2009/03/02 23:37:08 blambert Exp $
.\"
.\" Copyright (c) 2001 Jean-Jacques Bernard-Gundol <jjbg@openbsd.org>
.\" All rights reserved.
@@ -25,7 +25,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 28 2009 $
+.Dd $Mdocdate: March 2 2009 $
.Dt MBUF 9
.Os
.Sh NAME
@@ -83,7 +83,6 @@
.Ft int
.Fn m_apply "struct mbuf *m" "int off" "int len" \
"int (*func)(caddr_t, caddr_t, unsigned int)" "caddr_t fstate"
-.Fn MEXTMALLOC "struct mbuf *m" "int size" "int how"
.Fn MCLGET "struct mbuf *m" "int how"
.Fn MCLGETI "struct mbuf *m" "int how" "struct ifnet *ifp" "int len"
.Fn MEXTADD "struct mbuf *m" "caddr_t buf" "u_int size" "int type" \
@@ -93,7 +92,6 @@
.Fn M_READONLY "struct mbuf *m"
.Fn M_LEADINGSPACE "struct mbuf *m"
.Fn M_TRAILINGSPACE "struct mbuf *m"
-.Fn MCHTYPE "struct mbuf *m" "int type"
.Pp
.Bd -literal
#define MLEN (MSIZE - sizeof(struct m_hdr))
@@ -637,16 +635,6 @@ See
.Fn m_get
for a description of
.Fa how .
-.It Fn MEXTMALLOC "struct mbuf *m" "int size" "int how"
-Allocate external storage of size
-.Fa size
-and add it to the mbuf pointed to by
-.Fa m .
-On success, the flag M_EXT is set in the mbuf.
-See
-.Fn m_get
-for a description of
-.Fa how .
.It Fn MEXTADD "struct mbuf *m" "caddr_t buf" "u_int size" "int type" \
"void (*free)(caddr_t, u_int, void *)" "void *arg"
Add pre-allocated storage to the mbuf pointed to by
@@ -684,12 +672,6 @@ in the mbuf pointed to by
.It Fn M_TRAILINGSPACE "struct mbuf *m"
Compute the amount of space available after the end of data in the
mbuf pointed to by
-.Fa m .
-.It Fn MCHTYPE "struct mbuf *m" "int type"
-Change the type of the mbuf pointed to by
-.Fa m
-to
-.Fa type .
.El
.Sh CODE REFERENCES
The mbuf management functions are implemented in the files