mbuf.9 (84451) | mbuf.9 (88509) |
---|---|
1.\" Copyright (c) 2000 FreeBSD Inc. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" | 1.\" Copyright (c) 2000 FreeBSD Inc. 2.\" All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. --- 8 unchanged lines hidden (view full) --- 17.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 18.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 19.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 20.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 21.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 22.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 23.\" SUCH DAMAGE. 24.\" |
25.\" $FreeBSD: head/share/man/man9/mbuf.9 84451 2001-10-04 09:00:38Z bde $ | 25.\" $FreeBSD: head/share/man/man9/mbuf.9 88509 2001-12-26 23:14:04Z davidc $ |
26.\" 27.Dd October 17, 2000 28.Dt MBUF 9 29.Os 30.\" 31.Sh NAME 32.Nm mbuf 33.Nd "memory management in the kernel IPC subsystem" 34.\" 35.Sh SYNOPSIS 36.In sys/param.h | 26.\" 27.Dd October 17, 2000 28.Dt MBUF 9 29.Os 30.\" 31.Sh NAME 32.Nm mbuf 33.Nd "memory management in the kernel IPC subsystem" 34.\" 35.Sh SYNOPSIS 36.In sys/param.h |
37.In sys/systm.h |
|
37.In sys/mbuf.h 38.\" 39.Ss Mbuf allocation macros 40.Fn MGET "struct mbuf *mbuf" "int how" "short type" 41.Fn MGETHDR "struct mbuf *mbuf" "int how" "short type" 42.Fn MCLGET "struct mbuf *mbuf" "int how" 43.Fo MEXTADD 44.Fa "struct mbuf *mbuf" --- 5 unchanged lines hidden (view full) --- 50.Fa "int type" 51.Fc 52.Fn MEXTFREE "struct mbuf *mbuf" 53.Fn MEXT_ADD_REF "struct mbuf *mbuf" 54.Fn MEXT_REM_REF "struct mbuf *mbuf" 55.Fn MFREE "struct mbuf *mbuf" "struct mbuf *successor" 56.\" 57.Ss Mbuf utility macros | 38.In sys/mbuf.h 39.\" 40.Ss Mbuf allocation macros 41.Fn MGET "struct mbuf *mbuf" "int how" "short type" 42.Fn MGETHDR "struct mbuf *mbuf" "int how" "short type" 43.Fn MCLGET "struct mbuf *mbuf" "int how" 44.Fo MEXTADD 45.Fa "struct mbuf *mbuf" --- 5 unchanged lines hidden (view full) --- 51.Fa "int type" 52.Fc 53.Fn MEXTFREE "struct mbuf *mbuf" 54.Fn MEXT_ADD_REF "struct mbuf *mbuf" 55.Fn MEXT_REM_REF "struct mbuf *mbuf" 56.Fn MFREE "struct mbuf *mbuf" "struct mbuf *successor" 57.\" 58.Ss Mbuf utility macros |
58.Fn mtod "struct mbuf *mbuf" "any type" | 59.Ft void * 60.Fn mtod "struct mbuf *mbuf" "type" 61.Ft int |
59.Fn MEXT_IS_REF "struct mbuf *mbuf" 60.Fn M_COPY_PKTHDR "struct mbuf *to" "struct mbuf *from" 61.Fn M_ALIGN "struct mbuf *mbuf" "u_int len" 62.Fn MH_ALIGN "struct mbuf *mbuf" "u_int len" | 62.Fn MEXT_IS_REF "struct mbuf *mbuf" 63.Fn M_COPY_PKTHDR "struct mbuf *to" "struct mbuf *from" 64.Fn M_ALIGN "struct mbuf *mbuf" "u_int len" 65.Fn MH_ALIGN "struct mbuf *mbuf" "u_int len" |
66.Ft int |
|
63.Fn M_LEADINGSPACE "struct mbuf *mbuf" | 67.Fn M_LEADINGSPACE "struct mbuf *mbuf" |
68.Ft int |
|
64.Fn M_TRAILINGSPACE "struct mbuf *mbuf" 65.Fn M_PREPEND "struct mbuf *mbuf" "int len" "int how" 66.Fn MCHTYPE "struct mbuf *mbuf" "u_int type" | 69.Fn M_TRAILINGSPACE "struct mbuf *mbuf" 70.Fn M_PREPEND "struct mbuf *mbuf" "int len" "int how" 71.Fn MCHTYPE "struct mbuf *mbuf" "u_int type" |
72.Ft int |
|
67.Fn M_WRITABLE "struct mbuf *mbuf" 68.\" 69.Ss Mbuf allocation functions 70.Ft struct mbuf * 71.Fn m_get "int how" "int type" 72.Ft struct mbuf * 73.Fn m_getm "struct mbuf *orig" "int len" "int how" "int type" 74.Ft struct mbuf * --- 439 unchanged lines hidden --- | 73.Fn M_WRITABLE "struct mbuf *mbuf" 74.\" 75.Ss Mbuf allocation functions 76.Ft struct mbuf * 77.Fn m_get "int how" "int type" 78.Ft struct mbuf * 79.Fn m_getm "struct mbuf *orig" "int len" "int how" "int type" 80.Ft struct mbuf * --- 439 unchanged lines hidden --- |