Home
last modified time | relevance | path

Searched refs:ip6HeaderBytes (Results 1 – 1 of 1) sorted by relevance

/openthread-3.5.0/src/core/thread/
Dlowpan.cpp248 uint8_t *ip6HeaderBytes = reinterpret_cast<uint8_t *>(&ip6Header); in Compress() local
272 dscp = ((ip6HeaderBytes[0] << 2) & 0x3c) | (ip6HeaderBytes[1] >> 6); in Compress()
273 ecn = (ip6HeaderBytes[1] << 2) & 0xc0; in Compress()
276 … if (((ip6HeaderBytes[1] & 0x0f) == 0) && ((ip6HeaderBytes[2]) == 0) && ((ip6HeaderBytes[3]) == 0)) in Compress()
296 SuccessOrExit(error = aFrameBuilder.AppendUint8(ecn | (ip6HeaderBytes[1] & 0x0f))); in Compress()
297 SuccessOrExit(error = aFrameBuilder.AppendBytes(ip6HeaderBytes + 2, 2)); in Compress()
303 SuccessOrExit(error = aFrameBuilder.AppendUint8(ip6HeaderBytes[1] & 0x0f)); in Compress()
304 SuccessOrExit(error = aFrameBuilder.AppendBytes(ip6HeaderBytes + 2, 2)); in Compress()
638 uint8_t *ip6HeaderBytes = reinterpret_cast<uint8_t *>(&aIp6Header); in DecompressBaseHeader() local
642 ip6HeaderBytes[1] |= (aFrameData.GetBytes()[0] & 0xc0) >> 2; in DecompressBaseHeader()
[all …]