ESP-IDF
ot::Ip4::Header::GetTotalLength() const
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Ip4::Header::GetTotalLength() const
ot::Ip4::Header::GetTotalLength() const method
Returns the IPv4 Payload Length value.
Syntax
Show:
Summary
Declaration
from
ip4_types.hpp:365
uint16_t
GetTotalLength
(
void
)
const
;
Return value
The IPv4 Payload Length value.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetTotalLength
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mTotalLength
)
;
}
ip4_types.hpp:365
VerifyOrExit
(
GetTotalLength
(
)
==
aMessage
.
GetLength
(
)
)
;
ip4_types.cpp:209
ot::Ip4::Header
ot::Ip4::Header::ParseFrom()
Call Tree
from
examples
ot::Ip4::Header::GetTotalLength() const
is called by 1 function and calls 1 function:
ot::Ip4::Header::ParseFrom()
All items filtered out
ot::Ip4::Header::GetTotalLength() const
ot::BigEndian::HostSwap16()
All items filtered out
Data Use
from
examples
ot::Ip4::Header::GetTotalLength() const
reads 1 variable:
ot::Ip4::Header::mTotalLength
All items filtered out
ot::Ip4::Header::GetTotalLength() const
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