Searched refs:extHeader (Results 1 – 3 of 3) sorted by relevance
/openthread-2.7.6/tests/unit/ |
D | test_lowpan.cpp | 1241 uint8_t extHeader[] = {0x3a, 0x00, 0x6d, 0x04, 0x60, 0x11, 0x00, 0x0c}; in TestExtensionHeaderHopByHopNoPadding() local 1242 testVector.SetExtHeader(extHeader, sizeof(extHeader)); in TestExtensionHeaderHopByHopNoPadding() 1270 uint8_t extHeader[] = {0x3a, 0x00, 0x6d, 0x03, 0x60, 0x11, 0x00, 0x00}; in TestExtensionHeaderHopByHopPad1() local 1271 testVector.SetExtHeader(extHeader, sizeof(extHeader)); in TestExtensionHeaderHopByHopPad1() 1299 uint8_t extHeader[] = {0x3a, 0x00, 0x6d, 0x02, 0x60, 0x11, 0x01, 0x00}; in TestExtensionHeaderHopByHopPadN2() local 1300 testVector.SetExtHeader(extHeader, sizeof(extHeader)); in TestExtensionHeaderHopByHopPadN2() 1328 uint8_t extHeader[] = {0x3a, 0x00, 0x6d, 0x01, 0x60, 0x01, 0x01, 0x00}; in TestExtensionHeaderHopByHopPadN3() local 1329 testVector.SetExtHeader(extHeader, sizeof(extHeader)); in TestExtensionHeaderHopByHopPadN3() 1357 uint8_t extHeader[] = {0x3a, 0x00, 0x6d, 0x00, 0x01, 0x02, 0x00, 0x00}; in TestExtensionHeaderHopByHopPadN4() local 1358 testVector.SetExtHeader(extHeader, sizeof(extHeader)); in TestExtensionHeaderHopByHopPadN4() [all …]
|
/openthread-2.7.6/src/core/thread/ |
D | lowpan.cpp | 473 Ip6::ExtensionHeader extHeader; in CompressExtensionHeader() local 478 SuccessOrExit(error = aMessage.Read(aMessage.GetOffset(), extHeader)); in CompressExtensionHeader() 479 aMessage.MoveOffset(sizeof(extHeader)); in CompressExtensionHeader() 483 switch (extHeader.GetNextHeader()) in CompressExtensionHeader() 492 tmpByte = static_cast<uint8_t>(extHeader.GetNextHeader()); in CompressExtensionHeader() 498 len = (extHeader.GetLength() + 1) * 8 - sizeof(extHeader); in CompressExtensionHeader() 541 aNextHeader = static_cast<uint8_t>(extHeader.GetNextHeader()); in CompressExtensionHeader()
|
/openthread-2.7.6/src/core/net/ |
D | ip6.cpp | 900 ExtensionHeader extHeader; in HandleExtensionHeaders() local 904 SuccessOrExit(error = aMessage.Read(aMessage.GetOffset(), extHeader)); in HandleExtensionHeaders() 934 aNextHeader = static_cast<uint8_t>(extHeader.GetNextHeader()); in HandleExtensionHeaders()
|