ESP-IDF
ot::Dns::Header::Type
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Values
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Dns::Header::Type
ot::Dns::Header::Type enum
Defines types of DNS message.
Syntax
Show:
Summary
Declaration
from
dns_types.hpp:107
enum
Type
:
uint8_t
{
kTypeQuery
=
0
,
kTypeResponse
=
1
,
}
;
Values
Value
Declared as
ot::Dns::Header::Type::kTypeQuery
=
0
ot::Dns::Header::Type::kTypeResponse
=
1
Examples
References
from
examples
Code
Location
Scope
Referrer
enum
Type
:
uint8_t
dns_types.hpp:107
Type
GetType
(
void
)
const
{
return
static_cast
<
Type
>
(
(
mFlags
[
0
]
&
kQrFlagMask
)
>
>
kQrFlagOffset
)
;
}
dns_types.hpp:118
ot::Dns::Header::GetType() const
void
SetType
(
Type
aType
)
dns_types.hpp:125
ot::Dns::Header::SetType()
ot::Dns::Header::SetType()::aType
VerifyOrExit
(
metadata
.
mDnsHeader
.
GetType
(
)
==
Dns
::
UpdateHeader
::
Type
::
kTypeQuery
,
error
=
kErrorDrop
)
;
srp_server.cpp:1585
ot::Srp::Server::ProcessMessage()
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
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
Instance
Scope
Location
Project
return
ot::Dns::Header::GetType() const
dns_types.hpp:118
ot::Dns::Header::SetType()::aType
ot::Dns::Header::SetType()
dns_types.hpp:125
Lifecycle
from
examples
All items filtered out
All items filtered out