Searched refs:gNetifIndex (Results 1 – 3 of 3) sorted by relevance
97 peerAddr.sin6_scope_id = gNetifIndex; in transmitPacket()135 pktinfo.ipi6_ifindex = aMessageInfo.mIsHostInterface ? 0 : gNetifIndex; in transmitPacket()203 aMessageInfo.mIsHostInterface = (pktinfo.ipi6_ifindex != gNetifIndex); in receivePacket()257 assert(gNetifIndex != 0); in otPlatUdpBind()314 … VerifyOrExit(setsockopt(fd, IPPROTO_IPV6, IPV6_BOUND_IF, &gNetifIndex, sizeof(gNetifIndex)) == 0, in otPlatUdpBindToNetif()478 mreq.ipv6mr_interface = gNetifIndex; in otPlatUdpJoinMulticastGroup()521 mreq.ipv6mr_interface = gNetifIndex; in otPlatUdpLeaveMulticastGroup()554 VerifyOrExit(gNetifIndex != 0); in Update()588 assert(gNetifIndex == 0); in Init()590 gNetifIndex = if_nametoindex(gNetifName); in Init()[all …]
159 unsigned int gNetifIndex = 0; variable167 unsigned int otSysGetThreadNetifIndex(void) { return gNetifIndex; } in otSysGetThreadNetifIndex()454 req.ifa.ifa_index = gNetifIndex; in UpdateUnicastLinux()564 mreq.ipv6mr_interface = gNetifIndex; in UpdateMulticast()1311 …VerifyOrExit(ifaddr->ifa_index == static_cast<unsigned int>(gNetifIndex) && ifaddr->ifa_family == … in processNetifAddrEvent()1419 … VerifyOrExit(ifinfo->ifi_index == static_cast<int>(gNetifIndex) && (ifinfo->ifi_change & IFF_UP)); in processNetifLinkEvent()1499 VerifyOrExit(ifam->ifam_index == static_cast<unsigned int>(gNetifIndex)); in processNetifAddrEvent()1509 VerifyOrExit(ifmam->ifmam_index == static_cast<unsigned int>(gNetifIndex)); in processNetifAddrEvent()1683 VerifyOrExit(ifm->ifm_index == static_cast<int>(gNetifIndex)); in processNetifInfoEvent()1880 mreq6.ipv6mr_interface = gNetifIndex;[all …]
376 extern unsigned int gNetifIndex;