Searched refs:meshHeader (Results 1 – 3 of 3) sorted by relevance
/openthread-3.7.0/src/core/thread/ |
D | mesh_forwarder_ftd.cpp | 298 Lowpan::MeshHeader meshHeader; in RemoveMessages() local 300 IgnoreError(meshHeader.ParseFrom(message)); in RemoveMessages() 302 if (&aChild == Get<NeighborTable>().FindNeighbor(meshHeader.GetDestination())) in RemoveMessages() 371 Lowpan::MeshHeader meshHeader; in UpdateMeshRoute() local 375 IgnoreError(meshHeader.ParseFrom(aMessage)); in UpdateMeshRoute() 377 nextHop = Get<Mle::MleRouter>().GetNextHop(meshHeader.GetDestination()); in UpdateMeshRoute() 385 neighbor = Get<NeighborTable>().FindNeighbor(meshHeader.GetDestination()); in UpdateMeshRoute() 397 mMeshDest = meshHeader.GetDestination(); in UpdateMeshRoute() 398 mMeshSource = meshHeader.GetSource(); in UpdateMeshRoute() 668 Lowpan::MeshHeader meshHeader; in HandleMesh() local [all …]
|
D | mesh_forwarder.cpp | 311 Lowpan::MeshHeader meshHeader; in UpdateEcnOrDrop() local 313 IgnoreError(meshHeader.ParseFrom(aMessage, headerLength)); in UpdateEcnOrDrop() 333 … entry = mFragmentPriorityList.FindEntry(meshHeader.GetSource(), fragmentHeader.GetDatagramTag()); in UpdateEcnOrDrop() 364 … entry = mFragmentPriorityList.FindEntry(meshHeader.GetSource(), fragmentHeader.GetDatagramTag()); in UpdateEcnOrDrop() 958 Lowpan::MeshHeader meshHeader; in PrepareDataFrame() local 981 meshHeader.Init(aMeshSource, aMeshDest, kMeshHeaderHopsLeft); in PrepareDataFrame() 983 IgnoreError(meshHeader.AppendTo(frameBuilder)); in PrepareDataFrame()
|
/openthread-3.7.0/tests/unit/ |
D | test_lowpan.cpp | 1872 Lowpan::MeshHeader meshHeader; in TestLowpanMeshHeader() local 1874 meshHeader.Init(kSourceAddr, kDestAddr, 1); in TestLowpanMeshHeader() 1875 VerifyOrQuit(meshHeader.GetSource() == kSourceAddr, "failed after Init()"); in TestLowpanMeshHeader() 1876 VerifyOrQuit(meshHeader.GetDestination() == kDestAddr, "failed after Init()"); in TestLowpanMeshHeader() 1877 VerifyOrQuit(meshHeader.GetHopsLeft() == 1, "failed after Init()"); in TestLowpanMeshHeader() 1880 SuccessOrQuit(meshHeader.AppendTo(frameBuilder)); in TestLowpanMeshHeader() 1882 VerifyOrQuit(length == meshHeader.GetHeaderLength()); in TestLowpanMeshHeader() 1886 memset(&meshHeader, 0, sizeof(meshHeader)); in TestLowpanMeshHeader() 1889 SuccessOrQuit(meshHeader.ParseFrom(frameData)); in TestLowpanMeshHeader() 1892 VerifyOrQuit(meshHeader.GetSource() == kSourceAddr, "failed after ParseFrom()"); in TestLowpanMeshHeader() [all …]
|