/external/mdnsresponder/mDNSPosix/ |
ExampleClientApp.h | 18 extern void ExampleClientEventLoop(mDNS *const m);
|
mDNSPosix.h | 63 extern int ParseDNSServers(mDNS *m, const char *filePath); 64 extern mStatus mDNSPlatformPosixRefreshInterfaceList(mDNS *const m); 73 extern void mDNSPosixGetFDSet(mDNS *m, int *nfds, fd_set *readfds, struct timeval *timeout); 74 extern void mDNSPosixProcessFDSet(mDNS *const m, fd_set *readfds); 82 extern mStatus mDNSPosixRunEventLoopOnce( mDNS *m, const struct timeval *pTimeout, sigset_t *pSignalsReceived, mDNSBool *pDataDispatched);
|
ProxyResponder.c | 29 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform 39 static mDNS mDNSStorage; // mDNS core uses this to store its globals 54 mDNSlocal void HostNameCallback(mDNS *const m, AuthRecord *const rr, mStatus result) 68 mDNSlocal mStatus mDNS_RegisterProxyHost(mDNS *m, ProxyHost *p) 102 mDNSlocal void ServiceCallback(mDNS *const m, ServiceRecordSet *const sr, mStatus result) 131 mDNSlocal void RegisterService(mDNS *m, ServiceRecordSet *recordset, 175 mDNSlocal void NoSuchServiceCallback(mDNS *const m, AuthRecord *const rr, mStatus result) 207 mDNSlocal void RegisterNoSuchService(mDNS *m, AuthRecord *const rr, domainname *proxyhostname,
|
PosixDaemon.c | 68 mDNSlocal void mDNS_StatusCallback(mDNS *const m, mStatus result) 73 // On successful registration of dot-local mDNS host name, daemon may want to check if 76 // On Mac OS X we store the current dot-local mDNS host name in the SCPreferences store, 95 static void Reconfigure(mDNS *m) 130 mDNSlocal void DumpStateLog(mDNS *const m) 138 mDNSlocal mStatus MainLoop(mDNS *m) // Loop until we quit. 262 mDNSexport void RecordUpdatedNiceLabel(mDNS *const m, mDNSs32 delay)
|
mDNSPosix.c | 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 [all...] |
ExampleClientApp.c | 29 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform 44 mDNSexport void ExampleClientEventLoop(mDNS *const m)
|
Identify.c | 32 // Incorporate mDNS.c functionality 34 // We want to use the functionality provided by "mDNS.c", 37 #include "mDNS.c" 54 #include "mDNSEmbeddedAPI.h"// Defines the interface to the mDNS core code 55 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform 61 static mDNS mDNSStorage; // mDNS core uses this to store its globals 93 mDNSexport void mDNSCoreReceive(mDNS *const m, DNSMessage *const msg, const mDNSu8 *const end, 107 mDNSlocal void NameCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) 121 mDNSlocal void InfoCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord [all...] |
Client.c | 25 #include "mDNSEmbeddedAPI.h"// Defines the interface to the mDNS core code 26 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform 30 static mDNS mDNSStorage; // mDNS core uses this to store its globals 39 static void BrowseCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) 40 // A callback from the core mDNS code that indicates that we've received a 176 // mDNS query, looking for all AFP servers in the local domain. 187 // Initialise the mDNS core.
|
NetMonitor.c | 32 // Incorporate mDNS.c functionality 34 // We want to use much of the functionality provided by "mDNS.c", 37 #include "mDNS.c" 49 // Both mDNS.c and mDNSWin32.h declare UDPSocket_struct type resulting in a compile-time error, so 65 # include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform 124 mDNS mDNSStorage; // mDNS core uses this to store its globals 297 mDNSlocal void SendUnicastQuery(mDNS *const m, HostEntry *entry, domainname *name, mDNSu16 rrtype, mDNSInterfaceID InterfaceID) 326 mDNSlocal void AnalyseHost(mDNS *const m, HostEntry *entry, const mDNSInterfaceID InterfaceID) 460 mDNSlocal const mDNSu8 *FindUpdate(mDNS *const m, const DNSMessage *const query, const mDNSu8 *ptr, const mDNSu8 *const end [all...] |
Responder.c | 41 #include "mDNSPosix.h" // Defines the specific types needed to run mDNS on this platform 48 static mDNS mDNSStorage; // mDNS core uses this to store its globals 112 // not safe (because it could reenter mDNS), but 358 static void RegistrationCallback(mDNS *const m, ServiceRecordSet *const thisRegistration, mStatus status) 359 // mDNS core calls this routine to tell us about the status of
|
/external/mdnsresponder/mDNSShared/ |
PlatformCommon.h | 18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled);
|
uds_daemon.h | 34 extern void udsserver_info(mDNS *const m); // print out info about current state 35 extern void udsserver_handle_configchange(mDNS *const m); 45 extern void RecordUpdatedNiceLabel(mDNS *const m, mDNSs32 delay); 49 extern mDNS mDNSStorage; 56 extern void FreeExtraRR(mDNS *const m, AuthRecord *const rr, mStatus result); 57 extern int CountPeerRegistrations(mDNS *const m, ServiceRecordSet *const srs); 64 extern void external_start_browsing_for_service(mDNS *const m, const domainname *const type, DNS_TypeValues qtype); 65 extern void external_stop_browsing_for_service(mDNS *const m, const domainname *const type, DNS_TypeValues qtype);
|
PlatformCommon.c | 106 mDNSexport void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *const hostname, domainname *const domain, mDNSBool *DomainDiscoveryDisabled) 151 __android_log_print(ANDROID_LOG_DEBUG, "mdns", "%s", msg); 162 extern mDNS mDNSStorage; 215 __android_log_print(syslog_level, "mdns", "%s", buffer);
|
dnsextd.c | [all...] |
dnssd_clientshim.c | 28 extern mDNS mDNSStorage; // We need to pass the address of this storage to the lower-layer functions 169 mDNSlocal void RegCallback(mDNS *const m, ServiceRecordSet *const sr, mStatus result) 354 mDNSlocal void FoundInstance(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) 440 mDNSlocal void FoundServiceInfo(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord) 614 mDNSlocal void DNSServiceQueryRecordResponse(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answer, QC_result AddRecord)
|
uds_daemon.c | 251 mDNSexport mDNS mDNSStorage; 670 mDNSexport void FreeExtraRR(mDNS *const m, AuthRecord *const rr, mStatus result) 719 mDNSexport int CountPeerRegistrations(mDNS *const m, ServiceRecordSet *const srs) 756 mDNSlocal void regservice_callback(mDNS *const m, ServiceRecordSet *const srs, mStatus result) 866 mDNSlocal void regrecord_callback(mDNS *const m, AuthRecord *rr, mStatus result) [all...] |
/external/mdnsresponder/mDNSCore/ |
uDNS.h | 63 extern void LLQGotZoneData(mDNS *const m, mStatus err, const ZoneData *zoneInfo); 64 extern void startLLQHandshake(mDNS *m, DNSQuestion *q); 65 extern void sendLLQRefresh(mDNS *m, DNSQuestion *q); 67 extern void SleepRecordRegistrations(mDNS *m); 75 extern mStatus uDNS_UpdateRecord(mDNS *m, AuthRecord *rr); 77 extern void SetNextQueryTime(mDNS *const m, const DNSQuestion *const q); 78 extern CacheGroup *CacheGroupForName(const mDNS *const m, const mDNSu32 slot, const mDNSu32 namehash, const domainname *const name); 79 extern mStatus mDNS_Register_internal(mDNS *const m, AuthRecord *const rr); 80 extern mStatus mDNS_Deregister_internal(mDNS *const m, AuthRecord *const rr, mDNS_Dereg_type drt); 81 extern mStatus mDNS_StartQuery_internal(mDNS *const m, DNSQuestion *const question) [all...] |
mDNSEmbeddedAPI.h | 221 // mDNS defines its own names for these common types to simplify portability across 315 // mDNS return values are in the range FFFE FF00 (-65792) to FFFE FFFF (-65537) 363 // mStatus_MemFree is the last legal mDNS error code, at the end of the range allocated for mDNS 438 typedef struct mDNS_struct mDNS; 480 mDNS *m; 641 // * Unique Resource Records should be unique among hosts within any given mDNS scope 648 // * Known Unique Resource Records are treated like Unique Resource Records, except that mDNS does 691 kDNSRecordTypeVerified = 0x10, // Unique means mDNS should check that name is unique (and then send immediate responses) 692 kDNSRecordTypeKnownUnique = 0x20, // Known Unique means mDNS can assume name is unique without checkin [all...] |
DNSCommon.h | 222 extern mDNSu8 *putHINFO(const mDNS *const m, DNSMessage *const msg, mDNSu8 *ptr, DomainAuthInfo *authInfo, mDNSu8 *limit); 238 extern const mDNSu8 *GetLargeResourceRecord(mDNS *const m, const DNSMessage * const msg, const mDNSu8 *ptr, 247 extern const rdataOPT *GetLLQOptData(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const end); 248 extern mDNSu32 GetPktLease(mDNS *m, DNSMessage *msg, const mDNSu8 *end); 249 extern void DumpPacket(mDNS *const m, mStatus status, mDNSBool sent, char *transport, 259 extern mStatus mDNSSendDNSMessage(mDNS *const m, DNSMessage *const msg, mDNSu8 *end, 268 extern void ShowTaskSchedulingError(mDNS *const m); 269 extern void mDNS_Lock_(mDNS *const m, const char * const functionname); 270 extern void mDNS_Unlock_(mDNS *const m, const char * const functionname);
|
uDNS.c | 61 mDNSlocal void SetRecordRetry(mDNS *const m, AuthRecord *rr, mDNSu32 random) 104 mDNSexport DNSServer *mDNS_AddDNSServer(mDNS *const m, const domainname *d, const mDNSInterfaceID interface, const mDNSAddr *addr, const mDNSIPPort port, mDNSBool scoped, mDNSu32 timeout) 164 mDNSexport void PenalizeDNSServer(mDNS *const m, DNSQuestion *q) 285 mDNSlocal DomainAuthInfo *GetAuthInfoForName_direct(mDNS *m, const domainname *const name) 304 mDNSexport DomainAuthInfo *GetAuthInfoForName_internal(mDNS *m, const domainname *const name) 341 mDNSexport DomainAuthInfo *GetAuthInfoForName(mDNS *m, const domainname *const name) 351 mDNSexport mStatus mDNS_SetSecretForDomain(mDNS *m, DomainAuthInfo *info, 419 mDNSlocal mStatus uDNS_SendNATMsg(mDNS *m, NATTraversalInfo *info) 454 mDNSexport void RecreateNATMappings(mDNS *const m) 470 mDNSexport void natTraversalHandleAddressReply(mDNS *const m, mDNSu16 err, mDNSv4Addr ExtAddr [all...] |
mDNS.c | 18 * from outside the mDNS project -- all the types it expects to find are defined right here. 75 mDNSlocal void BeginSleepProcessing(mDNS *const m); 76 mDNSlocal void RetrySPSRegistrations(mDNS *const m); 77 mDNSlocal void SendWakeup(mDNS *const m, mDNSInterfaceID InterfaceID, mDNSEthAddr *EthAddr, mDNSOpaque48 *password); 78 mDNSlocal mDNSBool CacheRecordRmvEventsForQuestion(mDNS *const m, DNSQuestion *q); 79 mDNSlocal mDNSBool LocalRecordRmvEventsForQuestion(mDNS *const m, DNSQuestion *q); 80 mDNSlocal void mDNS_PurgeBeforeResolve(mDNS *const m, DNSQuestion *q); 126 mDNSlocal void SetNextQueryStopTime(mDNS *const m, const DNSQuestion *const q) 139 mDNSexport void SetNextQueryTime(mDNS *const m, const DNSQuestion *const q) 280 mDNSexport AuthGroup *InsertAuthRecord(mDNS *const m, AuthHash *r, AuthRecord *rr [all...] |
DNSCommon.c | 135 mDNSexport mDNSu32 NumCacheRecordsForInterfaceID(const mDNS *const m, mDNSInterfaceID id) [all...] |
DNSDigest.c | [all...] |
/external/jmdns/src/javax/jmdns/impl/ |
JmmDNSImpl.java | 37 * This class enable multihomming mDNS. It will open a mDNS per IP address of the machine. 72 _timer = new Timer("Multihommed mDNS.Timer", true); 89 for (final JmDNS mDNS : _knownMDNS.values()) { 97 mDNS.close(); 120 for (JmDNS mDNS : _knownMDNS.values()) { 121 result.add(mDNS.getName()); 133 for (JmDNS mDNS : _knownMDNS.values()) { 134 result.add(mDNS.getHostName()); 146 for (JmDNS mDNS : _knownMDNS.values()) [all...] |
/external/mdnsresponder/ |
Android.mk | 9 mDNSCore/mDNS.c \
|