Home
last modified time | relevance | path

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

/openthread-latest/tests/unit/
Dtest_ip4_header.cpp60 Address destination; in TestIp4Header() local
64 SuccessOrQuit(destination.FromString("10.0.0.1"), "Address::FromString() failed"); in TestIp4Header()
82 header.SetDestination(destination); in TestIp4Header()
88 VerifyOrQuit(header.GetDestination() == destination); in TestIp4Header()
98 …uit(memcmp(&headerBytes[Header::kDestinationAddressOffset], &destination, sizeof(destination)) == … in TestIp4Header()
116 …uit(memcmp(&headerBytes[Header::kDestinationAddressOffset], &destination, sizeof(destination)) == … in TestIp4Header()
Dtest_ip6_header.cpp64 Address destination; in TestIp6Header() local
68 …SuccessOrQuit(destination.FromString("1122:3344:5566::7788:99aa:bbcc:ddee:ff23"), "Address::FromSt… in TestIp6Header()
86 header.SetDestination(destination); in TestIp6Header()
94 VerifyOrQuit(header.GetDestination() == destination); in TestIp6Header()
104 …rQuit(memcmp(&headerBytes[Header::kDestinationFieldOffset], &destination, sizeof(destination)) == … in TestIp6Header()
/openthread-latest/src/cli/
DREADME_COMMISSIONER.md54 Usage: `commissioner announce <mask> <count> <period> <destination>`
61 - destination: IPv6 destination for the message (may be multicast).
70 Usage: `commissioner energy <mask> <count> <period> <scanDuration> <destination>`
78 - destination: IPv6 destination for the message (may be multicast).
168 Usage: `commissioner panid <panid> <mask> <destination>`
174 - destination: IPv6 destination for the message (may be multicast).
DREADME_UDP.md160 - ip: the destination address.
161 - port: the UDP destination port.
183 - ip: the IPv6 destination address.
184 - port: the UDP destination port.
DREADME_DATASET.md542 Usage: `dataset mgmtgetcommand <active|pending> [address <destination>] [TLV list] [-x]`
Dcli.cpp3098 otIp6Address destination, target; in Process() local
3101 SuccessOrExit(error = aArgs[1].ParseAsIp6Address(destination)); in Process()
3104 otThreadSendAddressNotification(GetInstancePtr(), &destination, &target, &mlIid); in Process()
DREADME.md2162 Locate the closest destination of an anycast address (i.e., find the destination's mesh local EID a…
2166 The closest destination is determined based on the the current routing table and path costs within …
2176 Locate the closest destination of a service anycast address:
2914 Get the next hop (as RLOC16) and path cost towards a given RLOC16 destination.
/openthread-latest/src/core/utils/
Dlink_metrics_manager.cpp284 Ip6::Address destination; in ConfigureEap() local
289 destination.SetToLinkLocalAddress(neighbor->GetExtAddress()); in ConfigureEap()
295 …aInstance.Get<LinkMetrics::Initiator>().SendMgmtRequestEnhAckProbing(destination, enhAckFlags, &me… in ConfigureEap()
310 Ip6::Address destination; in UnregisterEap() local
314 destination.SetToLinkLocalAddress(neighbor->GetExtAddress()); in UnregisterEap()
316 …error = aInstance.Get<LinkMetrics::Initiator>().SendMgmtRequestEnhAckProbing(destination, enhAckFl… in UnregisterEap()
Dmesh_diag.cpp89 Ip6::Address destination; in DiscoverTopology() local
96destination.SetToRoutingLocator(Get<Mle::Mle>().GetMeshLocalPrefix(), Mle::Rloc16FromRouterId(rout… in DiscoverTopology()
98 …xit(error = Get<Client>().SendCommand(kUriDiagnosticGetRequest, Message::kPriorityLow, destination, in DiscoverTopology()
166 Ip6::Address destination; in SendQuery() local
173 destination.SetToRoutingLocator(Get<Mle::Mle>().GetMeshLocalPrefix(), aRloc16); in SendQuery()
175 …it(error = Get<Client>().SendCommand(kUriDiagnosticGetQuery, Message::kPriorityNormal, destination, in SendQuery()
/openthread-latest/src/core/thread/
Dmle.cpp1657 Ip6::Address destination; in SendParentRequest() local
1689 destination.SetToLinkLocalAddress(mParent.GetExtAddress()); in SendParentRequest()
1690 error = messageToCurParent->SendTo(destination); in SendParentRequest()
1698 Log(kMessageSend, kTypeParentRequestToRouters, destination); in SendParentRequest()
1700 destination.SetToLinkLocalAddress(mParentSearch.GetSelectedParent().GetExtAddress()); in SendParentRequest()
1705 destination.SetToLinkLocalAllRoutersMulticast(); in SendParentRequest()
1708 SuccessOrExit(error = message->SendTo(destination)); in SendParentRequest()
1714 Log(kMessageSend, kTypeParentRequestToRouters, destination); in SendParentRequest()
1718 Log(kMessageSend, kTypeParentRequestToRoutersReeds, destination); in SendParentRequest()
1763 Ip6::Address destination; in SendChildIdRequest() local
[all …]
Dmle_router.cpp539 Ip6::Address destination; in SendMulticastAdvertisement() local
541 destination.SetToLinkLocalAllNodesMulticast(); in SendMulticastAdvertisement()
542 SendAdvertisement(destination); in SendMulticastAdvertisement()
547 Ip6::Address destination; in ScheduleUnicastAdvertisementTo() local
549 destination.SetToLinkLocalAddress(aRouter.GetExtAddress()); in ScheduleUnicastAdvertisementTo()
550 mDelayedSender.ScheduleAdvertisement(destination, in ScheduleUnicastAdvertisementTo()
610 Ip6::Address destination; in SendLinkRequest() local
612 destination.Clear(); in SendLinkRequest()
655 destination.SetToLinkLocalAllRoutersMulticast(); in SendLinkRequest()
672 destination.SetToLinkLocalAddress(aRouter->GetExtAddress()); in SendLinkRequest()
[all …]
Ddiscover_scanner.cpp65 Ip6::Address destination; in Discover() local
129 destination.SetToLinkLocalAllRoutersMulticast(); in Discover()
131 SuccessOrExit(error = message->SendTo(destination)); in Discover()
154 Mle::Log(Mle::kMessageSend, Mle::kTypeDiscoveryRequest, destination); in Discover()
Dmesh_forwarder_ftd.cpp58 const Ip6::Address &destination = ip6Header.GetDestination(); in SendMessage() local
62 if (destination.IsMulticast()) in SendMessage()
68 if (!destination.IsMulticastLargerThanRealmLocal()) in SendMessage()
80 … bool destinedForAll = ((destination == Get<Mle::Mle>().GetLinkLocalAllThreadNodesAddress()) || in SendMessage()
81 … (destination == Get<Mle::Mle>().GetRealmLocalAllThreadNodesAddress())); in SendMessage()
85 … if (!child.IsRxOnWhenIdle() && (destinedForAll || child.HasIp6Address(destination))) in SendMessage()
94 Neighbor *neighbor = Get<NeighborTable>().FindNeighbor(destination); in SendMessage()
Dlowpan.cpp507 uint16_t destination; in CompressUdp() local
512 destination = udpHeader.GetDestinationPort(); in CompressUdp()
514 if ((source & 0xfff0) == 0xf0b0 && (destination & 0xfff0) == 0xf0b0) in CompressUdp()
517 …SuccessOrExit(error = aFrameBuilder.AppendUint8((((source & 0xf) << 4) | (destination & 0xf)) & 0x… in CompressUdp()
523 SuccessOrExit(error = aFrameBuilder.AppendBigEndianUint16(destination)); in CompressUdp()
525 else if ((destination & 0xff00) == 0xf000) in CompressUdp()
529 SuccessOrExit(error = aFrameBuilder.AppendUint8(destination & 0xff)); in CompressUdp()
Daddress_resolver.cpp768 Ip6::Address destination; in HandleTmf() local
823destination.SetToRoutingLocator(Get<Mle::Mle>().GetMeshLocalPrefix(), child.GetRloc16()); in HandleTmf()
825 SendAddressError(target, meshLocalIid, &destination); in HandleTmf()
/openthread-latest/src/core/meshcop/
Ddataset_manager_ftd.cpp223 Ip6::Address destination; in HandleSetOrReplace() local
226 Get<Mle::Mle>().GetCommissionerAloc(localSessionId, destination); in HandleSetOrReplace()
227 Get<Leader>().SendDatasetChanged(destination); in HandleSetOrReplace()
/openthread-latest/src/core/diags/
DREADME.md246 Enable the diag filter module to only receive frames with a specified destination address.
255 Disable the diag filter module from only receiving frames with a specified destination address.
264 Set the destination address of the radio receive filter.
266 - destaddress: The destination mac address. It can be a short, extended or none. Use '-' to specify…
/openthread-latest/tools/harness-thci/
DOpenThread_WpanCtl.py1311 def ping(self, destination, length=20): argument
1320 print('destination: %s' % destination)
1322 cmd = 'ping %s -c 1 -s %s -I %s' % (destination, str(length), self.wpan_interface)
1333 def multicast_Ping(self, destination, length=20): argument
1342 print('destination: %s' % destination)
1344 cmd = 'ping %s -c 1 -s %s -I %s' % (destination, str(length), self.wpan_interface)
DOpenThread_BR.py467 def multicast_Ping(self, destination, length=20): argument
482 cmd = 'ping -6 -I %s %s -c 1 -s %d -t %d' % (ifName, destination, str(length), hop_limit)
DOpenThread.py1352 def multicast_Ping(self, destination, length=20): argument
1360 cmd = 'ping %s %s' % (destination, str(length))
3038 def sendUdp(self, destination, port, payload='hello'): argument
3040 cmd = 'udp send %s %d %s' % (destination, port, payload)
3044 def send_udp(self, interface, destination, port, payload='12ABcd'): argument
3051 cmd = 'udp send %s %s -x %s' % (destination, port, payload)
/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_bignum_core.function592 mbedtls_mpi_uint *X = NULL; /* destination - the in/out first operand */
Dtest_suite_ecp.function1855 * the destination mod residue, compare the two mod residues.
/openthread-latest/doc/
DDoxyfile.in1504 # output directory using the MATHJAX_RELPATH option. The destination directory
/openthread-latest/third_party/mbedtls/repo/
DChangeLog4045 without checking whether there is enough space in the destination. The