Lines Matching defs:mDNS

33 #include "mDNSPosix.h"				 // Defines the specific types needed to run mDNS on this platform
85 mDNS *mDNS;
149 // mDNS core calls this routine when it needs to send a packet.
150 mDNSexport mStatus mDNSPlatformSendUDP(const mDNS *const m, const void *const msg, const mDNSu8 *const end,
223 mDNSlocal void SocketDataReady(mDNS *const m, PosixNetworkInterface *intf, int skt)
251 // convince mDNS Core that this isn't a spoof packet.
254 // destAddr to the mDNS address.
322 mDNSexport TCPSocket *mDNSPlatformTCPSocket(mDNS * const m, TCPSocketFlags flags, mDNSIPPort * port)
378 mDNSexport UDPSocket *mDNSPlatformUDPSocket(mDNS * const m, mDNSIPPort port)
390 mDNSexport void mDNSPlatformUpdateProxyList(mDNS *const m, const mDNSInterfaceID InterfaceID)
403 mDNSexport void mDNSPlatformSetLocalAddressCacheEntry(mDNS *const m, const mDNSAddr *const tpa, const mDNSEthAddr *const tha, mDNSInterfaceID InterfaceID)
420 mDNSexport void mDNSPlatformSetAllowSleep(mDNS *const m, mDNSBool allowSleep, const char *reason)
432 mDNSexport void FreeEtcHosts(mDNS *const m, AuthRecord *const rr, mStatus result)
444 mDNSexport void mDNSPlatformSetDNSConfig(mDNS *const m, mDNSBool setservers, mDNSBool setsearch, domainname *const fqdn, DNameListElem **RegDomains, DNameListElem **BrowseDomains)
454 mDNSexport mStatus mDNSPlatformGetPrimaryInterface(mDNS * const m, mDNSAddr * v4, mDNSAddr * v6, mDNSAddr * router)
497 mDNSexport int ParseDNSServers(mDNS *m, const char *filePath)
525 mDNSlocal PosixNetworkInterface *SearchForInterfaceByName(mDNS *const m, const char *intfName)
539 mDNSexport mDNSInterfaceID mDNSPlatformInterfaceIDfromInterfaceIndex(mDNS *const m, mDNSu32 index)
556 mDNSexport mDNSu32 mDNSPlatformInterfaceIndexfromInterfaceID(mDNS *const m, mDNSInterfaceID id, mDNSBool suppressNetworkChange)
575 // interface must have already been deregistered with the mDNS core.
588 mDNSlocal void ClearInterfaceList(mDNS *const m)
691 // Per the mDNS spec, send unicast packets with TTL 255
772 // Per the mDNS spec, send unicast packets with TTL 255
826 // intfAddr and whose name is intfName and registers it with mDNS core.
827 mDNSlocal int SetupOneInterface(mDNS *const m, struct sockaddr *intfAddr, struct sockaddr *intfMask, const char *intfName, int intfIndex)
851 // Set up the fields required by the mDNS core.
887 // The interface is all ready to go, let's register it with the mDNS core.
912 mDNSlocal int SetupInterfaceList(mDNS *const m)
1177 mDNSPlatformPosixRefreshInterfaceList(pChgRec->mDNS);
1181 mDNSlocal mStatus WatchForInterfaceChange(mDNS *const m)
1190 pChgRec->mDNS = m;
1216 // mDNS core calls this routine to initialise the platform-specific data.
1217 mDNSexport mStatus mDNSPlatformInit(mDNS *const m)
1225 // Tell mDNS core the names of this machine.
1248 // Tell mDNS core about the network interfaces on this machine.
1251 // Tell mDNS core about DNS Servers
1262 fprintf(stderr, "mDNS(%d) WARNING: Unable to detect interface changes (%d).\n", getpid(), err);
1276 // mDNS core calls this routine to clean up the platform-specific data.
1278 mDNSexport void mDNSPlatformClose(mDNS *const m)
1288 mDNSexport mStatus mDNSPlatformPosixRefreshInterfaceList(mDNS *const m)
1301 // mDNS core on the main thread.
1303 // mDNS core calls this routine when it wants to prevent
1304 // the platform from reentering mDNS core code.
1305 mDNSexport void mDNSPlatformLock (const mDNS *const m)
1310 // mDNS core calls this routine when it release the lock taken by
1311 // mDNSPlatformLock and allow the platform to reenter mDNS core code.
1312 mDNSexport void mDNSPlatformUnlock (const mDNS *const m)
1321 // mDNS core calls this routine to copy C strings.
1328 // mDNS core calls this routine to get the length of a C string.
1335 // mDNS core calls this routine to copy memory.
1342 // mDNS core calls this routine to test whether blocks of memory are byte-for-byte
1349 // mDNS core calls this routine to clear blocks of memory.
1394 mDNSexport void mDNSPlatformSendWakeupPacket(mDNS *const m, mDNSInterfaceID InterfaceID, char *EthAddr, char *IPAddr, int iteration)
1417 mDNSexport void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout)
1452 mDNSexport void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds)
1587 mStatus mDNSPosixRunEventLoopOnce(mDNS *m, const struct timeval *pTimeout,