Home | History | Annotate | Download | only in mDNSPosix

Lines Matching refs:interface

31 #include "mDNSEmbeddedAPI.h"           // Defines the interface provided to the client layer above
81 // Context record for interface change callback
212 LogMsg("mDNSPlatformSendUDP got error %d (%s) sending packet to %#a on interface %#a/%s/%d",
261 // no way to tell the destination address or interface this packet arrived on,
273 // We only accept the packet if the interface on which it came
274 // in matches the interface associated with this socket.
294 verbosedebugf("SocketDataReady ignored a packet from %#a to %#a on interface %s/%d expecting %#a/%s/%d/%d",
302 "*** WARNING: Received %d packets; Accepted %d packets; Rejected %d packets because of interface mismatch\n",
310 verbosedebugf("SocketDataReady got a packet from %#a to %#a on interface %#a/%s/%d/%d",
523 // Searches the interface list looking for the named interface.
575 // interface must have already been deregistered with the mDNS core.
587 // Grab the first interface, deregister it, free it, and repeat until done.
596 if (gMDNSPlatformPosixVerboseLevel > 0) fprintf(stderr, "Deregistered interface %s\n", intf->intfName);
605 // If mDNSIPPort port is non-zero, then it's a multicast socket on the specified interface
642 // We want to receive destination addresses and interface identifiers.
665 #warning This platform has no way to get the destination interface information -- will only work for single-homed hosts
675 // Add multicast group membership on this interface
684 // Specify outgoing interface too
731 #warning This platform has no way to get the destination interface information for IPv6 -- will only work for single-homed hosts
741 // Add multicast group membership on this interface
756 // Specify outgoing interface too
825 // Creates a PosixNetworkInterface for the interface whose IP address is
838 // Allocate the interface structure itself.
887 // The interface is all ready to go, let's register it with the mDNS core.
897 fprintf(stderr, "Registered interface %s\n", intf->intfName);
959 // If we found no normal interfaces but we did find a loopback interface, register the
960 // loopback interface. This allows self-discovery if no interfaces are configured.
962 // In the interim, we skip loopback interface only if we found at least one v4 interface to use
977 // Open a socket that will receive interface change notifications
1033 // Read through the messages on sd and if any indicate that any interface records should
1094 // Open a socket that will receive interface change notifications
1122 // Read through the messages on sd and if any indicate that any interface records should
1153 // Called when data appears on interface change notification socket
1173 // Currently we rebuild the entire interface list whenever any interface change is
1180 // Register with either a Routing Socket or RtNetLink to listen for interface changes.
1259 // Failure to observe interface changes is non-fatal.
1262 fprintf(stderr, "mDNS(%d) WARNING: Unable to detect interface changes (%d).\n", getpid(), err);
1277 // In our case all we need to do is to tear down every network interface.