Lines Matching defs:mDNS
21 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform
73 mDNS *mDNS;
151 // mDNS core calls this routine when it needs to send a packet.
152 mDNSexport mStatus mDNSPlatformSendUDP(const mDNS *const m, const void *const msg, const mDNSu8 *const end,
230 mDNSlocal void SocketDataReady(mDNS *const m, PosixNetworkInterface *intf, int skt)
258 // convince mDNS Core that this isn't a spoof packet.
261 // destAddr to the mDNS address.
329 mDNSexport mDNSBool mDNSPlatformPeekUDP(mDNS *const m, UDPSocket *src)
336 mDNSexport TCPSocket *mDNSPlatformTCPSocket(mDNS * const m, TCPSocketFlags flags, mDNSIPPort * port, mDNSBool useBackgroundTrafficClass)
393 mDNSexport UDPSocket *mDNSPlatformUDPSocket(mDNS * const m, mDNSIPPort port)
405 mDNSexport void mDNSPlatformUpdateProxyList(mDNS *const m, const mDNSInterfaceID InterfaceID)
418 mDNSexport void mDNSPlatformSetLocalAddressCacheEntry(mDNS *const m, const mDNSAddr *const tpa, const mDNSEthAddr *const tha, mDNSInterfaceID InterfaceID)
435 mDNSexport void mDNSPlatformSetAllowSleep(mDNS *const m, mDNSBool allowSleep, const char *reason)
447 mDNSexport void FreeEtcHosts(mDNS *const m, AuthRecord *const rr, mStatus result)
459 mDNSexport mDNSBool mDNSPlatformSetDNSConfig(mDNS *const m, mDNSBool setservers, mDNSBool setsearch, domainname *const fqdn, DNameListElem **RegDomains,
473 mDNSexport mStatus mDNSPlatformGetPrimaryInterface(mDNS * const m, mDNSAddr * v4, mDNSAddr * v6, mDNSAddr * router)
511 mDNSexport int ParseDNSServers(mDNS *m, const char *filePath)
540 mDNSlocal PosixNetworkInterface *SearchForInterfaceByName(mDNS *const m, const char *intfName)
554 mDNSexport mDNSInterfaceID mDNSPlatformInterfaceIDfromInterfaceIndex(mDNS *const m, mDNSu32 index)
571 mDNSexport mDNSu32 mDNSPlatformInterfaceIndexfromInterfaceID(mDNS *const m, mDNSInterfaceID id, mDNSBool suppressNetworkChange)
597 // interface must have already been deregistered with the mDNS core.
614 mDNSlocal void ClearInterfaceList(mDNS *const m)
725 // Per the mDNS spec, send unicast packets with TTL 255
818 // Per the mDNS spec, send unicast packets with TTL 255
872 // intfAddr and whose name is intfName and registers it with mDNS core.
873 mDNSlocal int SetupOneInterface(mDNS *const m, struct sockaddr *intfAddr, struct sockaddr *intfMask, const char *intfName, int intfIndex)
897 // Set up the fields required by the mDNS core.
941 // The interface is all ready to go, let's register it with the mDNS core.
966 mDNSlocal int SetupInterfaceList(mDNS *const m)
1253 mDNSPlatformPosixRefreshInterfaceList(pChgRec->mDNS);
1257 mDNSlocal mStatus WatchForInterfaceChange(mDNS *const m)
1266 pChgRec->mDNS = m;
1292 // mDNS core calls this routine to initialise the platform-specific data.
1293 mDNSexport mStatus mDNSPlatformInit(mDNS *const m)
1301 // Tell mDNS core the names of this machine.
1324 // Tell mDNS core about the network interfaces on this machine.
1327 // Tell mDNS core about DNS Servers
1338 fprintf(stderr, "mDNS(%d) WARNING: Unable to detect interface changes (%d).\n", (int)getpid(), err);
1352 // mDNS core calls this routine to clean up the platform-specific data.
1354 mDNSexport void mDNSPlatformClose(mDNS *const m)
1367 mDNSexport mStatus mDNSPlatformPosixRefreshInterfaceList(mDNS *const m)
1383 // mDNS core on the main thread.
1385 // mDNS core calls this routine when it wants to prevent
1386 // the platform from reentering mDNS core code.
1387 mDNSexport void mDNSPlatformLock (const mDNS *const m)
1392 // mDNS core calls this routine when it release the lock taken by
1393 // mDNSPlatformLock and allow the platform to reenter mDNS core code.
1394 mDNSexport void mDNSPlatformUnlock (const mDNS *const m)
1403 // mDNS core calls this routine to copy C strings.
1410 // mDNS core calls this routine to get the length of a C string.
1417 // mDNS core calls this routine to copy memory.
1424 // mDNS core calls this routine to test whether blocks of memory are byte-for-byte
1444 mDNSexport void VerifySignature(mDNS *const m, DNSSECVerifier *dv, DNSQuestion *q)
1451 mDNSexport mDNSBool AddNSECSForCacheRecord(mDNS *const m, CacheRecord *crlist, CacheRecord *negcr, mDNSu8 rcode)
1460 mDNSexport void BumpDNSSECStats(mDNS *const m, DNSSECStatsAction action, DNSSECStatsType type, mDNSu32 value)
1480 mDNSexport void DNSProxyInit(mDNS *const m, mDNSu32 IpIfArr[], mDNSu32 OpIf)
1487 mDNSexport void DNSProxyTerminate(mDNS *const m)
1492 // mDNS core calls this routine to clear blocks of memory.
1537 mDNSexport void mDNSPlatformSendWakeupPacket(mDNS *const m, mDNSInterfaceID InterfaceID, char *EthAddr, char *IPAddr, int iteration)
1580 mDNSexport mStatus mDNSPlatformRetrieveTCPInfo(mDNS *const m, mDNSAddr *laddr, mDNSIPPort *lport, mDNSAddr *raddr, mDNSIPPort *rport, mDNSTCPInfo *mti)
1592 mDNSexport mStatus mDNSPlatformGetRemoteMacAddr(mDNS *const m, mDNSAddr *raddr)
1627 mDNSexport mDNSBool mDNSPlatformAllowPID(mDNS *const m, DNSQuestion *q)
1634 mDNSexport mDNSs32 mDNSPlatformGetServiceID(mDNS *const m, DNSQuestion *q)
1659 mDNSexport void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout)
1694 mDNSexport void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds)
1829 mStatus mDNSPosixRunEventLoopOnce(mDNS *m, const struct timeval *pTimeout,