Lines Matching refs:intfName
220 errno, strerror(errno), dst, &thisIntf->coreIntf.ip, thisIntf->intfName, thisIntf->index); in mDNSPlatformSendUDP()
296 …if (packetInfo.ipi_ifname[0] != 0) reject = (strcmp(packetInfo.ipi_ifname, intf->intfName) !=… in SocketDataReady()
303 &intf->coreIntf.ip, intf->intfName, intf->index, skt); in SocketDataReady()
318 &senderAddr, &destAddr, &intf->coreIntf.ip, intf->intfName, intf->index, skt); in SocketDataReady()
535 mDNSlocal PosixNetworkInterface *SearchForInterfaceByName(mDNS *const m, const char *intfName) in SearchForInterfaceByName() argument
540 assert(intfName != NULL); in SearchForInterfaceByName()
543 while ((intf != NULL) && (strcmp(intf->intfName, intfName) != 0)) in SearchForInterfaceByName()
589 if (intf->intfName != NULL) free((void *)intf->intfName); in FreePosixNetworkInterface()
614 …gMDNSPlatformPosixVerboseLevel > 0) fprintf(stderr, "Deregistered interface %s\n", intf->intfName); in ClearInterfaceList()
851 …const m, struct sockaddr *intfAddr, struct sockaddr *intfMask, const char *intfName, int intfIndex) in SetupOneInterface() argument
859 assert(intfName != NULL); in SetupOneInterface()
869 intf->intfName = strdup(intfName); in SetupOneInterface()
870 if (intf->intfName == NULL) { assert(0); err = ENOMEM; } in SetupOneInterface()
880 strncpy(intf->coreIntf.ifname, intfName, sizeof(intf->coreIntf.ifname)); in SetupOneInterface()
886 assert(intf->intfName != NULL); // intf->intfName already set up above in SetupOneInterface()
892 alias = SearchForInterfaceByName(m, intf->intfName); in SetupOneInterface()
897 …debugf("SetupOneInterface: %s %#a is an alias of %#a", intfName, &intf->coreIntf.ip, &alias->coreI… in SetupOneInterface()
919 debugf("SetupOneInterface: %s %#a Registered", intf->intfName, &intf->coreIntf.ip); in SetupOneInterface()
921 fprintf(stderr, "Registered interface %s\n", intf->intfName); in SetupOneInterface()
926 debugf("SetupOneInterface: %s %#a failed to register %d", intfName, &intf->coreIntf.ip, err); in SetupOneInterface()