Lines Matching refs:interfaceInfo
857 outInfo->ip = ifd->interfaceInfo.ip; in mDNSPlatformInterfaceIDToInfo()
889 if( ( ifd->scopeID == inIndex ) && ifd->interfaceInfo.InterfaceActive ) in mDNSPlatformInterfaceIDfromInterfaceIndex()
891 id = ifd->interfaceInfo.InterfaceID; in mDNSPlatformInterfaceIDfromInterfaceIndex()
2501 if ( ifd->interfaceInfo.McastTxRx == mDNStrue ) in SetupInterfaceList()
2519 inMDNS->p->unicastSock4.addr = ifd->interfaceInfo.ip; in SetupInterfaceList()
2556 if ( ifd->interfaceInfo.McastTxRx == mDNStrue ) in SetupInterfaceList()
2569 inMDNS->p->unicastSock6.addr = ifd->interfaceInfo.ip; in SetupInterfaceList()
2703 …fo, DEBUG_NAME "freeing unreferenced, inactive interface %#p %#a\n", ifd, &ifd->interfaceInfo.ip ); in TearDownInterfaceList()
2757 strncpy(ifd->interfaceInfo.ifname, inIFA->ifa_name, sizeof(ifd->interfaceInfo.ifname)); in SetupInterface()
2758 ifd->interfaceInfo.ifname[sizeof(ifd->interfaceInfo.ifname)-1] = 0; in SetupInterface()
2767 …ifd->interfaceInfo.McastTxRx = ( ( inIFA->ifa_flags & IFF_MULTICAST ) && !( inIFA->ifa_flags & I… in SetupInterface()
2768 ifd->interfaceInfo.InterfaceID = NULL; in SetupInterface()
2774 if (!ifd->interfaceInfo.InterfaceID) in SetupInterface()
2776 ifd->interfaceInfo.InterfaceID = (mDNSInterfaceID) p; in SetupInterface()
2780 ( p->interfaceInfo.ip.type == mDNSAddrType_IPv4 ) && in SetupInterface()
2781 ( p->interfaceInfo.ip.ip.v4.b[ 0 ] != 169 || p->interfaceInfo.ip.ip.v4.b[ 1 ] != 254 ) ) in SetupInterface()
2783 ifd->interfaceInfo.McastTxRx = mDNSfalse; in SetupInterface()
2790 if ( !ifd->interfaceInfo.InterfaceID ) in SetupInterface()
2792 ifd->interfaceInfo.InterfaceID = (mDNSInterfaceID) ifd; in SetupInterface()
2797 if( ifd->interfaceInfo.McastTxRx ) in SetupInterface()
2821 ifd->interfaceInfo.NetWake = inIFA->ifa_womp; in SetupInterface()
2825 err = SockAddrToMDNSAddr( inIFA->ifa_addr, &ifd->interfaceInfo.ip, NULL ); in SetupInterface()
2828 err = SockAddrToMDNSAddr( inIFA->ifa_netmask, &ifd->interfaceInfo.mask, NULL ); in SetupInterface()
2831 memcpy( ifd->interfaceInfo.MAC.b, inIFA->ifa_physaddr, sizeof( ifd->interfaceInfo.MAC.b ) ); in SetupInterface()
2833 ifd->interfaceInfo.Advertise = ( mDNSu8 ) inMDNS->AdvertiseLocalAddresses; in SetupInterface()
2841 err = mDNS_RegisterInterface( inMDNS, &ifd->interfaceInfo, mDNSfalse ); in SetupInterface()
2873 …dlog( kDebugLevelInfo, DEBUG_NAME "Deregistering interface %#a with mDNS\n", &inIFD->interfaceInfo… in TearDownInterface()
2878 mDNS_DeregisterInterface( inMDNS, &inIFD->interfaceInfo, mDNSfalse ); in TearDownInterface()
2892 …ugLevelInfo, DEBUG_NAME "deferring free of interface %#p %#a\n", inIFD, &inIFD->interfaceInfo.ip ); in TearDownInterface()
2896 …LevelInfo, DEBUG_NAME "freeing interface %#p %#a immediately\n", inIFD, &inIFD->interfaceInfo.ip ); in TearDownInterface()
3360 …hatty, DEBUG_NAME " interface = %#a (index=0x%08X)\n", &sock->ifd->interfaceInfo.ip, sock->ifd-… in UDPEndRecv()
5154 const mDNSInterfaceID iid = sock->ifd ? sock->ifd->interfaceInfo.InterfaceID : NULL; in DispatchUDPEvent()