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