Searched refs:kIdOffset (Results 1 – 1 of 1) sorted by relevance
92 uint16_t GetId(void) const { return (HostSwap16(mFields.m16) & kIdMask) >> kIdOffset; } in GetId()102 … mFields.m16 = HostSwap16((HostSwap16(mFields.m16) & ~kIdMask) | ((aId << kIdOffset) & kIdMask)); in SetId()131 static constexpr uint8_t kIdOffset = 7; member in ot::Mac::HeaderIe133 static constexpr uint16_t kIdMask = 0x00ff << kIdOffset;