/external/mdnsresponder/mDNSCore/ |
D | 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 namehas… 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 …]
|
D | mDNSEmbeddedAPI.h | 449 typedef struct mDNS_struct mDNS; typedef 491 mDNS *m; 894 typedef void mDNSRecordCallback(mDNS *const m, AuthRecord *const rr, mStatus result); 900 typedef void mDNSRecordUpdateCallback(mDNS *const m, AuthRecord *const rr, RData *OldRData, mDNSu16… 986 mDNS *m; 1000 typedef void (*NATTraversalClientCallback)(mDNS *m, NATTraversalInfo *n); 1391 typedef void mDNSServiceCallback(mDNS *const m, ServiceRecordSet *const sr, mStatus result); 1508 typedef void mDNSQuestionCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const… 1613 typedef void mDNSServiceInfoQueryCallback(mDNS *const m, ServiceInfoQuery *query); 1637 typedef void ZoneDataCallback(mDNS *const m, mStatus err, const ZoneData *result); [all …]
|
D | DNSCommon.h | 222 extern mDNSu8 *putHINFO(const mDNS *const m, DNSMessage *const msg, mDNSu8 *ptr, DomainAuthInfo *au… 238 extern const mDNSu8 *GetLargeResourceRecord(mDNS *const m, const DNSMessage * const msg, const mDNS… 247 extern const rdataOPT *GetLLQOptData(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *cons… 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);
|
D | uDNS.c | 61 mDNSlocal void SetRecordRetry(mDNS *const m, AuthRecord *rr, mDNSu32 random) in SetRecordRetry() 104 mDNSexport DNSServer *mDNS_AddDNSServer(mDNS *const m, const domainname *d, const mDNSInterfaceID i… in mDNS_AddDNSServer() 164 mDNSexport void PenalizeDNSServer(mDNS *const m, DNSQuestion *q) in PenalizeDNSServer() 285 mDNSlocal DomainAuthInfo *GetAuthInfoForName_direct(mDNS *m, const domainname *const name) in GetAuthInfoForName_direct() 304 mDNSexport DomainAuthInfo *GetAuthInfoForName_internal(mDNS *m, const domainname *const name) in GetAuthInfoForName_internal() 341 mDNSexport DomainAuthInfo *GetAuthInfoForName(mDNS *m, const domainname *const name) in GetAuthInfoForName() 351 mDNSexport mStatus mDNS_SetSecretForDomain(mDNS *m, DomainAuthInfo *info, in mDNS_SetSecretForDomain() 419 mDNSlocal mStatus uDNS_SendNATMsg(mDNS *m, NATTraversalInfo *info) in uDNS_SendNATMsg() 454 mDNSexport void RecreateNATMappings(mDNS *const m) in RecreateNATMappings() 470 mDNSexport void natTraversalHandleAddressReply(mDNS *const m, mDNSu16 err, mDNSv4Addr ExtAddr) in natTraversalHandleAddressReply() [all …]
|
D | mDNS.c | 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, mDNSOpa… 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) in SetNextQueryStopTime() 139 mDNSexport void SetNextQueryTime(mDNS *const m, const DNSQuestion *const q) in SetNextQueryTime() 280 mDNSexport AuthGroup *InsertAuthRecord(mDNS *const m, AuthHash *r, AuthRecord *rr) in InsertAuthRecord() 295 mDNSexport AuthGroup *RemoveAuthRecord(mDNS *const m, AuthHash *r, AuthRecord *rr) in RemoveAuthRecord() [all …]
|
D | Implementer Notes.txt | 11 However, on networks where there is a lot of mDNS traffic (or the CPU is 22 process of performing a long sequence of back-to-back mDNS API calls. 47 you should do whatever work you have to do, and then, if mDNS packets 48 were received, or mDNS API calls were made, be sure to call 59 2. After making any mDNS API call or series of calls, the client layer
|
/external/mdnsresponder/mDNSWindows/ |
D | mDNSWin32.h | 69 mDNS * m; 89 mDNS * m; 115 typedef void (*RegisterWaitableEventHandler)(mDNS * const inMDNS, HANDLE event, void * context ); 120 typedef mStatus (*RegisterWaitableEventFunc)(mDNS * const inMDNS, HANDLE event, void * context, Re… 125 typedef void (*UnregisterWaitableEventFunc)(mDNS * const inMDNS, HANDLE event ); 191 extern void InterfaceListDidChange( mDNS * const inMDNS ); 192 extern void ComputerDescriptionDidChange( mDNS * const inMDNS ); 193 extern void TCPIPConfigDidChange( mDNS * const inMDNS ); 194 extern void DynDNSConfigDidChange( mDNS * const inMDNS ); 195 extern void FileSharingDidChange( mDNS * const inMDNS ); [all …]
|
D | mDNSWin32.c | 91 mDNSlocal mStatus SetupNiceName( mDNS * const inMDNS ); 92 mDNSlocal mStatus SetupHostName( mDNS * const inMDNS ); 93 mDNSlocal mStatus SetupName( mDNS * const inMDNS ); 94 mDNSlocal mStatus SetupInterface( mDNS * const inMDNS, const struct ifaddrs *inIFA, mDNSInterface… 95 mDNSlocal mStatus TearDownInterface( mDNS * const inMDNS, mDNSInterfaceData *inIFD ); 97 mDNSlocal mStatus SetupSocket( mDNS * const inMDNS, const struct sockaddr *inAddr, mDNSIPPort por… 119 mDNSexport mStatus mDNSPlatformInterfaceNameToID( mDNS * const inMDNS, const char *inName, mDNSInte… 120 mDNSexport mStatus mDNSPlatformInterfaceIDToInfo( mDNS * const inMDNS, mDNSInterfaceID inID, mDNSPl… 141 mDNSlocal void TCPDidConnect( mDNS * const inMDNS, HANDLE event, void * context ); 158 mDNSlocal void SetDomainSecrets( mDNS * const inMDNS ); [all …]
|
D | README.txt | 1 This directory contains support files for running mDNS on Microsoft Windows 9 Platform Support files that go below mDNS Core. These work on both Windows 22 on any platform-specifics so it should run on any platform with an mDNS 46 DNSServices is an obsolete higher-level API for using mDNS. New code should 53 Tool.c is an example client that uses the services of mDNS Core.
|
/external/mdnsresponder/mDNSShared/ |
D | 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_Ty… 65 extern void external_stop_browsing_for_service(mDNS *const m, const domainname *const type, DNS_Typ…
|
D | PlatformCommon.h | 18 extern void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname *con…
|
D | dnsextd.c | 3100 void mDNSCoreInitComplete( mDNS * const m, mStatus result) { ( void ) m; ( void ) result; } in mDNSCoreInitComplete() 3101 void mDNS_ConfigChanged(mDNS *const m) { ( void ) m; } in mDNS_ConfigChanged() 3102 void mDNSCoreMachineSleep(mDNS * const m, mDNSBool wake) { ( void ) m; ( void ) wake; } in mDNSCoreMachineSleep() 3103 void mDNSCoreReceive(mDNS *const m, void *const msg, const mDNSu8 *const end, in mDNSCoreReceive() 3107 DNSServer *mDNS_AddDNSServer(mDNS *const m, const domainname *d, const mDNSInterfaceID interface, c… in mDNS_AddDNSServer() 3110 void mDNS_AddDynDNSHostName(mDNS *m, const domainname *fqdn, mDNSRecordCallback *StatusCallback, co… in mDNS_AddDynDNSHostName() 3112 mDNSs32 mDNS_Execute (mDNS *const m) { ( void ) m; return 0; } in mDNS_Execute() 3113 mDNSs32 mDNS_TimeNow(const mDNS *const m) { ( void ) m; return 0; } in mDNS_TimeNow() 3114 mStatus mDNS_Deregister(mDNS *const m, AuthRecord *const rr) { ( void ) m; ( void ) rr; return 0; } in mDNS_Deregister() 3115 void mDNS_DeregisterInterface(mDNS *const m, NetworkInterfaceInfo *set, mDNSBool flapping) in mDNS_DeregisterInterface() [all …]
|
D | PlatformCommon.c | 106 mDNSexport void ReadDDNSSettingsFromConfFile(mDNS *const m, const char *const filename, domainname … in ReadDDNSSettingsFromConfFile() 162 extern mDNS mDNSStorage; in mDNSPlatformWriteLogMsg()
|
D | dnssd_clientshim.c | 31 extern mDNS mDNSStorage; // We need to pass the address of this storage to the lower-layer functio… 180 mDNSlocal void RegCallback(mDNS *const m, ServiceRecordSet *const sr, mStatus result) in RegCallback() 369 mDNSlocal void FoundInstance(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answ… in FoundInstance() 455 mDNSlocal void FoundServiceInfo(mDNS *const m, DNSQuestion *question, const ResourceRecord *const a… in FoundServiceInfo() 629 mDNSlocal void DNSServiceQueryRecordResponse(mDNS *const m, DNSQuestion *question, const ResourceRe… in DNSServiceQueryRecordResponse()
|
/external/mdnsresponder/mDNSPosix/ |
D | 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 *pSigna…
|
D | mDNSPosix.c | 92 mDNS *mDNS; member 157 mDNSexport mStatus mDNSPlatformSendUDP(const mDNS *const m, const void *const msg, const mDNSu8 *co… in mDNSPlatformSendUDP() 230 mDNSlocal void SocketDataReady(mDNS *const m, PosixNetworkInterface *intf, int skt) in SocketDataReady() 329 mDNSexport TCPSocket *mDNSPlatformTCPSocket(mDNS * const m, TCPSocketFlags flags, mDNSIPPort * port) in mDNSPlatformTCPSocket() 385 mDNSexport UDPSocket *mDNSPlatformUDPSocket(mDNS * const m, mDNSIPPort port) in mDNSPlatformUDPSocket() 397 mDNSexport void mDNSPlatformUpdateProxyList(mDNS *const m, const mDNSInterfaceID InterfaceID) in mDNSPlatformUpdateProxyList() 410 mDNSexport void mDNSPlatformSetLocalAddressCacheEntry(mDNS *const m, const mDNSAddr *const tpa, con… in mDNSPlatformSetLocalAddressCacheEntry() 427 mDNSexport void mDNSPlatformSetAllowSleep(mDNS *const m, mDNSBool allowSleep, const char *reason) in mDNSPlatformSetAllowSleep() 439 mDNSexport void FreeEtcHosts(mDNS *const m, AuthRecord *const rr, mStatus result) in FreeEtcHosts() 451 mDNSexport void mDNSPlatformSetDNSConfig(mDNS *const m, mDNSBool setservers, mDNSBool setsearch, do… in mDNSPlatformSetDNSConfig() [all …]
|
D | ProxyResponder.c | 39 static mDNS mDNSStorage; // mDNS core uses this to store its globals 54 mDNSlocal void HostNameCallback(mDNS *const m, AuthRecord *const rr, mStatus result) in HostNameCallback() 68 mDNSlocal mStatus mDNS_RegisterProxyHost(mDNS *m, ProxyHost *p) in mDNS_RegisterProxyHost() 102 mDNSlocal void ServiceCallback(mDNS *const m, ServiceRecordSet *const sr, mStatus result) in ServiceCallback() 131 mDNSlocal void RegisterService(mDNS *m, ServiceRecordSet *recordset, in RegisterService() 175 mDNSlocal void NoSuchServiceCallback(mDNS *const m, AuthRecord *const rr, mStatus result) in NoSuchServiceCallback() 207 mDNSlocal void RegisterNoSuchService(mDNS *m, AuthRecord *const rr, domainname *proxyhostname, in RegisterNoSuchService()
|
D | PosixDaemon.c | 68 mDNSlocal void mDNS_StatusCallback(mDNS *const m, mStatus result) in mDNS_StatusCallback() 95 static void Reconfigure(mDNS *m) in Reconfigure() 130 mDNSlocal void DumpStateLog(mDNS *const m) in DumpStateLog() 138 mDNSlocal mStatus MainLoop(mDNS *m) // Loop until we quit. in MainLoop() 262 mDNSexport void RecordUpdatedNiceLabel(mDNS *const m, mDNSs32 delay) in RecordUpdatedNiceLabel()
|
D | Identify.c | 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, in mDNSCoreReceive() 107 mDNSlocal void NameCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answe… in NameCallback() 121 mDNSlocal void InfoCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const answe… in InfoCallback() 163 mDNSlocal void ServicesCallback(mDNS *const m, DNSQuestion *question, const ResourceRecord *const a… in ServicesCallback() 178 mDNSlocal void WaitForAnswer(mDNS *const m, int seconds) in WaitForAnswer() 361 mDNS *const m = &mDNSStorage; in main()
|
D | Client.c | 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… in BrowseCallback()
|
D | ExampleClientApp.h | 18 extern void ExampleClientEventLoop(mDNS *const m);
|
D | NetMonitor.c | 124 mDNS mDNSStorage; // mDNS core uses this to store its globals 297 mDNSlocal void SendUnicastQuery(mDNS *const m, HostEntry *entry, domainname *name, mDNSu16 rrtype, … in SendUnicastQuery() 326 mDNSlocal void AnalyseHost(mDNS *const m, HostEntry *entry, const mDNSInterfaceID InterfaceID) in AnalyseHost() 460 mDNSlocal const mDNSu8 *FindUpdate(mDNS *const m, const DNSMessage *const query, const mDNSu8 *ptr,… in FindUpdate() 474 mDNSlocal void DisplayPacketHeader(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const … in DisplayPacketHeader() 609 mDNSlocal void DisplayQuery(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *const end, in DisplayQuery() 688 mDNSlocal void DisplayResponse(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *end, in DisplayResponse() 755 mDNSlocal void ProcessUnicastResponse(mDNS *const m, const DNSMessage *const msg, const mDNSu8 *end… in ProcessUnicastResponse() 778 mDNSexport void mDNSCoreReceive(mDNS *const m, DNSMessage *const msg, const mDNSu8 *const end, in mDNSCoreReceive()
|
/external/mdnsresponder/ |
D | README.txt | 22 Requirement 2 is met by sending DNS-like queries via Multicast (mDNS). 37 The name "mDNS" was chosen because this protocol is designed to be, 43 then it responds. The mDNS protocol uses the same packet format as 47 224.0.0.251. Another important difference is that all "mDNS" names 68 A typical mDNS program contains three components: 73 | mDNS Core | 78 The "mDNS Core" layer is absolutely identical for all applications and 86 to do. It calls routines provided by the "mDNS Core" layer to perform 92 The "mDNS Core" layer in turn calls through to the "Platform Support" 108 | mDNS Core | | mDNS Core | | mDNS Core | [all …]
|
/external/autotest/client/site_tests/peerd_HandlesNameConflicts/ |
D | control | 16 3) Waits for that service to show up over mDNS 17 4) Advertises records with the same unique name over mDNS
|
/external/mdnsresponder/mDNSWindows/SystemService/ |
D | Service.c | 143 static mStatus RegisterWaitableEvent( mDNS * const inMDNS, HANDLE event, void * context, RegisterW… 144 static void UnregisterWaitableEvent( mDNS * const inMDNS, HANDLE event ); 145 static mStatus SetupWaitList( mDNS * const inMDNS, HANDLE **outWaitList, int *outWaitListCount ); 146 static void UDSCanAccept( mDNS * const inMDNS, HANDLE event, void * context ); 150 static void CoreCallback(mDNS * const inMDNS, mStatus result); 153 static OSStatus SetLLRoute( mDNS * const inMDNS ); 1894 static mStatus RegisterWaitableEvent( mDNS * const inMDNS, HANDLE event, void * context, RegisterWa… in RegisterWaitableEvent() 1925 static void UnregisterWaitableEvent( mDNS * const inMDNS, HANDLE event ) in UnregisterWaitableEvent() 1973 mDNSlocal mStatus SetupWaitList( mDNS * const inMDNS, HANDLE **outWaitList, int *outWaitListCount ) in SetupWaitList() 2037 CoreCallback(mDNS * const inMDNS, mStatus status) in CoreCallback() [all …]
|