ESP-IDF
ot::Ip6::Prefix::GetBytesSize() 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::Prefix::GetBytesSize() const
ot::Ip6::Prefix::GetBytesSize() const method
Returns the size (in bytes) of the prefix.
Syntax
Show:
Summary
Declaration
from
ip6_address.hpp:129
uint8_t
GetBytesSize
(
void
)
const
;
Return value
The size (in bytes) of the prefix array.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
GetBytesSize
(
void
)
const
{
return
SizeForLength
(
mLength
)
;
}
ip6_address.hpp:129
return
(
mLength
==
aPrefixLength
)
&&
(
MatchLength
(
GetBytes
(
)
,
aPrefixBytes
,
GetBytesSize
(
)
)
>=
mLength
)
;
ip6_address.cpp:72
ot::Ip6::Prefix
ot::Ip6::Prefix::IsEqual() const
(
MatchLength
(
GetBytes
(
)
,
aSubPrefix
.
GetBytes
(
)
,
aSubPrefix
.
GetBytesSize
(
)
)
>=
aSubPrefix
.
GetLength
(
)
)
;
ip6_address.cpp:78
ot::Ip6::Prefix
ot::Ip6::Prefix::ContainsPrefix() const
uint8_t
byteLength
=
GetBytesSize
(
)
;
ip6_address.cpp:89
ot::Ip6::Prefix
ot::Ip6::Prefix::Tidy()
return
(
mLength
==
aOther
.
mLength
)
&&
(
MatchLength
(
GetBytes
(
)
,
aOther
.
GetBytes
(
)
,
GetBytesSize
(
)
)
>=
GetLength
(
)
)
;
ip6_address.cpp:105
ot::Ip6::Prefix
ot::Ip6::Prefix::operator() const
uint8_t
sizeInUint16
=
(
GetBytesSize
(
)
+
sizeof
(
uint16_t
)
-
1
)
/
sizeof
(
uint16_t
)
;
ip6_address.cpp:207
ot::Ip6::Prefix
ot::Ip6::Prefix::ToString() const
if
(
GetBytesSize
(
)
<
Address
::
kSize
-
1
)
ip6_address.cpp:213
ot::Ip6::Prefix
ot::Ip6::Prefix::ToString() const
return
Prefix
::
MatchLength
(
mFields
.
m8
,
aPrefix
.
GetBytes
(
)
,
aPrefix
.
GetBytesSize
(
)
)
>=
aPrefix
.
GetLength
(
)
;
ip6_address.cpp:396
ot::Ip6::Address
ot::Ip6::Address::MatchesPrefix() const
memcpy
(
GetPrefixBytes
(
)
,
aPrefix
.
GetBytes
(
)
,
aPrefix
.
GetBytesSize
(
)
)
;
nd6.cpp:131
ot::Ip6::Nd::RouteInfoOption
ot::Ip6::Nd::RouteInfoOption::SetPrefix()
prefixTlv
=
As
<
PrefixTlv
>
(
AppendTlv
(
sizeof
(
PrefixTlv
)
+
aPrefix
.
GetBytesSize
(
)
+
subTlvLength
)
)
;
network_data_local.cpp:98
ot::NetworkData::Local
ot::NetworkData::Local::AddPrefix()
Call Tree
from
examples
ot::Ip6::Prefix::GetBytesSize() const
is called by 8 functions and calls 1 function:
ot::NetworkData::Local::AddPrefix()
ot::Ip6::Prefix::IsEqual() const
ot::Ip6::Prefix::ContainsPrefix() const
ot::Ip6::Prefix::Tidy()
ot::Ip6::Prefix::operator() const
ot::Ip6::Prefix::ToString() const
ot::Ip6::Address::MatchesPrefix() const
ot::Ip6::Nd::RouteInfoOption::SetPrefix()
All items filtered out
ot::Ip6::Prefix::GetBytesSize() const
ot::Ip6::Prefix::SizeForLength()
All items filtered out
Data Use
from
examples
ot::Ip6::Prefix::GetBytesSize() const
reads 1 variable:
otIp6Prefix::mLength
All items filtered out
ot::Ip6::Prefix::GetBytesSize() 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