ESP-IDF
OS_MBUF_LEADINGSPACE
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading (3/5)...
Summary
Syntax
Arguments
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
OS_MBUF_LEADINGSPACE
OS_MBUF_LEADINGSPACE macro
@endcond Returns the leading space (space at the beginning) of the mbuf. Works on both packet header, and regular mbufs, as it accounts for the additional space allocated to the packet header.
Syntax
Show:
Summary
Declaration
from
os_mbuf.h:217
#define
OS_MBUF_LEADINGSPACE
(
__om
)
_os_mbuf_leadingspace
(
__om
)
Arguments
Argument
Description
__om
Is the mbuf in that pool to get the leadingspace for
Return value
Amount of leading space available in the mbuf
Examples
References
from
examples
Code
Location
#define
OS_MBUF_LEADINGSPACE
(
__om
)
_os_mbuf_leadingspace
(
__om
)
os_mbuf.h:217
OS_MBUF_LEADINGSPACE
(
om
)
)
;
os_mbuf.c:524
head
=
os_mbuf_get
(
omp
,
OS_MBUF_LEADINGSPACE
(
om
)
)
;
os_mbuf.c:532
leading
=
min
(
len
,
OS_MBUF_LEADINGSPACE
(
om
)
)
;
os_mbuf.c:795
if
(
OS_MBUF_LEADINGSPACE
(
cur
)
>=
om
->
om_pkthdr_len
)
{
os_mbuf.c:1082
if
(
OS_MBUF_LEADINGSPACE
(
cur
)
)
{
os_mbuf.c:1207
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out