ESP-IDF
ot::Dns::Question
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (3/5)...
Summary
Syntax
Methods
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Dns::Question
ot::Dns::Question class
Syntax
Show:
Summary
Declaration
from
dns_types.hpp:2660
class
Question
{
public
:
Question
(
void
)
=
default
;
explicit
Question
(
uint16_t
aType
,
uint16_t
aClass
=
ResourceRecord
::
kClassInternet
)
{
SetType
(
aType
)
;
SetClass
(
aClass
)
;
}
uint16_t
GetType
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mType
)
;
}
void
SetType
(
uint16_t
aType
)
{
mType
=
BigEndian
::
HostSwap16
(
aType
)
;
}
uint16_t
GetClass
(
void
)
const
{
return
BigEndian
::
HostSwap16
(
mClass
)
;
}
void
SetClass
(
uint16_t
aClass
)
{
mClass
=
BigEndian
::
HostSwap16
(
aClass
)
;
}
private
:
uint16_t
mType
;
uint16_t
mClass
;
}
;
Fields
Field
Declared as
ot::Dns::Question::mType
uint16_t
ot::Dns::Question::mClass
uint16_t
Methods
GetType() const
Returns the type of the question.
SetType()
Sets the type of the question.
GetClass() const
Returns the class of the question.
SetClass()
Sets the class of the question.
Examples
References
from
examples
Code
Location
Scope
Referrer
class
Question
dns_types.hpp:2660
offset
+=
sizeof
(
Question
)
;
dns_client.cpp:392
ot::Dns::Client::Response::PopulateFrom()
SuccessOrExit
(
error
=
message
->
Append
(
Question
(
kQuestionRecordTypes
[
aInfo
.
mQueryType
]
[
num
]
)
)
)
;
dns_client.cpp:1132
ot::Dns::Client::SendQuery()
offset
+=
sizeof
(
Question
)
;
dns_client.cpp:1387
ot::Dns::Client::ParseResponse()
class
Zone
:
public
Question
dns_types.hpp:2714
ot::Dns::Zone
:
Question
(
ResourceRecord
::
kTypeSoa
,
aClass
)
dns_types.hpp:2723
ot::Dns::Zone::Zone()
Question
question
;
dnssd_server.cpp:300
ot::Dns::ServiceDiscovery::Server::Request::ParseQuestions()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
ot::Dns::Question
inherits 1 classes:
ot::Dns::Zone
All items filtered out
ot::Dns::Question
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