ESP-IDF
ot::Dns::ResourceRecord::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::Dns::ResourceRecord::GetSize() const
ot::Dns::ResourceRecord::GetSize() const method
Returns the size of (number of bytes) in resource record and its data RDATA section (excluding the name field).
Syntax
Show:
Summary
Declaration
from
dns_types.hpp:1366
uint32_t
GetSize
(
void
)
const
;
Return value
Size (number of bytes) of resource record and its data section (excluding the name field)
Examples
References
from
examples
Code
Location
Scope
Referrer
uint32_t
GetSize
(
void
)
const
{
return
sizeof
(
ResourceRecord
)
+
GetLength
(
)
;
}
dns_types.hpp:1366
offset
+=
static_cast
<
uint16_t
>
(
ptrRecord
.
GetSize
(
)
)
-
sizeof
(
ptrRecord
)
;
dns_client.cpp:552
ot::Dns::Client::BrowseResponse
ot::Dns::Client::BrowseResponse::FindPtrRecord() const
aOffset
+=
static_cast
<
uint16_t
>
(
record
.
GetSize
(
)
)
;
dns_types.cpp:811
ot::Dns::ResourceRecord
ot::Dns::ResourceRecord::ParseRecords()
aOffset
+=
static_cast
<
uint16_t
>
(
record
.
GetSize
(
)
)
;
dns_types.cpp:844
ot::Dns::ResourceRecord
ot::Dns::ResourceRecord::FindRecord()
offset
=
static_cast
<
uint16_t
>
(
recordOffset
+
aRecord
.
GetSize
(
)
)
;
dns_types.cpp:903
ot::Dns::ResourceRecord
ot::Dns::ResourceRecord::FindRecord()
if
(
(
(
aType
==
kTypeAny
)
||
(
record
.
GetType
(
)
==
aType
)
)
&&
(
record
.
GetSize
(
)
>=
aMinRecordSize
)
)
dns_types.cpp:929
ot::Dns::ResourceRecord
ot::Dns::ResourceRecord::ReadRecord()
aOffset
+=
static_cast
<
uint16_t
>
(
record
.
GetSize
(
)
)
;
dns_types.cpp:937
ot::Dns::ResourceRecord
ot::Dns::ResourceRecord::ReadRecord()
VerifyOrExit
(
aOffset
<=
aStartOffset
+
GetSize
(
)
,
error
=
kErrorParse
)
;
dns_types.cpp:971
ot::Dns::ResourceRecord
ot::Dns::ResourceRecord::ReadName() const
aOffset
+=
static_cast
<
uint16_t
>
(
GetSize
(
)
)
;
dns_types.cpp:993
ot::Dns::ResourceRecord
ot::Dns::ResourceRecord::SkipRecord() const
return
(
aOffset
+
GetSize
(
)
<=
aMessage
.
GetLength
(
)
)
?
kErrorNone
:
kErrorParse
;
dns_types.cpp:1005
ot::Dns::ResourceRecord
ot::Dns::ResourceRecord::CheckRecord() const
return
GetType
(
)
==
Dns
::
ResourceRecord
::
kTypeAaaa
&&
GetSize
(
)
==
sizeof
(
*
this
)
;
dns_types.cpp:1185
ot::Dns::AaaaRecord::IsValid() const
VerifyOrExit
(
aOffset
<=
startOffset
+
GetSize
(
)
,
error
=
kErrorParse
)
;
dns_types.cpp:1285
ot::Dns::PtrRecord
ot::Dns::PtrRecord::ReadPtrName() const
VerifyOrExit
(
aOffset
+
aRecord
.
GetSize
(
)
<=
aMessage
.
GetLength
(
)
,
error
=
kErrorParse
)
;
srp_client.cpp:1974
ot::Srp::Client
ot::Srp::Client::ReadResourceRecord()
aOffset
+=
static_cast
<
uint16_t
>
(
aRecord
.
GetSize
(
)
)
;
srp_client.cpp:1975
ot::Srp::Client
ot::Srp::Client::ReadResourceRecord()
offset
+=
record
.
GetSize
(
)
;
srp_server.cpp:967
ot::Srp::Server
ot::Srp::Server::ProcessHostDescriptionInstruction() const
offset
+=
record
.
GetSize
(
)
;
srp_server.cpp:1132
ot::Srp::Server
ot::Srp::Server::ProcessServiceDescriptionInstructions() const
offset
+=
record
.
GetSize
(
)
;
srp_server.cpp:1180
ot::Srp::Server
ot::Srp::Server::ProcessServiceDescriptionInstructions() const
offset
+=
optRecord
.
GetSize
(
)
;
srp_server.cpp:1230
ot::Srp::Server
ot::Srp::Server::ProcessAdditionalSection() const
Call Tree
from
examples
ot::Dns::ResourceRecord::GetSize() const
is called by 12 functions and calls 1 function:
ot::Dns::Client::BrowseResponse::FindPtrRecord() const
ot::Dns::ResourceRecord::ParseRecords()
ot::Dns::ResourceRecord::FindRecord()
ot::Dns::ResourceRecord::ReadRecord()
ot::Dns::ResourceRecord::ReadName() const
ot::Dns::ResourceRecord::SkipRecord() const
ot::Dns::ResourceRecord::CheckRecord() const
ot::Dns::PtrRecord::ReadPtrName() const
ot::Srp::Client::ReadResourceRecord()
ot::Srp::Server::ProcessHostDescriptionInstruction() const
ot::Srp::Server::ProcessServiceDescriptionInstructions() const
ot::Srp::Server::ProcessAdditionalSection() const
All items filtered out
ot::Dns::ResourceRecord::GetSize() const
ot::Dns::ResourceRecord::GetLength() const
All items filtered out
Data Use
from
examples
ot::Dns::ResourceRecord::GetSize() const
writes 1 variable:
All items filtered out
ot::Dns::ResourceRecord::GetSize() const
ot::Dns::AaaaRecord::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