Searched refs:extHeader (Results 1 – 3 of 3) sorted by relevance
/openthread-3.4.0/tests/unit/ |
D | test_lowpan.cpp | 1267 uint8_t extHeader[] = {0x3a, 0x00, 0x6d, 0x04, 0x60, 0x11, 0x00, 0x0c}; in TestExtensionHeaderHopByHopNoPadding() local 1268 testVector.SetExtHeader(extHeader, sizeof(extHeader)); in TestExtensionHeaderHopByHopNoPadding() 1296 uint8_t extHeader[] = {0x3a, 0x00, 0x6d, 0x03, 0x60, 0x11, 0x00, 0x00}; in TestExtensionHeaderHopByHopPad1() local 1297 testVector.SetExtHeader(extHeader, sizeof(extHeader)); in TestExtensionHeaderHopByHopPad1() 1325 uint8_t extHeader[] = {0x3a, 0x00, 0x6d, 0x02, 0x60, 0x11, 0x01, 0x00}; in TestExtensionHeaderHopByHopPadN2() local 1326 testVector.SetExtHeader(extHeader, sizeof(extHeader)); in TestExtensionHeaderHopByHopPadN2() 1354 uint8_t extHeader[] = {0x3a, 0x00, 0x6d, 0x01, 0x60, 0x01, 0x01, 0x00}; in TestExtensionHeaderHopByHopPadN3() local 1355 testVector.SetExtHeader(extHeader, sizeof(extHeader)); in TestExtensionHeaderHopByHopPadN3() 1383 uint8_t extHeader[] = {0x3a, 0x00, 0x6d, 0x00, 0x01, 0x02, 0x00, 0x00}; in TestExtensionHeaderHopByHopPadN4() local 1384 testVector.SetExtHeader(extHeader, sizeof(extHeader)); in TestExtensionHeaderHopByHopPadN4() [all …]
|
/openthread-3.4.0/src/core/thread/ |
D | lowpan.cpp | 439 Ip6::ExtensionHeader extHeader; in CompressExtensionHeader() local 444 SuccessOrExit(error = aMessage.Read(aMessage.GetOffset(), extHeader)); in CompressExtensionHeader() 445 aMessage.MoveOffset(sizeof(extHeader)); in CompressExtensionHeader() 449 switch (extHeader.GetNextHeader()) in CompressExtensionHeader() 458 tmpByte = static_cast<uint8_t>(extHeader.GetNextHeader()); in CompressExtensionHeader() 464 len = extHeader.GetSize() - sizeof(extHeader); in CompressExtensionHeader() 496 aNextHeader = static_cast<uint8_t>(extHeader.GetNextHeader()); in CompressExtensionHeader()
|
/openthread-3.4.0/src/core/net/ |
D | ip6.cpp | 836 ExtensionHeader extHeader; in HandleExtensionHeaders() local 840 SuccessOrExit(error = aMessage.Read(aMessage.GetOffset(), extHeader)); in HandleExtensionHeaders() 869 aNextHeader = static_cast<uint8_t>(extHeader.GetNextHeader()); in HandleExtensionHeaders()
|