ESP-IDF
ot::Dns::Name::LabelIterator
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
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::Name::LabelIterator
ot::Dns::Name::LabelIterator struct
Syntax
Show:
Summary
Declaration
from
dns_types.hpp:1054
struct
LabelIterator
{
static
constexpr
uint16_t
kUnsetNameEndOffset
=
0
;
LabelIterator
(
const
Message
&
aMessage
,
uint16_t
aLabelOffset
)
:
mMessage
(
aMessage
)
,
mNextLabelOffset
(
aLabelOffset
)
,
mNameEndOffset
(
kUnsetNameEndOffset
)
,
mMinLabelOffset
(
aLabelOffset
)
{
}
bool
IsEndOffsetSet
(
void
)
const
{
return
(
mNameEndOffset
!=
kUnsetNameEndOffset
)
;
}
Error
GetNextLabel
(
void
)
;
Error
ReadLabel
(
char
*
aLabelBuffer
,
uint8_t
&
aLabelLength
,
bool
aAllowDotCharInLabel
)
const
;
bool
CompareLabel
(
const
char
*
&
aName
,
bool
aIsSingleLabel
)
const
;
bool
CompareLabel
(
const
LabelIterator
&
aOtherIterator
)
const
;
Error
AppendLabel
(
Message
&
aMessage
)
const
;
static
bool
CaseInsensitiveMatch
(
uint8_t
aFirst
,
uint8_t
aSecond
)
;
const
Message
&
mMessage
;
uint16_t
mLabelStartOffset
;
uint8_t
mLabelLength
;
uint16_t
mNextLabelOffset
;
uint16_t
mNameEndOffset
;
uint16_t
mMinLabelOffset
;
}
;
Fields
Field
Declared as
ot::Dns::Name::LabelIterator::kUnsetNameEndOffset
ot::Dns::Name::LabelIterator::mMessage
const
Message
&
ot::Dns::Name::LabelIterator::mLabelStartOffset
uint16_t
ot::Dns::Name::LabelIterator::mLabelLength
uint8_t
ot::Dns::Name::LabelIterator::mNextLabelOffset
uint16_t
ot::Dns::Name::LabelIterator::mNameEndOffset
uint16_t
ot::Dns::Name::LabelIterator::mMinLabelOffset
uint16_t
Methods
IsEndOffsetSet() const
GetNextLabel()
ReadLabel() const
CompareLabel() const
CompareLabel() const
AppendLabel() const
CaseInsensitiveMatch()
Examples
References
from
examples
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
Lifecycle
from
examples
All items filtered out
All items filtered out