ESP-IDF
ot::Ip6::Nd::Option::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::Nd::Option::GetSize() const
ot::Ip6::Nd::Option::GetSize() const method
Returns the size of the option in bytes.
Syntax
Show:
Summary
Declaration
from
nd6.hpp:118
uint16_t
GetSize
(
void
)
const
;
Return value
The size of the option in bytes.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint16_t
GetSize
(
void
)
const
{
return
mLength
*
kLengthUnit
;
}
nd6.hpp:118
return
reinterpret_cast
<
const
Option
*
>
(
reinterpret_cast
<
const
uint8_t
*
>
(
aOption
)
+
aOption
->
GetSize
(
)
)
;
nd6.cpp:66
ot::Ip6::Nd::Option::Iterator
ot::Ip6::Nd::Option::Iterator::Next()
return
(
GetSize
(
)
>=
sizeof
(
*
this
)
)
&&
(
mPrefixLength
<=
Prefix
::
kMaxLength
)
&&
nd6.cpp:103
ot::Ip6::Nd::PrefixInfoOption::IsValid() const
return
(
GetSize
(
)
>=
kMinSize
)
&&
(
mPrefixLength
<=
Prefix
::
kMaxLength
)
&&
nd6.cpp:138
ot::Ip6::Nd::RouteInfoOption::IsValid() const
for
(
;
size
<
option
.
GetSize
(
)
;
size
++
)
nd6.cpp:265
ot::Ip6::Nd::TxMessage
ot::Ip6::Nd::TxMessage::AppendLinkLayerOption()
bool
IsValid
(
void
)
const
{
return
GetSize
(
)
>=
sizeof
(
*
this
)
;
}
nd6.hpp:471
ot::Ip6::Nd::RaFlagsExtOption::IsValid() const
Call Tree
from
examples
ot::Ip6::Nd::Option::GetSize() const
is called by 2 functions:
ot::Ip6::Nd::Option::Iterator::Next()
ot::Ip6::Nd::TxMessage::AppendLinkLayerOption()
All items filtered out
ot::Ip6::Nd::Option::GetSize() const
All items filtered out
Data Use
from
examples
ot::Ip6::Nd::Option::GetSize() const
reads 2 variables and writes 3 variables:
ot::Ip6::Nd::Option::mLength
ot::Ip6::Nd::Option::kLengthUnit
All items filtered out
ot::Ip6::Nd::Option::GetSize() const
ot::Ip6::Nd::RaFlagsExtOption::IsValid() const
ot::Ip6::Nd::PrefixInfoOption::IsValid() const
ot::Ip6::Nd::RouteInfoOption::IsValid() 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