Home
last modified time | relevance | path

Searched refs:aPacket (Results 1 – 15 of 15) sorted by relevance

/openthread-3.6.0/src/core/radio/
Dtrel_link.cpp321 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 …]
Dtrel_interface.cpp359 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()
Dble_secure.cpp519 …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()
Dtrel_link.hpp171 void ProcessReceivedPacket(Packet &aPacket);
Dtrel_interface.hpp277 Error Send(const Packet &aPacket, bool aIsDiscovery = false);
/openthread-3.6.0/src/core/border_router/
Dinfra_if.cpp89 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()
Dinfra_if.hpp150 Error Send(const Icmp6Packet &aPacket, const Ip6::Address &aDestination) const;
160 … void HandledReceived(uint32_t aIfIndex, const Ip6::Address &aSource, const Icmp6Packet &aPacket);
Drouting_manager.cpp385 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 …]
Drouting_manager.hpp422 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/
Dble.c69 …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/
Dble.cpp69 …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/
Dble.h269 …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/
Dnd6.hpp681 explicit RouterAdvertMessage(const Icmp6Packet &aPacket) in RouterAdvertMessage() argument
682 : mData(aPacket) in RouterAdvertMessage()
/openthread-3.6.0/tests/unit/
Dtest_routing_manager.cpp223 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()
Dtest_platform.cpp732 …PlatBleGattServerIndicate(otInstance *aInstance, uint16_t aHandle, const otBleRadioPacket *aPacket) in otPlatBleGattServerIndicate() argument
736 OT_UNUSED_VARIABLE(aPacket); in otPlatBleGattServerIndicate()