ESP-IDF
ot::Ip6::ExtensionHeader::GetSize() 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::Ip6::ExtensionHeader::GetSize() const
ot::Ip6::ExtensionHeader::GetSize() const method
Returns the size (number of bytes) of the Extension Header including Next Header and Length fields.
Syntax
Show:
Summary
Declaration
from
ip6_headers.hpp:393
uint16_t
GetSize
(
void
)
const
;
Return value
The size (number of bytes) of the Extension Header.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetSize
(
void
)
const
{
return
kLengthUnitSize
*
(
mLength
+
1
)
;
}
ip6_headers.hpp:393
hbhSize
=
hbh
.
GetSize
(
)
;
ip6.cpp:253
ot::Ip6::Ip6
ot::Ip6::Ip6::InsertMplOption()
VerifyOrExit
(
aOffsetRange
.
Contains
(
aHbhHeader
.
GetSize
(
)
)
,
error
=
kErrorParse
)
;
ip6.cpp:501
ot::Ip6::Ip6
ot::Ip6::Ip6::ReadHopByHopHeader() const
aOffsetRange
.
ShrinkLength
(
aHbhHeader
.
GetSize
(
)
)
;
ip6.cpp:502
ot::Ip6::Ip6
ot::Ip6::Ip6::ReadHopByHopHeader() const
len
=
extHeader
.
GetSize
(
)
-
sizeof
(
extHeader
)
;
lowpan.cpp:453
ot::Lowpan::Lowpan
ot::Lowpan::Lowpan::CompressExtensionHeader()
Call Tree
from
examples
ot::Ip6::ExtensionHeader::GetSize() const
is called by 3 functions:
ot::Lowpan::Lowpan::CompressExtensionHeader()
ot::Ip6::Ip6::InsertMplOption()
ot::Ip6::Ip6::ReadHopByHopHeader() const
All items filtered out
ot::Ip6::ExtensionHeader::GetSize() const
All items filtered out
Data Use
from
examples
ot::Ip6::ExtensionHeader::GetSize() const
reads 2 variables:
ot::Ip6::ExtensionHeader::kLengthUnitSize
ot::Ip6::ExtensionHeader::mLength
All items filtered out
ot::Ip6::ExtensionHeader::GetSize() 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