Lines Matching refs:gNetifIndex
113 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()
588 VerifyOrDie(gNetifIndex != 0, OT_EXIT_ERROR_ERRNO); in Init()
591 assert(gNetifIndex != 0); in Init()