Searched defs:LabelIterator (Results 1 – 1 of 1) sorted by relevance
1140 struct LabelIterator struct in ot::Dns::Name1142 …expr uint16_t kUnsetNameEndOffset = 0; // Special value indicating `mNameEndOffset` is not yet set.1144 LabelIterator(const Message &aMessage, uint16_t aLabelOffset) in LabelIterator() argument1152 bool IsEndOffsetSet(void) const { return (mNameEndOffset != kUnsetNameEndOffset); } in IsEndOffsetSet()1161 const Message &mMessage; // Message to read labels from.1162 … uint16_t mLabelStartOffset; // Offset in `mMessage` to the first char of current label text.1163 uint8_t mLabelLength; // Length of current label (number of chars).1164 uint16_t mNextLabelOffset; // Offset in `mMessage` to the start of the next label.1165 …_t mNameEndOffset; // Offset in `mMessage` to the byte after the end of domain name field.1166 …int16_t mMinLabelOffset; // Offset in `mMessage` to the start of the earliest parsed label.