diff options
Diffstat (limited to 'share/man/man9/mbuf.9')
-rw-r--r-- | share/man/man9/mbuf.9 | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index 4df1d6a..9b75c61 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -24,7 +24,7 @@ .\" .\" $FreeBSD$ .\" -.Dd January 16, 2014 +.Dd April 30, 2014 .Dt MBUF 9 .Os .\" @@ -64,23 +64,25 @@ .Fn M_TRAILINGSPACE "struct mbuf *mbuf" .Fn M_MOVE_PKTHDR "struct mbuf *to" "struct mbuf *from" .Fn M_PREPEND "struct mbuf *mbuf" "int len" "int how" -.Fn MCHTYPE "struct mbuf *mbuf" "u_int type" +.Fn MCHTYPE "struct mbuf *mbuf" "short type" .Ft int .Fn M_WRITABLE "struct mbuf *mbuf" .\" .Ss Mbuf allocation functions .Ft struct mbuf * -.Fn m_get "int how" "int type" +.Fn m_get "int how" "short type" .Ft struct mbuf * -.Fn m_getm "struct mbuf *orig" "int len" "int how" "int type" +.Fn m_get2 "int size" "int how" "short type" "int flags" +.Ft struct mbuf * +.Fn m_getm "struct mbuf *orig" "int len" "int how" "short type" .Ft struct mbuf * .Fn m_getjcl "int how" "short type" "int flags" "int size" .Ft struct mbuf * .Fn m_getcl "int how" "short type" "int flags" .Ft struct mbuf * -.Fn m_getclr "int how" "int type" +.Fn m_getclr "int how" "short type" .Ft struct mbuf * -.Fn m_gethdr "int how" "int type" +.Fn m_gethdr "int how" "short type" .Ft struct mbuf * .Fn m_free "struct mbuf *mbuf" .Ft void @@ -528,6 +530,10 @@ The functions are: A function version of .Fn MGET for non-critical paths. +.It Fn m_get2 size how type flags +Allocate an +.Vt mbuf +with enough space to hold specified amount of data. .It Fn m_getm orig len how type Allocate .Fa len |