mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 16:50:25 -04:00
spell out the arguments..
the + *offsetp does not belong w/ the type, move it outside the .Fn macro...
This commit is contained in:
parent
1418fbd6c7
commit
e0912e08e4
1 changed files with 6 additions and 5 deletions
|
|
@ -24,7 +24,7 @@
|
|||
.\"
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd June 5, 2014
|
||||
.Dd October 21, 2014
|
||||
.Dt MBUF 9
|
||||
.Os
|
||||
.\"
|
||||
|
|
@ -738,15 +738,16 @@ the offset in the data region of the
|
|||
to the data contained in the returned mbuf is stored in
|
||||
.Fa *offsetp .
|
||||
If
|
||||
.Fa offp
|
||||
.Fa offsetp
|
||||
is NULL, the region may be accessed using
|
||||
.Fn mtod mbuf type .
|
||||
If
|
||||
.Fa offp
|
||||
.Fa offsetp
|
||||
is non-NULL, the region may be accessed using
|
||||
.Fn mtod mbuf uint8_t + *offsetp .
|
||||
.Fn mtod mbuf uint8_t
|
||||
+ *offsetp.
|
||||
The region of the mbuf chain between its beginning and
|
||||
.Fa off
|
||||
.Fa offset
|
||||
is not modified, therefore it is safe to hold pointers to data within
|
||||
this region before calling
|
||||
.Fn m_pulldown .
|
||||
|
|
|
|||
Loading…
Reference in a new issue