Return bits which were removed in revision 1.22.

Requested by:	imp
This commit is contained in:
trhodes 2003-02-24 05:59:12 +00:00
parent aeedc1f513
commit 76ed67bf98

View File

@ -278,14 +278,14 @@ on failure.
The
.Fa how
argument is to be set to
.Dv 0
.Dv M_TRYWAIT
or
.Dv M_NOWAIT .
.Dv M_DONTWAIT .
It specifies whether the caller is willing to block if necessary.
If
.Fa how
is set to
.Dv 0 ,
.Dv M_TRYWAIT ,
a failed allocation will result in the caller being put
to sleep for a designated
kern.ipc.mbuf_wait
@ -295,6 +295,14 @@ number of ticks.
A number of other mbuf-related
functions and macros have the same argument because they may
at some point need to allocate new mbufs.
.Pp
Programmers should be careful not to confuse the mbuf allocation flag
.Dv M_DONTWAIT
with the
.Xr malloc 9
allocation flag,
.Dv M_NOWAIT .
They are not the same.
.It Fn MGETHDR mbuf how type
Allocate an mbuf and initialize it to contain a packet header
and internal data.