summaryrefslogtreecommitdiff
path: root/share/man/man9/mbuf.9
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2012-09-27 16:15:01 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2012-09-27 16:15:01 +0000
commit7f5180ef5dc4fccd1b734f28895d3fb30bf40f8c (patch)
tree6611df49e84b4e1f80059c0ee9d3283a8c350f71 /share/man/man9/mbuf.9
parent377e769f61f5002a44b95a542ff807ea5b9c8a21 (diff)
replace m_zero(9) with M_ZEROIZE; original diff from markus
ok mikeb markus
Diffstat (limited to 'share/man/man9/mbuf.9')
-rw-r--r--share/man/man9/mbuf.912
1 files changed, 5 insertions, 7 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index 5be81fe04a3..b9974b3224a 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mbuf.9,v 1.56 2011/12/02 10:57:16 dlg Exp $
+.\" $OpenBSD: mbuf.9,v 1.57 2012/09/27 16:15:00 jmc 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: December 2 2011 $
+.Dd $Mdocdate: September 27 2012 $
.Dt MBUF 9
.Os
.Sh NAME
@@ -76,8 +76,6 @@
.Ft struct mbuf *
.Fn m_devget "char *buf" "int totlen" "int off" "struct ifnet *ifp" \
"void (*func)(const void *, void *, size_t)"
-.Ft void
-.Fn m_zero "struct mbuf *m"
.Ft int
.Fn m_apply "struct mbuf *m" "int off" "int len" \
"int (*func)(caddr_t, caddr_t, unsigned int)" "caddr_t fstate"
@@ -248,6 +246,9 @@ packet was encrypted (ESP-transport).
packet was authenticated (AH or ESP).
.It Dv M_AUTH_AH
header was authenticated (AH).
+.It Dv M_ZEROIZE
+Zero the data part of the mbufs in the mbuf chain pointed to by
+.Nm m_free .
.It Dv M_TUNNEL
header was IP-in-IP encapsulated by tunnel mode IPsec.
.It Dv M_LINK0
@@ -577,9 +578,6 @@ The data is copied into an mbuf chain at offset
.Fa off
and a pointer to the head of the chain is returned.
Returns NULL on failure.
-.It Fn m_zero "struct mbuf *m"
-Zeroize the data part of the mbufs in the mbuf chain pointed to by
-.Fa m .
.It Fn m_apply "struct mbuf *m" "int off" "int len" \
"int (*func)(caddr_t, caddr_t, unsigned int)" "caddr_t fstate"
Apply the function