Home
last modified time | relevance | path

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

/external/openthread/src/posix/platform/
Dudp.cpp113 peerAddr.sin6_scope_id = gNetifIndex; in transmitPacket()
152 pktinfo.ipi6_ifindex = aMessageInfo.mIsHostInterface ? 0 : gNetifIndex; in transmitPacket()
220 aMessageInfo.mIsHostInterface = (pktinfo.ipi6_ifindex != gNetifIndex); in receivePacket()
274 assert(gNetifIndex != 0); in otPlatUdpBind()
330 … VerifyOrExit(setsockopt(fd, IPPROTO_IPV6, IPV6_BOUND_IF, &gNetifIndex, sizeof(gNetifIndex)) == 0, in otPlatUdpBindToNetif()
484 mreq.ipv6mr_interface = gNetifIndex; in otPlatUdpJoinMulticastGroup()
524 mreq.ipv6mr_interface = gNetifIndex; in otPlatUdpLeaveMulticastGroup()
551 VerifyOrExit(gNetifIndex != 0); in Update()
585 assert(gNetifIndex == 0); in Init()
587 gNetifIndex = if_nametoindex(gNetifName); in Init()
[all …]
Dnetif.cpp153 unsigned int gNetifIndex = 0; variable
163 return gNetifIndex; in otSysGetThreadNetifIndex()
388 req.ifa.ifa_index = gNetifIndex; in UpdateUnicastLinux()
496 mreq.ipv6mr_interface = gNetifIndex; in UpdateMulticast()
1021 …VerifyOrExit(ifaddr->ifa_index == static_cast<unsigned int>(gNetifIndex) && ifaddr->ifa_family == … in processNetifAddrEvent()
1116 … VerifyOrExit(ifinfo->ifi_index == static_cast<int>(gNetifIndex) && (ifinfo->ifi_change & IFF_UP)); in processNetifLinkEvent()
1185 VerifyOrExit(ifam->ifam_index == static_cast<unsigned int>(gNetifIndex)); in processNetifAddrEvent()
1195 VerifyOrExit(ifmam->ifmam_index == static_cast<unsigned int>(gNetifIndex)); in processNetifAddrEvent()
1367 VerifyOrExit(ifm->ifm_index == static_cast<int>(gNetifIndex)); in processNetifInfoEvent()
1477 mreq6.ipv6mr_interface = gNetifIndex;
[all …]
Dplatform-posix.h448 extern unsigned int gNetifIndex;