diff options
author | Bret Lambert <blambert@cvs.openbsd.org> | 2011-07-29 12:59:29 +0000 |
---|---|---|
committer | Bret Lambert <blambert@cvs.openbsd.org> | 2011-07-29 12:59:29 +0000 |
commit | 0e64fec89d7f9a00e1d1436f8d984c209e67a41d (patch) | |
tree | d07ff10742d50dc333fa86eda9ba1c302e717bfb /share | |
parent | a734373c14dbc894b570a9287f78efcc8a59897d (diff) |
Remove references to a function that no longer exists, reminded by claudio@
ok jmc@, claudio@
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/Makefile | 4 | ||||
-rw-r--r-- | share/man/man9/mbuf.9 | 31 |
2 files changed, 6 insertions, 29 deletions
diff --git a/share/man/man9/Makefile b/share/man/man9/Makefile index 6d6b2e0fc97..489772acfd4 100644 --- a/share/man/man9/Makefile +++ b/share/man/man9/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.167 2011/05/22 03:46:11 deraadt Exp $ +# $OpenBSD: Makefile,v 1.168 2011/07/29 12:59:28 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. @@ -201,7 +201,7 @@ MLINKS+=malloc.9 free.9 MLINKS+=mbuf.9 m_copym2.9 mbuf.9 m_copym.9 mbuf.9 m_free.9 mbuf.9 MFREE.9 \ mbuf.9 m_get.9 mbuf.9 MGET.9 mbuf.9 m_getclr.9 mbuf.9 m_gethdr.9 \ mbuf.9 MGETHDR.9 mbuf.9 m_prepend.9 mbuf.9 M_PREPEND.9 \ - mbuf.9 m_pulldown.9 mbuf.9 m_pullup.9 mbuf.9 m_pullup2.9 \ + mbuf.9 m_pulldown.9 mbuf.9 m_pullup.9 \ mbuf.9 m_split.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 \ diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index 1a7b363afe3..1d47f9116c8 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -1,4 +1,4 @@ -.\" $OpenBSD: mbuf.9,v 1.53 2011/04/05 11:59:11 blambert Exp $ +.\" $OpenBSD: mbuf.9,v 1.54 2011/07/29 12:59:28 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: April 5 2011 $ +.Dd $Mdocdate: July 29 2011 $ .Dt MBUF 9 .Os .Sh NAME @@ -56,8 +56,6 @@ .Ft struct mbuf * .Fn m_pullup "struct mbuf *n" "int len" .Ft struct mbuf * -.Fn m_pullup2 "struct mbuf *n" "int len" -.Ft struct mbuf * .Fn m_split "struct mbuf *m0" "int len0" "int wait" .Ft struct mbuf * .Fn m_inject "struct mbuf *m0" "int len0" "int siz" "int wait" @@ -470,7 +468,7 @@ and ending at .Fa off+len will be put in a continuous memory region. .Fa len -must be smaller or equal than MCLBYTES. +must be smaller than or equal to MCLBYTES. The pointer returned points to an mbuf in the chain and the new offset for data in this mbuf is .Fa *offp . @@ -482,33 +480,12 @@ Ensure that the data in the mbuf chain starting at the beginning of the chain and ending at .Fa len will be put in continuous memory region. -To avoid being called again, -.Fn m_pullup -will attempt to copy -.Fa "max_protohdr - len" -bytes into the first mbuf. The .Fa len -argument must be smaller or equal than MHLEN. +argument must be smaller than or equal to MCLBYTES. If this function fails, .Fa n is freed. -.It Fn m_pullup2 "struct mbuf *n" "int len" -Just like -.Fn m_pullup , -ensure that the data starting at the beginning of the mbuf chain and -ending at -.Fa len -will be put in continuous memory region. -The -.Fa len -argument can be up to MCLBYTES. -.Fn m_pullup2 -will simply call -.Fn m_pullup -if -.Fa len -is smaller or equal to MHLEN. .It Fn m_split "struct mbuf *m0" "int len0" "int wait" Split an mbuf chain in two pieces, returning a pointer to the tail (which is made of the previous mbuf chain except the first |