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