ESP-IDF
ot::Dns::Header::mFlags
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (2/5)...
Files
loading (4/5)...
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::Header::mFlags
ot::Dns::Header::mFlags field
Syntax
Show:
Summary
Declaration
from
dns_types.hpp:370
uint8_t
mFlags
[
2
]
;
Examples
References
from
examples
Code
Location
Scope
Referrer
uint8_t
mFlags
[
2
]
;
// DNS header flags.
dns_types.hpp:370
Type
GetType
(
void
)
const
{
return
static_cast
<
Type
>
(
(
mFlags
[
0
]
&
kQrFlagMask
)
>
>
kQrFlagOffset
)
;
}
dns_types.hpp:118
ot::Dns::Header
ot::Dns::Header::GetType() const
mFlags
[
0
]
&=
~
kQrFlagMask
;
dns_types.hpp:127
ot::Dns::Header
ot::Dns::Header::SetType()
mFlags
[
0
]
|=
static_cast
<
uint8_t
>
(
aType
)
<
<
kQrFlagOffset
;
dns_types.hpp:128
ot::Dns::Header
ot::Dns::Header::SetType()
QueryType
GetQueryType
(
void
)
const
{
return
static_cast
<
QueryType
>
(
(
mFlags
[
0
]
&
kOpCodeMask
)
>
>
kOpCodeOffset
)
;
}
dns_types.hpp:149
ot::Dns::Header
ot::Dns::Header::GetQueryType() const
mFlags
[
0
]
&=
~
kOpCodeMask
;
dns_types.hpp:158
ot::Dns::Header
ot::Dns::Header::SetQueryType()
mFlags
[
0
]
|=
static_cast
<
uint8_t
>
(
aType
)
<
<
kOpCodeOffset
;
dns_types.hpp:159
ot::Dns::Header
ot::Dns::Header::SetQueryType()
bool
IsAuthoritativeAnswerFlagSet
(
void
)
const
{
return
(
mFlags
[
0
]
&
kAaFlagMask
)
==
kAaFlagMask
;
}
dns_types.hpp:168
ot::Dns::Header
ot::Dns::Header::IsAuthoritativeAnswerFlagSet() const
void
ClearAuthoritativeAnswerFlag
(
void
)
{
mFlags
[
0
]
&=
~
kAaFlagMask
;
}
dns_types.hpp:173
ot::Dns::Header
ot::Dns::Header::ClearAuthoritativeAnswerFlag()
void
SetAuthoritativeAnswerFlag
(
void
)
{
mFlags
[
0
]
|=
kAaFlagMask
;
}
dns_types.hpp:178
ot::Dns::Header
ot::Dns::Header::SetAuthoritativeAnswerFlag()
bool
IsTruncationFlagSet
(
void
)
const
{
return
(
mFlags
[
0
]
&
kTcFlagMask
)
==
kTcFlagMask
;
}
dns_types.hpp:185
ot::Dns::Header
ot::Dns::Header::IsTruncationFlagSet() const
void
ClearTruncationFlag
(
void
)
{
mFlags
[
0
]
&=
~
kTcFlagMask
;
}
dns_types.hpp:190
ot::Dns::Header
ot::Dns::Header::ClearTruncationFlag()
void
SetTruncationFlag
(
void
)
{
mFlags
[
0
]
|=
kTcFlagMask
;
}
dns_types.hpp:195
ot::Dns::Header
ot::Dns::Header::SetTruncationFlag()
bool
IsRecursionDesiredFlagSet
(
void
)
const
{
return
(
mFlags
[
0
]
&
kRdFlagMask
)
==
kRdFlagMask
;
}
dns_types.hpp:203
ot::Dns::Header
ot::Dns::Header::IsRecursionDesiredFlagSet() const
void
ClearRecursionDesiredFlag
(
void
)
{
mFlags
[
0
]
&=
~
kRdFlagMask
;
}
dns_types.hpp:208
ot::Dns::Header
ot::Dns::Header::ClearRecursionDesiredFlag()
void
SetRecursionDesiredFlag
(
void
)
{
mFlags
[
0
]
|=
kRdFlagMask
;
}
dns_types.hpp:213
ot::Dns::Header
ot::Dns::Header::SetRecursionDesiredFlag()
bool
IsRecursionAvailableFlagSet
(
void
)
const
{
return
(
mFlags
[
1
]
&
kRaFlagMask
)
==
kRaFlagMask
;
}
dns_types.hpp:220
ot::Dns::Header
ot::Dns::Header::IsRecursionAvailableFlagSet() const
void
ClearRecursionAvailableFlag
(
void
)
{
mFlags
[
1
]
&=
~
kRaFlagMask
;
}
dns_types.hpp:225
ot::Dns::Header
ot::Dns::Header::ClearRecursionAvailableFlag()
void
SetRecursionAvailableFlag
(
void
)
{
mFlags
[
1
]
|=
kRaFlagMask
;
}
dns_types.hpp:230
ot::Dns::Header
ot::Dns::Header::SetRecursionAvailableFlag()
Response
GetResponseCode
(
void
)
const
{
return
static_cast
<
Response
>
(
(
mFlags
[
1
]
&
kRCodeMask
)
>
>
kRCodeOffset
)
;
}
dns_types.hpp:259
ot::Dns::Header
ot::Dns::Header::GetResponseCode() const
mFlags
[
1
]
&=
~
kRCodeMask
;
dns_types.hpp:268
ot::Dns::Header
ot::Dns::Header::SetResponseCode()
mFlags
[
1
]
|=
static_cast
<
uint8_t
>
(
aResponse
)
<
<
kRCodeOffset
;
dns_types.hpp:269
ot::Dns::Header
ot::Dns::Header::SetResponseCode()
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
ot::Dns::Header::mFlags
is read by 18 functions:
All items filtered out
ot::Dns::Header::mFlags
ot::Dns::Header::GetType() const
ot::Dns::Header::SetType()
ot::Dns::Header::GetQueryType() const
ot::Dns::Header::SetQueryType()
ot::Dns::Header::IsAuthoritativeAnswerFlagSet() const
ot::Dns::Header::ClearAuthoritativeAnswerFlag()
ot::Dns::Header::SetAuthoritativeAnswerFlag()
ot::Dns::Header::IsTruncationFlagSet() const
ot::Dns::Header::ClearTruncationFlag()
ot::Dns::Header::SetTruncationFlag()
ot::Dns::Header::IsRecursionDesiredFlagSet() const
ot::Dns::Header::ClearRecursionDesiredFlag()
ot::Dns::Header::SetRecursionDesiredFlag()
ot::Dns::Header::IsRecursionAvailableFlagSet() const
ot::Dns::Header::ClearRecursionAvailableFlag()
ot::Dns::Header::SetRecursionAvailableFlag()
ot::Dns::Header::GetResponseCode() const
ot::Dns::Header::SetResponseCode()
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