ESP-IDF
ot::NetworkData::NetworkDataTlv::GetLength() 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::NetworkData::NetworkDataTlv::GetLength() const
ot::NetworkData::NetworkDataTlv::GetLength() const method
Returns the Length value.
Syntax
Show:
Summary
Declaration
from
network_data_tlvs.hpp:156
uint8_t
GetLength
(
void
)
const
;
Return value
The Length value.
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
GetLength
(
void
)
const
{
return
mLength
;
}
network_data_tlvs.hpp:156
subTlv
=
As
<
MeshCoP
::
Tlv
>
(
Tlv
::
FindTlv
(
dataTlv
->
GetValue
(
)
,
dataTlv
->
GetLength
(
)
,
aType
)
)
;
network_data_leader.cpp:512
ot::NetworkData::Leader
ot::NetworkData::Leader::FindCommissioningDataSubTlv() const
endTlv
=
reinterpret_cast
<
const
MeshCoP
::
Tlv
*
>
(
dataTlv
->
GetValue
(
)
+
dataTlv
->
GetLength
(
)
)
;
network_data_leader.cpp:549
ot::NetworkData::Leader
ot::NetworkData::Leader::GetCommissioningDataset() const
SuccessOrExit
(
error
=
response
->
AppendBytes
(
dataTlv
->
GetValue
(
)
,
dataTlv
->
GetLength
(
)
)
)
;
network_data_leader.cpp:606
ot::NetworkData::Leader
ot::NetworkData::Leader::ProcessCommissionerGetRequest() const
if
(
cur
->
GetLength
(
)
==
0
)
network_data_leader_ftd.cpp:1107
ot::NetworkData::Leader
ot::NetworkData::Leader::RemoveRlocInPrefix()
if
(
cur
->
GetLength
(
)
==
0
)
network_data_leader_ftd.cpp:1120
ot::NetworkData::Leader
ot::NetworkData::Leader::RemoveRlocInPrefix()
insertLength
=
(
aDataLength
<=
dataTlv
->
GetLength
(
)
)
?
0
:
aDataLength
-
dataTlv
->
GetLength
(
)
;
network_data_leader_ftd.cpp:1356
ot::NetworkData::Leader
ot::NetworkData::Leader::UpdateCommissioningData()
brTlv
->
SetLength
(
brTlv
->
GetLength
(
)
+
sizeof
(
BorderRouterEntry
)
)
;
network_data_local.cpp:108
ot::NetworkData::Local
ot::NetworkData::Local::AddPrefix()
hasRouteTlv
->
SetLength
(
hasRouteTlv
->
GetLength
(
)
+
sizeof
(
HasRouteEntry
)
)
;
network_data_local.cpp:116
ot::NetworkData::Local
ot::NetworkData::Local::AddPrefix()
uint8_t
GetNumEntries
(
void
)
const
{
return
GetLength
(
)
/
sizeof
(
HasRouteEntry
)
;
}
network_data_tlvs.hpp:506
ot::NetworkData::HasRouteTlv
ot::NetworkData::HasRouteTlv::GetNumEntries() const
return
reinterpret_cast
<
HasRouteEntry
*
>
(
GetValue
(
)
+
GetLength
(
)
-
sizeof
(
HasRouteEntry
)
)
;
network_data_tlvs.hpp:555
ot::NetworkData::HasRouteTlv
ot::NetworkData::HasRouteTlv::GetLastEntry()
return
reinterpret_cast
<
const
HasRouteEntry
*
>
(
GetValue
(
)
+
GetLength
(
)
-
sizeof
(
HasRouteEntry
)
)
;
network_data_tlvs.hpp:567
ot::NetworkData::HasRouteTlv
ot::NetworkData::HasRouteTlv::GetLastEntry() const
return
(
(
GetLength
(
)
>=
sizeof
(
*
this
)
-
sizeof
(
NetworkDataTlv
)
)
&&
network_data_tlvs.hpp:617
ot::NetworkData::PrefixTlv
ot::NetworkData::PrefixTlv::IsValid() const
(
GetLength
(
)
>=
Ip6
::
Prefix
::
SizeForLength
(
mPrefixLength
)
+
sizeof
(
*
this
)
-
sizeof
(
NetworkDataTlv
)
)
&&
network_data_tlvs.hpp:618
ot::NetworkData::PrefixTlv
ot::NetworkData::PrefixTlv::IsValid() const
return
GetLength
(
)
-
(
sizeof
(
*
this
)
-
sizeof
(
NetworkDataTlv
)
+
Ip6
::
Prefix
::
SizeForLength
(
mPrefixLength
)
)
;
network_data_tlvs.hpp:710
ot::NetworkData::PrefixTlv
ot::NetworkData::PrefixTlv::GetSubTlvsLength() const
uint8_t
GetNumEntries
(
void
)
const
{
return
GetLength
(
)
/
sizeof
(
BorderRouterEntry
)
;
}
network_data_tlvs.hpp:1029
ot::NetworkData::BorderRouterTlv
ot::NetworkData::BorderRouterTlv::GetNumEntries() const
return
reinterpret_cast
<
BorderRouterEntry
*
>
(
GetValue
(
)
+
GetLength
(
)
-
sizeof
(
BorderRouterEntry
)
)
;
network_data_tlvs.hpp:1081
ot::NetworkData::BorderRouterTlv
ot::NetworkData::BorderRouterTlv::GetLastEntry()
return
reinterpret_cast
<
const
BorderRouterEntry
*
>
(
GetValue
(
)
+
GetLength
(
)
-
sizeof
(
BorderRouterEntry
)
)
;
network_data_tlvs.hpp:1093
ot::NetworkData::BorderRouterTlv
ot::NetworkData::BorderRouterTlv::GetLastEntry() const
uint8_t
length
=
GetLength
(
)
;
network_data_tlvs.hpp:1211
ot::NetworkData::ServiceTlv
ot::NetworkData::ServiceTlv::IsValid() const
uint8_t
GetSubTlvsLength
(
void
)
{
return
GetLength
(
)
-
GetFieldsLength
(
)
;
}
network_data_tlvs.hpp:1262
ot::NetworkData::ServiceTlv
ot::NetworkData::ServiceTlv::GetSubTlvsLength()
bool
IsValid
(
void
)
const
{
return
GetLength
(
)
>=
(
sizeof
(
*
this
)
-
sizeof
(
NetworkDataTlv
)
)
;
}
network_data_tlvs.hpp:1372
ot::NetworkData::ServerTlv
ot::NetworkData::ServerTlv::IsValid() const
uint8_t
GetServerDataLength
(
void
)
const
{
return
GetLength
(
)
-
(
sizeof
(
*
this
)
-
sizeof
(
NetworkDataTlv
)
)
;
}
network_data_tlvs.hpp:1400
ot::NetworkData::ServerTlv
ot::NetworkData::ServerTlv::GetServerDataLength() const
return
(
GetLength
(
)
==
aOther
.
GetLength
(
)
)
&&
(
memcmp
(
GetValue
(
)
,
aOther
.
GetValue
(
)
,
GetLength
(
)
)
==
0
)
;
network_data_tlvs.hpp:1412
ot::NetworkData::ServerTlv
ot::NetworkData::ServerTlv::operator() const
Call Tree
from
examples
ot::NetworkData::NetworkDataTlv::GetLength() const
is called by 19 functions:
ot::NetworkData::HasRouteTlv::GetNumEntries() const
ot::NetworkData::HasRouteTlv::GetLastEntry()
ot::NetworkData::HasRouteTlv::GetLastEntry() const
ot::NetworkData::PrefixTlv::IsValid() const
ot::NetworkData::PrefixTlv::GetSubTlvsLength() const
ot::NetworkData::BorderRouterTlv::GetNumEntries() const
ot::NetworkData::BorderRouterTlv::GetLastEntry()
ot::NetworkData::BorderRouterTlv::GetLastEntry() const
ot::NetworkData::ServiceTlv::IsValid() const
ot::NetworkData::ServiceTlv::GetSubTlvsLength()
ot::NetworkData::ServerTlv::IsValid() const
ot::NetworkData::ServerTlv::GetServerDataLength() const
ot::NetworkData::ServerTlv::operator() const
ot::NetworkData::Leader::FindCommissioningDataSubTlv() const
ot::NetworkData::Leader::GetCommissioningDataset() const
ot::NetworkData::Leader::ProcessCommissionerGetRequest() const
ot::NetworkData::Leader::RemoveRlocInPrefix()
ot::NetworkData::Leader::UpdateCommissioningData()
ot::NetworkData::Local::AddPrefix()
All items filtered out
ot::NetworkData::NetworkDataTlv::GetLength() const
All items filtered out
Data Use
from
examples
ot::NetworkData::NetworkDataTlv::GetLength() const
reads 1 variable:
ot::NetworkData::NetworkDataTlv::mLength
All items filtered out
ot::NetworkData::NetworkDataTlv::GetLength() 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