Home
last modified time | relevance | path

Searched refs:srcAddr (Results 1 – 3 of 3) sorted by relevance

/openthread-3.4.0/src/posix/platform/
Dinfra_if.cpp521 struct sockaddr_in6 srcAddr; in ReceiveIcmp6Message() local
524 memset(&srcAddr, 0, sizeof(srcAddr)); in ReceiveIcmp6Message()
531 msg.msg_name = &srcAddr; in ReceiveIcmp6Message()
532 msg.msg_namelen = sizeof(srcAddr); in ReceiveIcmp6Message()
567 … VerifyOrExit(hopLimit == 255 && IN6_IS_ADDR_LINKLOCAL(&srcAddr.sin6_addr), error = OT_ERROR_DROP); in ReceiveIcmp6Message()
569 …otPlatInfraIfRecvIcmp6Nd(gInstance, ifIndex, reinterpret_cast<otIp6Address *>(&srcAddr.sin6_addr),… in ReceiveIcmp6Message()
Dnetif.cpp1573 struct sockaddr_in6 srcAddr; local
1574 socklen_t addrLen = sizeof(srcAddr);
1582 …cvfrom(sMLDMonitorFd, buffer, sizeof(buffer), 0, reinterpret_cast<sockaddr *>(&srcAddr), &addrLen);
1600 if (memcmp(&addr6->sin6_addr, &srcAddr.sin6_addr, sizeof(in6_addr)) == 0)
/openthread-3.4.0/src/core/mac/
Dmac.cpp1639 Address srcAddr; in ProcessEnhAckSecurity() local
1662 IgnoreError(aAckFrame.GetSrcAddr(srcAddr)); in ProcessEnhAckSecurity()
1664 if (!srcAddr.IsNone()) in ProcessEnhAckSecurity()
1666 neighbor = Get<NeighborTable>().FindNeighbor(srcAddr); in ProcessEnhAckSecurity()
1679 if (!srcAddr.IsExtended() && neighbor != nullptr) in ProcessEnhAckSecurity()
1681 srcAddr.SetExtended(neighbor->GetExtAddress()); in ProcessEnhAckSecurity()
1684 VerifyOrExit(srcAddr.IsExtended() && neighbor != nullptr); in ProcessEnhAckSecurity()
1710 error = aAckFrame.ProcessReceiveAesCcm(srcAddr.GetExtended(), *macKey); in ProcessEnhAckSecurity()