/openthread-3.6.0/src/core/radio/ |
D | trel_link.cpp | 321 void Link::ProcessReceivedPacket(Packet &aPacket) in ProcessReceivedPacket() argument 325 VerifyOrExit(aPacket.IsHeaderValid()); in ProcessReceivedPacket() 327 type = aPacket.GetHeader().GetType(); in ProcessReceivedPacket() 336 VerifyOrExit(aPacket.GetHeader().GetChannel() == mRxChannel); in ProcessReceivedPacket() 341 Mac::PanId rxPanId = aPacket.GetHeader().GetPanId(); in ProcessReceivedPacket() 347 VerifyOrExit(aPacket.GetHeader().GetSource() != Get<Mac::Mac>().GetExtAddress()); in ProcessReceivedPacket() 351 VerifyOrExit(aPacket.GetHeader().GetDestination() == Get<Mac::Mac>().GetExtAddress()); in ProcessReceivedPacket() 355 HandleAck(aPacket); in ProcessReceivedPacket() 360 …LogDebg("ReceivedPacket() [%s] plen:%d", aPacket.GetHeader().ToString().AsCString(), aPacket.GetPa… in ProcessReceivedPacket() 362 if (aPacket.GetHeader().GetAckMode() == Header::kAckRequested) in ProcessReceivedPacket() [all …]
|
D | trel_interface.cpp | 359 Error Interface::Send(const Packet &aPacket, bool aIsDiscovery) in Send() argument 367 switch (aPacket.GetHeader().GetType()) in Send() 377 … otPlatTrelSend(&GetInstance(), aPacket.GetBuffer(), aPacket.GetLength(), &entry.mSockAddr); in Send() 383 peerEntry = mPeerTable.FindMatching(aPacket.GetHeader().GetDestination()); in Send() 385 … otPlatTrelSend(&GetInstance(), aPacket.GetBuffer(), aPacket.GetLength(), &peerEntry->mSockAddr); in Send()
|
D | ble_secure.cpp | 519 …eGattServerOnWriteRequest(otInstance *aInstance, uint16_t aHandle, const otBleRadioPacket *aPacket) in otPlatBleGattServerOnWriteRequest() argument 523 VerifyOrExit(aPacket != nullptr); in otPlatBleGattServerOnWriteRequest() 524 …ue(AsCoreType(aInstance).Get<Ble::BleSecure>().HandleBleReceive(aPacket->mValue, aPacket->mLength)… in otPlatBleGattServerOnWriteRequest()
|
D | trel_link.hpp | 171 void ProcessReceivedPacket(Packet &aPacket);
|
D | trel_interface.hpp | 277 Error Send(const Packet &aPacket, bool aIsDiscovery = false);
|
/openthread-3.6.0/src/core/border_router/ |
D | infra_if.cpp | 89 Error InfraIf::Send(const Icmp6Packet &aPacket, const Ip6::Address &aDestination) const in Send() argument 93 … return otPlatInfraIfSendIcmp6Nd(mIfIndex, &aDestination, aPacket.GetBytes(), aPacket.GetLength()); in Send() 96 …nfraIf::HandledReceived(uint32_t aIfIndex, const Ip6::Address &aSource, const Icmp6Packet &aPacket) in HandledReceived() argument 102 VerifyOrExit(aPacket.GetBytes() != nullptr, error = kErrorInvalidArgs); in HandledReceived() 103 VerifyOrExit(aPacket.GetLength() >= sizeof(Ip6::Icmp::Header), error = kErrorParse); in HandledReceived() 105 Get<RoutingManager>().HandleReceived(aPacket, aSource); in HandledReceived()
|
D | infra_if.hpp | 150 Error Send(const Icmp6Packet &aPacket, const Ip6::Address &aDestination) const; 160 … void HandledReceived(uint32_t aIfIndex, const Ip6::Address &aSource, const Icmp6Packet &aPacket);
|
D | routing_manager.cpp | 385 void RoutingManager::HandleReceived(const InfraIf::Icmp6Packet &aPacket, const Ip6::Address &aSrcAd… in HandleReceived() argument 391 icmp6Header = reinterpret_cast<const Ip6::Icmp::Header *>(aPacket.GetBytes()); in HandleReceived() 396 HandleRouterAdvertisement(aPacket, aSrcAddress); in HandleReceived() 399 HandleRouterSolicit(aPacket, aSrcAddress); in HandleReceived() 402 HandleNeighborAdvertisement(aPacket); in HandleReceived() 771 void RoutingManager::HandleRouterSolicit(const InfraIf::Icmp6Packet &aPacket, const Ip6::Address &a… in HandleRouterSolicit() argument 773 OT_UNUSED_VARIABLE(aPacket); in HandleRouterSolicit() 782 void RoutingManager::HandleNeighborAdvertisement(const InfraIf::Icmp6Packet &aPacket) in HandleNeighborAdvertisement() argument 786 VerifyOrExit(aPacket.GetLength() >= sizeof(naMsg)); in HandleNeighborAdvertisement() 787 naMsg = reinterpret_cast<const Ip6::Nd::NeighborAdvertMessage *>(aPacket.GetBytes()); in HandleNeighborAdvertisement() [all …]
|
D | routing_manager.hpp | 422 void HandleReceived(const InfraIf::Icmp6Packet &aPacket, const Ip6::Address &aSrcAddress); 1282 …void HandleRouterAdvertisement(const InfraIf::Icmp6Packet &aPacket, const Ip6::Address &aSrcAddres… 1283 void HandleRouterSolicit(const InfraIf::Icmp6Packet &aPacket, const Ip6::Address &aSrcAddress); 1284 void HandleNeighborAdvertisement(const InfraIf::Icmp6Packet &aPacket);
|
/openthread-3.6.0/examples/platforms/simulation/ |
D | ble.c | 69 …PlatBleGattServerIndicate(otInstance *aInstance, uint16_t aHandle, const otBleRadioPacket *aPacket) in otPlatBleGattServerIndicate() argument 73 OT_UNUSED_VARIABLE(aPacket); in otPlatBleGattServerIndicate()
|
/openthread-3.6.0/src/posix/platform/ |
D | ble.cpp | 69 …PlatBleGattServerIndicate(otInstance *aInstance, uint16_t aHandle, const otBleRadioPacket *aPacket) in otPlatBleGattServerIndicate() argument 73 OT_UNUSED_VARIABLE(aPacket); in otPlatBleGattServerIndicate()
|
/openthread-3.6.0/include/openthread/platform/ |
D | ble.h | 269 …latBleGattServerIndicate(otInstance *aInstance, uint16_t aHandle, const otBleRadioPacket *aPacket); 282 …GattServerOnWriteRequest(otInstance *aInstance, uint16_t aHandle, const otBleRadioPacket *aPacket);
|
/openthread-3.6.0/src/core/net/ |
D | nd6.hpp | 681 explicit RouterAdvertMessage(const Icmp6Packet &aPacket) in RouterAdvertMessage() argument 682 : mData(aPacket) in RouterAdvertMessage()
|
/openthread-3.6.0/tests/unit/ |
D | test_routing_manager.cpp | 223 void LogRouterAdvert(const Icmp6Packet &aPacket); 224 void ValidateRouterAdvert(const Icmp6Packet &aPacket); 226 void SendRouterAdvert(const Ip6::Address &aAddress, const Icmp6Packet &aPacket); 411 void ValidateRouterAdvert(const Icmp6Packet &aPacket) in ValidateRouterAdvert() argument 415 Ip6::Nd::RouterAdvertMessage raMsg(aPacket); in ValidateRouterAdvert() 569 void LogRouterAdvert(const Icmp6Packet &aPacket) in LogRouterAdvert() argument 571 Ip6::Nd::RouterAdvertMessage raMsg(aPacket); in LogRouterAdvert() 661 void SendRouterAdvert(const Ip6::Address &aAddress, const Icmp6Packet &aPacket) in SendRouterAdvert() argument 663 SendRouterAdvert(aAddress, aPacket.GetBytes(), aPacket.GetLength()); in SendRouterAdvert()
|
D | test_platform.cpp | 732 …PlatBleGattServerIndicate(otInstance *aInstance, uint16_t aHandle, const otBleRadioPacket *aPacket) in otPlatBleGattServerIndicate() argument 736 OT_UNUSED_VARIABLE(aPacket); in otPlatBleGattServerIndicate()
|